Login via FTP fails with “530 Login incorrect” error in Plesk

Login via FTP fails with “530 Login incorrect” error

Symptoms
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

Cause
This error 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 at all.
Resolution
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 PP 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 PP 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
username:x:10001:2524::/var/www/vhosts/domain.com:/bin/false

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.
==========================================>
Reference : http://kb.parallels.com/en/4647

Advertisements

5 thoughts on “Login via FTP fails with “530 Login incorrect” error in Plesk

  1. I believe this is one of the most vital info for me.
    And i’m satisfied reading your article. But want to remark on few normal things, The site style is perfect, the articles is truly great : D.

    Just right process, cheers

  2. Excellent site you have here.. It’s hard to find high quality writing like yours nowadays.
    I really appreciate people like you! Take care!!

  3. Hello, I enjoy reading all of your article. I like to write a little comment to support you.

  4. Genuinely when someone doesn’t understand then its up to other visitors
    that they will help, so here it takes place.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s