Search

Search for:
Language:  

No categories for selected product

[FIX] Unable to login to a domain via FTP

Article ID: 549 
Last Review: Apr, 16 2012
Views:
APPLIES TO:
  • Parallels Plesk Panel for Windows

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. This error occurs if:

1. The host name is longer than 15 symbols.

2. The domain resolves to a different IP than the one which has been configured in Plesk.

3. The FTP server configuration is broken. 

Resolution

1. To change the host name ,right-click the My Computer icon and choose Properties. Select the Computer Name tab, then click the 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 the domain resolves to the proper IP, it could mean that something is broken in the FTP configuration.

You should follow the steps below to fix the issue:

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

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

b. Re-configure the FTP configuration using the 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 the FTP configuration for all domains using the following commands:
"%plesk_bin%\ftpmng.exe" --remove-all
"%plesk_bin%\ftpmng.exe" --reconfigure-all





Email subscription for changes to this article Email subscription for changes to this article

Please provide feedback on this article

* Did this article help you solve your issue?
Yes
No
What can we do to improve this article?

PLEASE NOTE: Knowledge Base feedback is reviewed occasionally and we do not reply to most of the individual comments. Please contact us using one of the Support channels for a response to any support inquiries. We appreciate your feedback.

Subscribe me for article updates. My email
 
 
 
 
 
 
For Home
For Hosters
For SaaS
For IaaS
For Developers
For Health Care
 
Desktop Virtualization
- Parallels Desktop 7 for Mac
- Parallels Transporter
- Parallels Mobile
- Parallels Desktop Switch to Mac Edition
- Parallels Workstation
- Parallels Workstation Extreme
- Parallels Desktop for Mac Enterprise Edition
Server Virtualization
- Parallels Server for Mac 4.0
- Parallels Server for Mac 4.0 Mac mini Edition
- Parallels Server for Mac Bare Metal Edition
- Parallels Server Bare Metal
- Parallels Virtuozzo Containers
Automation
- Parallels Operations Automation
- Parallels Automation for Cloud Infrastructure
- Parallels Business Automation
- Parallels Business Automation Standard
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
- Parallels Small Business Panel
- Parallels Domain/SSL Reseller Program
- Parallels Partner Storefront
More Products