Unable to connect to FTP: 421 Service not available, remote server has closed connection

Refers to:

  • Plesk 11.0 for Windows
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Created:

2016-11-16 12:47:58 UTC

Modified:

2016-12-21 19:14:32 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to connect to FTP: 421 Service not available, remote server has closed connection

Symptoms

After upgrading psa-proftpd package from Atomic repository unable to access server over ftp with message:

# ftp domain.tld
Connected to 10.10.10.10.
421 Service not available, remote server has closed connection

At the same time the following errors can be found in /var/log/messages :

Sep 20 04:49:16 server proftpd[19226]: error: cannot read configuration path '/etc/proftpd.d': Not a directory
Sep 20 04:49:16 server proftpd[19226]: fatal: Include: error including '/etc/proftpd.d/*.conf': Invalid argument on line 95 of '/etc/proftpd.conf'

Packages after upgrade are:

# rpm -qa | grep proftpd
psa-proftpd-1.3.6-8.el6.art.x86_64
psa-proftpd-xinetd-1.3.6-8.el6.art.x86_64

Cause

Directory /etc/proftpd.d in the psa-proftpd package from Atomic repository is missing, but it is required in /etc/proftpd.conf file:

# cat /etc/proftpd.conf | grep Include
Include /etc/proftpd.d/*.conf

It will be fixed in future.

Resolution

Create directory /etc/proftpd.d and restart xinetd service:

# mkdir /etc/proftpd.d
# service xinetd restart
Have more questions? Submit a request
Please sign in to leave a comment.