Creating Online Web Presences Since 2000
With our Nationwide Services – We Build With and Care
We develop in ALL cities and states and are in 62 different countries. Let us know what you need!
After a clean reboot, FTP over TLS connected to port 21, showed the 331 prompt, then returned 530 Login incorrect. WHM/cPanel login still worked with the same password, which made the issue confusing.
Opening the passive port range to 49152 through 65534 (in your firewall rules) immediately restored transfers once. After the next reboot the 530 error returned, which ruled out a pure networking problem because TLS negotiation and the server banner were already succeeding.
Password desynchronization between the cPanel account and the ProFTPD/Pure-FTPd virtual user database. cPanel authentication succeeded, but ProFTPD/Pure-FTPd was still using an older hash. Note: This issuse can happen with boht FTP Server types. When the server restarted, ProFTPD/Pure-FTPd read the stale credentials and began rejecting the FTP login.
Reset the cPanel account password and select the option to synchronize the FTP password. This forces a rebuild of the ProFTPD/Pure-FTPd user data. After doing this, FTP over TLS authenticated normally.
PassivePorts 49152 65534
in an include file for
ProFTPD/Pure-FTPd so it persists across reboots./scripts/ftpupdate
and /scripts/ftpusers
to rebuild the database./var/log/ProFTPD/Pure-FTPd/auth.log
and /var/log/secure
.Hours were lost chasing ports and TLS even though the handshake was fine. The real fix was a simple password reset that resynced ProFTPD/Pure-FTPd with the cPanel account. If you see TLS established followed by 331 and then 530 after a reboot, verify credentials synchronization before diving deep into networking.
With our Nationwide Services – We Build With and Care
We develop in ALL cities and states and are in 62 different countries. Let us know what you need!
Comments