#1  
Old 30th March 2009, 14:58
HooGLaNDeR HooGLaNDeR is offline
Member
 
Join Date: Sep 2006
Posts: 49
Thanks: 7
Thanked 1 Time in 1 Post
Default pureftpd mysql auth failing

Hello,

I have 2 separate servers both running pureftpd and 1 of them i can't log in to.
Both are, i believe, setup the same, and both are sharing a database on the same MySQL server.

Does anyone have an idea where i could find out whats going wrong?
I checked logs, but i only see the testuser isn't getting in.

Thanks,

HooGLaNDeR
__________________
A computer is almost human - except that it does not blame its mistakes on another computer.
Reply With Quote
Sponsored Links
  #2  
Old 31st March 2009, 16:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Which distribution are you using?
Have you tried both active and passive transfers in your FTP client?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 31st March 2009, 17:48
HooGLaNDeR HooGLaNDeR is offline
Member
 
Join Date: Sep 2006
Posts: 49
Thanks: 7
Thanked 1 Time in 1 Post
Default

On both machines im using Debian. Debian 5.
I can connect both passive as active on the one working machine and neither on the other.

Both servers connect to a third machine where mysql is installed.
The working machine doesn't show anything except succesfull logins. The other states

"pure-ftpd: pam_unix_auth(pure-ftpd:auth): authentication failure; logname= uid=0 euid=0 tty=pure-ftpd ruser=t3st rhost=hosted.by.myself.com"
__________________
A computer is almost human - except that it does not blame its mistakes on another computer.
Reply With Quote
  #4  
Old 31st March 2009, 18:04
deconectat deconectat is offline
Junior Member
 
Join Date: Feb 2009
Location: Romania
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to deconectat
Default

Are you sure your server connects to the mysql server?
Reply With Quote
  #5  
Old 31st March 2009, 19:09
HooGLaNDeR HooGLaNDeR is offline
Member
 
Join Date: Sep 2006
Posts: 49
Thanks: 7
Thanked 1 Time in 1 Post
Default

I think so, both config files (/etc/pure-ftpd/db/mysql.conf) point to the same MySQL server.

But how could i see that for sure ?
__________________
A computer is almost human - except that it does not blame its mistakes on another computer.
Reply With Quote
  #6  
Old 31st March 2009, 20:10
deconectat deconectat is offline
Junior Member
 
Join Date: Feb 2009
Location: Romania
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to deconectat
Default

Maybe you have some iptables rules on your mysql server. Just try telnet mysql.iport and see if it connects. If that works, use netstat -ap to see if your mail server connects to mysql.
Reply With Quote
Reply

Bookmarks

Tags
fail, login, mysql, pureftpd

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PureFTPd and MySQL: error exit status 252 marsvin Server Operation 20 13th May 2009 12:03
proFTPd passive mode problems bisbell Server Operation 8 6th August 2008 21:12
Management/system config/settings & /server/settings not working!! dactor Installation/Configuration 9 6th February 2008 09:11
Messed up ISPConfig-2.2.8 Upgrade Morons Installation/Configuration 4 29th November 2006 12:17
Mandriva 10.2 Perfect Setup Install Problems... ctroyp Installation/Configuration 12 30th December 2005 16:04


All times are GMT +2. The time now is 21:04.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.