Jun
27
2009

SOLVED: ProFTP will not start after install on Fedora 11

I was working on a project for VoiceIP Solutions yesterday and I required a FTP server to provision some Polycom Soundpoint IP phones. So I did my usual ‘yum install proftpd’ , followed by ‘service proftpd start’, but the service failed to start. So after some poking around – checking user assignment for that process and permissions I found nothing. So I decided to invoke the server from the command line with the ‘-t’ to check for errors:

[root@mattcom1 log]# proftpd -t
Checking syntax of configuration file
– warning: unable to determine IP address of ‘mattcom1’
– error: no valid servers configured
– Fatal: error processing configuration file ‘/etc/proftpd.conf’

The error told me right away that the issue was my ‘/etc/hosts’ file. My server name ‘mattcom1’ was not found in that file. Even though both the Network manager and Network configuration tools showed a hostname, there was actually nothing added to the ‘/etc/hosts’ file. watch out for this one!





4 Comments »

  • Kyle

    Thanks, I just started looking for this problem, for a new ftp server.
    It worked great!

    Comment | September 25, 2009
  • Sean

    i just wanted to add a small note,

    in my case – the service actually started OK and did not create any error logs – but did not work just as well (the proftpd -t returned check complete with no errors)

    so after a few frustrating hours i found your post and followed your solution of fixing the hosts file.

    after a quick service restart i finally got my long awaited login screen 🙂

    so thank you very very much!!!

    S.

    Comment | October 6, 2009
  • mattb

    You’re most welcome. Thank you for reading savelono.com!

    Comment | October 6, 2009
  • peter

    Thanks a lot! Works great!. Just added that line to my /etc/hosts and proftpd starts ok. Some feedback, CentOS 6.3

    Comment | August 29, 2012

RSS feed for comments on this post. TrackBack URL

Leave a comment