Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast
Results 1 to 15 of 51
  1. #1
    Member
    Join Date
    Nov 2004
    Posts
    50

    Default FTP Passwords stop working randomly

    Hey guys,

    I've run into this problem on my server where at random times the FTP server just stops letting any user in. It just gives me a 530 Login authentication failed error. When I reboot the server it seems to fix it, but restarting the ftp service doesn't fix it. Also if I just let it go and wait awhile it works fine again. Does anyone know what could be wrong? I also wanted to mention that all accounts are still able to login to cPanel fine during this time.

    Thanks,

    Derek

  2. #2
    Member
    Join Date
    Jan 2007
    Posts
    17

    Default

    Have you tried
    WHM -> Synchronize FTP Passwords

    If you are using pure-ftpd then switch to Proftpd.

    Main >> Service Configuration >> FTP Configuration
    Switch to Proftpd

    hope it will help..

  3. #3
    Member
    Join Date
    Nov 2004
    Posts
    50

    Default

    Thanks for your reply. Yes, I have tried resynchronizing the passwords but that didn't fix it. I will try switching to proftpd and see if that fixes it.

    Thanks,
    Derek

  4. #4
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    Quote Originally Posted by andyaav View Post
    Have you tried
    WHM -> Synchronize FTP Passwords
    Yes, that is all that needs be done and restart FTP server process!

    If you are using pure-ftpd then switch to Proftpd.

    Main >> Service Configuration >> FTP Configuration
    Switch to Proftpd
    That is BAD ADVICE !!!!

    Proftpd is not only a resource hog but it is also riddled
    with hundreds of security vulnerabilities that still remain
    despite numerous attempts by the manufacturer to close
    some of those security holes.

    Anyone running Proftpd may as well set their root password
    to their server to "password" or "abc123" for all it's worth
    because if you are running ProFTPd, then your server
    has very serious open security issues!

  5. #5
    Member
    Join Date
    May 2004
    Location
    new york
    Posts
    98

    Default

    The cure is to switch to pro and then back to pure ftp

  6. #6
    Member
    Join Date
    Nov 2004
    Posts
    50

    Default

    I tried switching to proftpd and back to pureftpd and that didn't fix it .

    I also synchronized the ftp passwords as well.

    Any other ideas?

  7. #7
    Member duranduran's Avatar
    Join Date
    Apr 2004
    Posts
    198

    Default

    Same problem here. I tried

    /ftpup --force, upcp --force, chang to stable and back do release, chage to proftp and back to pureftp

    This is more one of the mysterious problems of the cpanel updates. that is incredible.

    I have 8 cpanel servers, all with the same FTP problem.
    The cpanel is going me crazy.

    This is the error:

    C:\Documents and Settings\Alexandre>ftp 4every1.com.br
    Conectado a 4every1.com.br.
    220---------- Welcome to Pure-FTPd [TLS] ----------
    220-You are user number 1 of 50 allowed.
    220-Local time is now 00:37. Server port: 21.
    220-This is a private system - No anonymous login
    220-IPv6 connections are also welcome on this server.
    220 You will be disconnected after 15 minutes of inactivity.
    Usuário (XXXXXXnone)): XXXXX
    331 User XXXX OK. Password required
    Senha:
    230-User capa has group access to: XXXX
    230 OK. Current restricted directory is /
    ftp> ls
    200 PORT command successful
    425 Could not open data connection to port 5001: Connection timed out
    ftp>
    Last edited by duranduran; 07-10-2007 at 10:40 PM.

  8. #8
    Member duranduran's Avatar
    Join Date
    Apr 2004
    Posts
    198

    Default Fix

    Well, this fix for me, maybe fix for others... In my case this is a APF/Monolithic kernel problem.

    Try this, in the /etc/pure_ftpd.conf uncoment the line

    #PassivePortRange 35000 35999


    And save. In the /etc/apf.conf change the line:

    SET_MONOKERN="1" to SET_MONOKERN="0"

    and put the Passive Port Range in the line IG_TCP_CPORTS

    Execute,

    apf -r

    and restart ftp server.

  9. #9
    Member
    Join Date
    Nov 2004
    Posts
    50

    Default

    Thanks! I will give that a try. That is probably the problem with mine too as a I believe I have APF set to monolithic kernel as well.

    Derek

  10. #10
    Member
    Join Date
    Apr 2005
    Posts
    71

    Default

    Who has been fixed this bug?

    I have tryed all in this post but nothing has been resolved.

    Thanks

  11. #11
    Member outlaw web's Avatar
    Join Date
    Mar 2006
    Posts
    45

    Default lol

    it's turning into a bloody joke.....

    ftp passwords just stop working each time cpanel farts too hard....

    OWM

  12. #12
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Oct 2003
    Location
    seattle
    Posts
    50

    Default

    I've been fighting this BS for a couple of days now and manged to fix at least one account by modifying the zone file in the DNS records. It seems that some accounts were created with "ftp" pointing to an "A record" containing the IP address assigned to the account and others were created with cnames containing the FQDN instead.

    I have a few hundred accounts spread across a dozen servers. Some are new and some are several years old. Many have been moved several times from server to server and a few date back to cPanel V9x and possibly earlier. I haven't paid that much attention so far, but what I'm seeing now is that the accounts with the random periods of unuseability are the ones that use cnames for FTP. I managed to "cure" one account yesterday by reinstalling bind on the host machine. That didn't fix all of the problem accounts though.


    FWIW, I also had a DNSonly machine in my cluster up until a few minutes ago. It appears to have gotten some kind of 11.x version in the last day or so (it was on 10.x when this mess started) and now seems to be severely broken. It keeps reverting the whole cluster back to a set of records from last week every time a zone file is updated on one of the other machines in the cluster. I killed it and I'll be replacing that name server with one of my other machines that's already in the cluster. DNSonly is currently not ready for production use, it would seem.
    wwww.themothership.net
    Webhosting for Musicians

  13. #13
    Member
    Join Date
    Jun 2004
    Posts
    5

    Default

    I have started facing the same problem since today. However, I have noticed that if I ssh to the server and ftp to localhost, the user can log in just fine.

    Only in case of remote FTP connections, the auth fails.

    Any clues? I suspect some recent Cpanel updates has caused this problem.

    Regards,
    IPole

    P.S. I have checked my zone files, and found that the FTP record is pointing to the IP and not CNAME.

  14. #14
    Member
    Join Date
    Jun 2004
    Posts
    5

    Default

    Adding further to my diagnosis, I was able to get the FTP working when I switched to proftpd. On switching back to Pureftpd, it still continues to work fine as of now.

    I dont know if the problem has got solved now, or will recur again though.

    regards,
    IPole

  15. #15
    Registered User
    Join Date
    Jul 2007
    Posts
    1

    Default

    Whenever my FTP client decides to be retarded, I just open My Computer and type into the address bar:

    ftp://username@ftp.hostname

    Example:

    Username = test1
    Hostname = test.com

    It has never failed me yet, but my FTP clients always fail me now...
    Last edited by Sanehouse; 07-15-2007 at 01:41 PM.

+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast
Similar Threads & Tags
Similar threads

  1. FTP is STOP working
    By MakassarNET in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-22-2005, 04:00 AM
  2. Passwords for everything stop working all at the same time.
    By nat in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-17-2004, 05:13 PM
  3. Replies: 1
    Last Post: 11-14-2003, 12:04 PM
  4. FTP Passwords not working BSD 7.2.1-E104
    By jdshost in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-28-2003, 10:47 AM
  5. FTP and SSH Passwords Not Working - Nick?
    By aaabbbccc in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 03-16-2002, 07:55 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube