cannot login ftp one account only

N

NoAgendas

Guest
I tried to login to one account via ftp using both domain and IP methods, none worked. I used the proper username and password (reset, double checked), still same issue.

Restarted pure-ftpd, no good.

I even tailed the domain's ftp logs, nothing showed up (strange).

filezilla ftp logs during connection attempt:

Status: Connecting to domain.org ...
Status: Connected with domain.org. Waiting for welcome message...
Response: 220---------- Welcome to Pure-FTPd [TLS] ----------
Response: 220-You are user number 4 of 50 allowed.
Response: 220-Local time is now 14:50. Server port: 21.
Response: 220-IPv6 connections are also welcome on this server.
Response: 220 You will be disconnected after 15 minutes of inactivity.
Command: USER user
Response: 331 User user OK. Password required
Command: PASS *******
Response: 530 Authentication failed, sorry
Error: Unable to connect!


I switched to pro-ftpd and ftp logs show this:

Response: 331 Password required for user.
Command: PASS *******
Response: 530 Login incorrect.

I also ran "Synchronize FTP Passwords"

httpd.conf looks fine also

<VirtualHost xx.xxx.67.88>
ServerAlias domain.org
ServerAdmin [email protected]
DocumentRoot /home/user/public_html
BytesLog domlogs/domain.org-bytes_log
ServerName www.domain.org

<IfModule mod_php4.c>
php_admin_value open_basedir "/home/user:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
<IfModule mod_php5.c>
php_admin_value open_basedir "/home/user:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>

User godwriti
Group godwriti
CustomLog /usr/local/apache/domlogs/domain.org combined
ScriptAlias /cgi-bin/ /home/user/public_html/cgi-bin/
</VirtualHost>
 

r00t pAsSw0rd

Active Member
Sep 14, 2006
32
0
156
Same here. Restarted ftpd via whm and command line. Switched from pure to pro (same issue), back to pure (same error).

Problem on one user only, which does appear in /etc/localdomains and did run /scripts/updateuserdomains (no error)
 
M

mizzizzippi

Guest
Today I ran into the same problem. They can login via CPanel with the username and password and it works. Try the same username and password for FTP and it gives

530 Authentication failed

Tried to change the password, restart FTP, and a few other basic things. Anyone have a fix for this?

Just like NoAgendas stated, it is only one user account this is happening on??

Anyone?
 

1970Novacaine

Member
Jan 21, 2004
10
0
151
Today I ran into the same problem. They can login via CPanel with the username and password and it works. Try the same username and password for FTP and it gives

530 Authentication failed

Tried to change the password, restart FTP, and a few other basic things. Anyone have a fix for this?

Just like NoAgendas stated, it is only one user account this is happening on??

Anyone?
Do you have any key created? Reason I am asking is I had the same issue awhile ago but it was because I had created a ssh key and forgot about doing it, and my symptoms were exactly the same as you have stated - hope this helps.
 

dbanach

Member
Jun 8, 2006
6
0
151
I had this problem and traced it to the vhost entry for that account in the httpd.conf file.

Cpanel had inserted it at then end of the file. Once I moved the vhost entry up with the others and restarted apache and the ftp server, I was able to login fine.

Hope this helps someone.
 

iCARus

Well-Known Member
Apr 8, 2003
113
0
166
We got exact problem, but we saw that /bin/noshell makes problem and we modify /etc/passwd file under username and replaced with /usr/local/cpanel/bin/noshell and FTP and Cpanel starts working.

Hope someone will need that.