Proftpd shutting down
Since the update of the rootserver to Ubuntu Saucy I’ve been experiencing strange shutdowns of proftpd. Logfiles only showed :
|
|
Server could then be restarted (service proftpd restart) without any warning or error message.
I finally found the root cause : logrotate, when it rotates the logs, restarts the proftpd daemon. To do this, it issues the command
|
|
Issuing this command manually on the command line, I see the messages :
|
|
but still no daemon running !
I then found followind bug report, which suggests that the start of the daemon comes too soon after the shutdown, and therefore silently fails. The proposed solution is to replace
|
|
with
|
|
in order to let the daemon shut down properly.