The mysql specific include file for logrotate (/etc/logrotate.d/mysql) does not check for the existance of the pid file when the postrotate kill... is executed. When mysql is not running, the logrotate cronjob executes the postrotate part and bails out for the not existent pid file, because there is no when mysql is not running. All following logrotate include files are not executed... :-( Reproducible: Always Steps to Reproduce: 1. have the logrotate include installes 2. stop mysql 3. execute logrotate and watch it bail out for the missing file Actual Results: logrotate does not rotate for includes after mysql Expected Results: check for existance of the pidfile before executing "kill...." I fixed this for a single instance of mysql with a simple check: if [ -f /var/run/mysqld/mysqld.pid ]; then \ /bin/kill -HUP `cat /var/run/mysqld/mysqld.pid` fi; The logrotate include is not sufficient for multiple instances of mysql...
*** This bug has been marked as a duplicate of bug 172870 ***