Unable to login to a domain via FTP Plesk

Posted: 4p in ftp

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. 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. For versions 8 and 9 only: 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:

Note: The below commands will not affect functioning of your Web (HTTP/HTTPS) sites. However any custom FTP configuration will vanish.

Remove your domain entry from FTP server configuration:
“%plesk_bin%\ftpmng.exe” –remove-vhost –vhost-name=yourdomain.com

Add your domain vhost entry into FTP server configuration and reconfigure it:
“%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:

Note: The below commands will not affect functioning of your Web (HTTP/HTTPS) sites. However any custom FTP configuration will vanish.

Remove all domain entries from FTP server configuration:
“%plesk_bin%\ftpmng.exe” –remove-all

Add all domain entries into FTP server configuration and reconfigure them:
“%plesk_bin%\ftpmng.exe” –reconfigure-all
==================================>
Reference : http://kb.parallels.com/en/549

Advertisements
Comments
  1. Monserrate says:

    Nice post. I learn something totally new and challenging on blogs I
    stumbleupon every day. It’s always interesting to read content from other writers and practice a little something
    from other web sites.

  2. I was recommended this blog by my cousin. I’m not sure whether this post is written by him
    as no one else know such detailed about my trouble.
    You are wonderful! Thanks!

  3. I’m not sure where you’re getting your information, but great topic.
    I needs to spend some time learning more or understanding more.
    Thanks for magnificent information I was looking for this information for
    my mission.

  4. online blogging sites says:

    Thanks for finally writing about >Unable to login to
    a domain via FTP Plesk | Linux System Administration <Loved it!

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