ProFTPD package is installed from the Atomicorp repository:

rpm -qa | grep proftpd
psa-proftpd-xinetd-1.3.6-11.el7.art.x86_64
psa-proftpd-1.3.6-11.el7.art.x86_64

# rpm -qi psa-proftpd-xinetd-1.3.6-11.el7.art.x86_64 | grep Vendor
Vendor : Atomicorp

Connection to a server via FTP fails with on of the following error messages:

421 Service not available, remote server has closed connection
Status: Connecting to 203.0.113.2:21...
Status: Connection established, waiting for welcome message...
Error: Could not connect to server
  • The following error appears in the system logfile (/var/log/messages for CentOS/RHEL/var/log/syslog for Debian/Ubuntu):proftpd[11783]: Fatal: ScoreboardFile: : unable to use ‘/var/run/proftpd/scoreboard’: No such file or directory on line 45 of ‘/etc/proftpd.conf’
    xinetd[2312]: EXIT: ftp status=1 pid=11783 duration=0(sec)ORerror: cannot read configuration path ‘/etc/proftpd.d’: Not a directory
    fatal: Include: error including ‘/etc/proftpd.d/*.conf’: Invalid argument on line 95 of ‘/etc/proftpd.conf’
  • The directory /var/run/proftpd/ is missing:# ls -l /var/run/proftpd/
    ls: cannot access /var/run/proftpd/: No such file or directory
  • The following error appears when setting up Remote FTP Storage:Error: Unable to access the storage: Transport error: unable to list directory: Curl error: (56) Failure when receiving data from the peer: Last FTP request: Last FTP response: Make sure you have entered the correct storage settings. You can check them independently with the command: curl -v –ftp-pasv –ssl -k -u jdoe ‘ftp://203.0.113.2/./’

Resolution

Apply one on the following solutions:Modify the configuration to use the proper file

  1. Connect to the server via SSH
  2. Change the scoreboard file location to the correct one:# sed -i ‘s/ScoreboardFile.*/ScoreboardFile \/var\/run\/proftpd.scoreboard/’ /etc/proftpd.conf