Issue :

Not able to upload files to a server via FTP. The error message “Cannot log in, home directory inaccessible.”



Solution :

This happens if the host name length is more than 15 symbols. 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.
If the name of your server is less than 15 symbols it means something is broken in FTP configuration.
To fix this issue it's necessary to perform the following steps:

1. Repair permissions on home folders for problem domains. It can be done through the Control Panel directly.

Quote:
Plesk > domains > mark problem domain > Click on `Check permissions`

2. Re-configure FTP configuration using Plesk tool ftpmng.exe

Quote:
"%plesk_bin%\ftpmng.exe" --remove-vhost --vhost-name=[domain name] 
"%plesk_bin%\ftpmng.exe" --reconfigure-vhost --vhost-name=
[domain name]

or if such issue is related to every domain you can repair FTP configuration for all domains at once.

Quote:
"%plesk_bin%\ftpmng.exe" --remove-all 
"%plesk_bin%\ftpmng.exe" --reconfigure-all

http://www.host.co.in/forums/f23/ftp-error-cannot-log-home-directory-inaccessible-554/

[FIX] Unable to login to a domain via FTP

Symptoms

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

Cause

There could be several reasons:

1. This happens if the host name is longer than 15 symbols.
2. Domain resolves to a different IP than the one which has been configured in Plesk.
3. FTP server configuration is broken. 

Resolution

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. You can use the following command :

nslookup yourdomain.com

The returned IP should be the same as the one configured in Plesk for the domain.

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

You should follow the steps below to fix the issue:

a. Repair permissions on home folders of problem domains. It can be done using the Control Panel:

Plesk ,  domains,  mark problem domain,  Click on Check permissions

b. Re-configure FTP configuration 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


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

本日志由 flyinweb 于 2010-09-19 17:13:32 发表,目前已经被浏览 4576 次,评论 0 次;

作者添加了以下标签: home directory inaccessible

引用通告:http://www.517sou.net/Article/524/Trackback.ashx

评论订阅:http://www.517sou.net/Article/524/Feeds.ashx

评论列表

    暂时没有评论
(必填)
(必填,不会被公开)