can not log in to ftp for some users, but cpanel is fine

torwill

Well-Known Member
Jun 25, 2002
141
0
166
Hello,

I am having some users not being able to log in to FTP server (Pure-FTP), however, they can log in to Cpanel just fine. And SFTP is fine as well.

I have tried running upcp, switched to proftpd and back to pure-ftp, synchronized password in WHM, changed users' password in WHM. but none helped.


WHM 11.42.1 (build 12) on CentOS 5.10 x64
running pure-ftpd-1.0.36-10.cp1136


Any suggestions? Thank you!
 

torwill

Well-Known Member
Jun 25, 2002
141
0
166
I have the following in messages,

May 5 00:47:09 XXXSERVERXXX pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1
May 5 00:47:20 XXXSERVERXXX pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [XXXUSERXXX]
May 5 00:47:24 XXXSERVERXXX pure-ftpd: ([email protected]) [INFO] Logout.

I also made sure Cpanel Brute Force is not blocking the user.
 

vanessa

Well-Known Member
PartnerNOC
Sep 26, 2006
833
28
178
Virginia Beach, VA
cPanel Access Level
DataCenter Provider
I have the following in messages,
I also made sure Cpanel Brute Force is not blocking the user.
That was going to be my next question - you might want to disable CpHulk temporarily to make sure it's not blocking anything, though I'd find this unlikely if a) you are in fact logging in from localhost, and b) you can log into some accounts but not others, from the same IP - CpHulk blocks based on IP.


This one is hard to troubleshoot without access to the server, since it looks like you've already done a decent amount of troubleshooting and have tried almost everything I would have done. The authentication for FTP accounts is stored in /etc/proftpd/$user (even if you're using pure-ftp), maybe take a look there and compare a working account to a nonworking account to make sure everything is normal.


All else fails, you may want to consider opening a ticket with cPanel, and updating us with the outcome.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello :)

Have you checked to ensure the users are logging in with the correct username format? For example, the username should be in "[email protected]" format unless it's the username of the account, in which case it must be just the username on it's own.

Thank you.