Cobra Forum

Plesk Panel => Others => Topic started by: mahesh on Feb 14, 2025, 05:37 AM

Title: FTP connection to the Plesk server fails: unable to read configuration file
Post by: mahesh on Feb 14, 2025, 05:37 AM
Question
FTP connection to the Plesk server fails: unable to read configuration file '/etc/proftpd.conf': No such file or directory
Symptoms

Status: Connecting to 203.0.113.2:21...
Status: Connection established, waiting for welcome message...
Error: Connection closed by server
Error: Could not connect to server
421 Service not available, remote server has closed connection.
#systemctl status xinetd
...
proftpd[22000]: fatal: unable to read configuration file '/etc/proftpd.conf': No such file or directory

Cause
Main configuration file /etc/proftpd.conf is missing:

#ls -l /etc/proftpd.conf
ls: cannot access '/etc/proftpd.conf': No such file or directory

Resolution
1.Connect to the Plesk server via SSH.

2.Copy proftpd.conf configuration from a sample:

#cp -p /etc/proftpd/proftpd.conf /etc/proftpd.conf
Note: If this file is absent, copy it from from a working Plesk server using the same operating system and OS version.

3.Restart the xinetd service:

#systemctl restart xinetd