ProFTPD killed with signal 15 on restart: QuickFix on Ubuntu.

If ProFTPD Project is running in StandAlone mode on Ubuntu Linux, the server could result completely stopped weekly.

That error seems to be happening when log rotation starts and the daemon needs to be restarted to switch LogFiles.

Example of ProFTPD LOG, containing the error:

ProFTPD killed (signal 15)
ProFTPD 1.3.5rc3 standalone mode SHUTDOWN

This happens because ProFTPD stops not in time to be restarted.

The workaround is to edit the init.d startup file to add a retry/sleep in /etc/init.d/proftpd as seen below:

Original Restart Line:

start-stop-daemon --stop --signal $SIGNAL --quiet --pidfile "$PIDFILE"

Modified Restart Line:

start-stop-daemon --stop --signal $SIGNAL --retry 1 --quiet --pidfile "$PIDFILE"

Comments are closed.