Unable to connect to FTP: Connection refused

Created:

2016-11-16 12:42:58 UTC

Modified:

2017-04-29 06:36:11 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to connect to FTP: Connection refused

Applicable to:

  • Plesk 12.0 for Linux

Symptoms

FTP service is not working.

# ftp domain.tld
ftp: connect: Connection refused

Service start shows empty message or error:

 Failed at step EXEC spawning /usr/sbin/xinetd: No such file or directory

Checking for existence of /usr/sbin/xinetd of results in:

# ls -la /usr/sbin/xinetd
# ls: cannot access /usr/sbin/xinetd: No such file or directory

Cause

Missed file /usr/sbin/xinetd

Resolution

  1. Reinstall xinetd :

  2. For Debian/Ubuntu:

        # dpkg -r --force-depends xinetd  
    # apt-get install xinetd
  3. For CentOS/RedHat/CloudLinux:

        # rpm -e --nodeps xinetd
    # yum install xinetd
  4. Start service:

    # service xinetd start
Have more questions? Submit a request
Please sign in to leave a comment.