ProFTPD killed (signal 15) error - how to fix logrotate restart error?

ProFTPD on Ubuntu is being killed unexpectedly.

Log message:

$ tail /var/log/proftpd/proftpd.log.1
...
... ProFTPD killed (signal 15)
... ProFTPD 1.3.5rc3 standalone mode SHUTDOWN



SOLUTION:

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:

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

Change to this:

start-stop-daemon --stop --signal $SIGNAL --retry 1 --quiet --pidfile "$PIDFILE"
  • 2 Корисниците го најдоа ова како корисно
Дали Ви помогна овој одговор?

Понудени резултати

Trouble Connecting via FTP?

Please note that FTP access originating from outside of the United States is now restricted....