Proftp does not start

4 posts / 0 new
Last post
#1 Sat, 09/04/2010 - 15:06
jsigned

Proftp does not start

I'm running Virtualmin 3.80gpl on a Debian Etch server. At some point, I don't know exactly when Proftp stopped running. Now when I bring up the control panel there is a big red X next to proftp. In the process of getting it running again I am certain I've made things worse. I've removed it using apt-get remove and reinstalled.

This is the message in /var/log/proftpd/proftpd.log

Sep 04 10:12:14 server3.mydomain.com proftpd[14606] server3.mydomain.com: Failed binding to 0.0.0.0, port 21: Address already in use Sep 04 10:12:14 server3.mydomain.com proftpd[14606] server3.mydomain.com: Check the ServerType directive to ensure you are configured correctly.

I have looked at the config files, but I'm not sure what I'm looking for. Any help would be appreciated.

Sat, 09/04/2010 - 16:55
andreychek

Howdy,

Sounds like ProFTP may be running, even if Virtualmin says it isn't.

However, one thing you might try is to log in as root over SSH, and to run:

/etc/init.d/proftpd restart

That may reset things and get it up and running for you.

-Eric

Sat, 09/04/2010 - 17:39
jsigned

Tried that and according to the command:

ps -ef|grep ftp

There is no ftp service running.

Sat, 09/04/2010 - 21:15
andreychek

Hmm, that "Address already in use" error you saw in your logs is odd.

What if you run "netstat -an | grep :21", do you receive a response?

Also, if you run the command "hostname" -- does that name appear in /etc/hosts? Not having your hostname in the hosts file can prevent ProFTPd from starting up.

-Eric

Topic locked