Loading ...





Login via FTP fails with “530 Login incorrect” error

I am trying to access the Parallels Plesk Panel (PP) server via FTP using the domain of the FTP user or webuser, but I get the following error:

530 Login incorrect.
 Login failed.
 421 Service not available, remote server has closed connection


This issue may be caused by an incorrect user name/password pair. Also, this error occurs in cases where the FTP user does not have enough permissions to access their home directory, or this directory does not exist in the place.


Make sure that the right user name and password are used. To be sure, you can set a new password for the problem user through the plesk Control Panel and try to log in via FTP again.

Check that the user’s home directory exists and that it is accessible by the user. For example, assume that the “username” user cannot log in via FTP.

– Log in to the plesk server as the “root” user

– Check where the home directory for this user is:

# mysql -uadmin -p`cat /etc/psa/.psa.shadow ` psa -e ‘select home from sys_users where login=”username”‘

| home |
| /var/www/vhosts/domain.com |

– Compare this directory with the one from /etc/passwd (they should match):
# grep ‘^username:’ /etc/passwd

If they do not, rename the user to any new name through the PP CP, and then rename it back. This should fix the problem.

– Check if this directory exists and has the right permissions:
# ls -lad /var/www/vhosts/domain.com
d——— 14 root root 4096 2008-02-22 11:50 /var/www/vhosts/domain.com

– Correct permissions if needed:
# chmod 755 /var/www/vhosts/domain.com

– Try to log in via FTP again.