Comment 2 for bug 1325338

Revision history for this message
Horst Platz (hp-localhorst) wrote :

mybe it looks like a problem with logrotating

/var/log/proftpd/proftpd.log
[...]
2014-09-07 06:25:07,634 ******* proftpd[1664] ***.***.***.***: ProFTPD 1.3.5rc3 standalone mode SHUTDOWN

-> no "STARTUP" entry

cat /etc/crontab
[...]
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
[...]

cat /etc/logrotate.d/proftpd-basic

[...]
                # reload could be not sufficient for all logs, a restart is safer
                invoke-rc.d proftpd restart 2>/dev/null >/dev/null || true
[...]

and if i try to controle this on the console by hand

# invoke-rc.d proftpd restart
 * Stopping ftp server proftpd [ OK ]
 * Starting ftp server proftpd [ OK ]

but

# ps fax | grep proftpd
26186 pts/0 S+ 0:00 \_ grep --color=auto proftpd

and in the log only "SHUTDOWN"

and if i try it with "/etc/init.d/proftpd restart" it work properly. so i change the logrotate.d/proftpd-basic script and i see what happent tomorrow...

regrads