Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Error: 530 User cannot log in, home directory inaccessible  (Read 5353 times)

0 Members and 1 Guest are viewing this topic.

akhils

  • Guest
Error: 530 User cannot log in, home directory inaccessible
« on: January 25, 2014, 12:04:30 pm »
Hi,

We happen to see this issue while with the Plesk server.

Issue:
-------
Login to domain.com via FTP fails for all users. The following error message is displayed:
530 User cannot log in, home directory inaccessible

Cause:
-------
There could be several reasons:

1. This might happen if the hostname is longer than 15 characters.
2. Domain resolves to a different IP than the one which has been configured in Plesk.
3. FTP server configuration is broken.

Solution:
----------
1. To change the host name right-click the My Computer icon, choose Properties. Select Computer Name tab then click Change button. Specify the computer name as desired and click OK. When done, restart your computer.

2. Please check if domain.com resolves to the same IP it has been configured for in Plesk.

3. If the name of your server is shorter than 15 characters and domain resolves to the proper IP it could mean that something is broken in the FTP configuration.

You should follow these steps to fix the issue:
----------------------------------------------------
Repair permissions of the home folders of the problematic domains. It can be done using the Control Panel.

Plesk >> Domains >> Mark problem domain >> Click on Check permissions

Re-configure FTP using Plesk command line tool ftpmng.exe as follows:

“plesk_bin\ftpmng.exe”—remove-vhost—vhost-name=yourdomain.com
“plesk_bin\ftpmng.exe”—reconfigure-vhost—vhost-name=yourdomain.com
Re-configure the FTP configuration using the Plesk command line tool ftpmng.exe as follows:

If this issue happens to every domain, you can repair the FTP configuration for all domains using the following commands:
"%plesk_bin%"\ftpmng.exe --remove-all
"%plesk_bin%"\ftpmng.exe --reconfigure-all

----------------

Thank you for your time  :)