Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

FTP Login problems - SOLVED

Discussion in 'General Discussion' started by sehh, Jan 10, 2008.

  1. sehh

    sehh Well-Known Member

    Joined:
    Feb 11, 2006
    Messages:
    579
    Likes Received:
    5
    Trophy Points:
    168
    Location:
    Europe
    At random intervals, ftp logins will fail and return authentication failure, even with the correct user/password.

    I solved this problem when i noticed that "chkservd" (cPanel service which checks all processes are running) will only check if the main ftp daemon process is alive.

    It does not check if the authentication process is alive or not!

    For FTP to work correctly, you should be running these two, if the pure-authd is dead (which happens randomly or after a restart) then logins will fail.

    Code:
    # ps ax |grep -i pure
    13877 ?        Ss     0:00 pure-ftpd (SERVER)                                                                                                                                                                                                                                  
    13880 pts/0    S      0:00 /usr/sbin/pure-authd -s /var/run/ftpd.sock -r /usr/sbin/pureauth
    
    One solution is to just run:

    Code:
    # /scripts/restartsrv_ftpserver
    Starting pure-config.pl:                                   [  OK  ]
    Starting pure-authd: 
    
    that should do it :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice