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.
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
Tried that and according to the command:
ps -ef|grep ftp
There is no ftp service running.
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