Thursday, March 7, 2013

FTP failed on plesk server


On a plesk server I could not connect to ftp so when I checked the logs I found

- warning: unable to determine IP address of ‘myhostname.server.com’
- error: no valid servers configured
- Fatal: error processing configuration file '/etc/proftpd.conf'
Then, I checked the /etc/hosts and found hostname entry missing:

[root]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
So to get this fixed I added the below entry in the /etc/hosts file

xx.xx.xx.xx myhostname.server.com
And, then restarted xinetd which fixed the issue.

No comments:

Post a Comment