Ubuntu 14.04 – ProFTPd stop unexpectly

Here’s a workaround solution thanks to https://bugs.launchpad.net/ubuntu/+source/proftpd-dfsg/+bug

The problem is due to ProFTPD not stopping in time to be restarted.

The workaround is to edit the service file, to add a retry.

/etc/init.d/proftpd

Find this line (inside “signal” procedure):

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

Change to this:

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

This change solved it for me. Suggestions for improvements are most welcome.

This entry was posted in Hosting, Informacione tehnologije, Linux and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *