If your FTP connection to your Linux Parallels Plesk Panel fails, here are a few things you can do to troubleshoot the problem before calling customer support.
Before beginning any of these steps, become the server's root user (more info).
Run the following command:
[root@host ~]# ftp localhost
If the response is as follows, the server is responding to FTP requests and the problem is not on the server.
Connected to localhost(127.0.0.1).
220 ProFTPD 1.3.0 Server(ProFTPD)[127.0.0.1]
Name(localhost:user):
If you get this response, it means that the FTP server is likely not running, or may be running, but the process has failed. ProFTPD runs out of xinetd. Restart xinetd.
ftp:connect:Connection refused
To restart xinetd.
[root@host ~]# service xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
The services daemon, xinetd, enables access control rights and connections to your dedicated server.
To Check the Status of xinetd
Run the following commands:
[root@host ~]# service xinetd status
xinetd (pid 23815) is running...
[root@host ~]# lsof -i tcp:21
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME xinetd 23815 root 5u IPv4 552944287 TCP *:ftp (LISTEN)
Run the FTP localhost command again.
If you get the following response, the service is not running properly. This is normally due to an invalid hostname specified on the server.
Connected to localhost (127.0.0.1). 421 Service not available, remote server has closed connection
Run the following command:
[root@host ~]#hostname
www.coolexample.com(your hostname)
Use a hostname lookup tool, such asDNS Stuff, to do an A record lookup. If the hostname resolves, your IP address displays as the answer.
If your hostname is not valid or does not resolve, change the setting in Parallels Plesk Panel under Server>Server Preferences.
Restart xinetd.
If the issue is still not resolved, you can view the logs to see what else might be causing the problem.
To View the Errors Log
[root@host ~]# grep proftp /var/log/messages
[root@host ~]# grep xinetd /var/log/messages
Note: Copying the text of an error into a search engine might produce possible solutions for problems that you are unsure how to resolve.