In case logrotate complains

/etc/cron.daily/logrotate:
error: mysqld:21 duplicate log entry for /var/lib/mysql/mysqld.log

The simple workaround should be applied:

~# ls -lsa /etc/logrotate.d/mysql*
/etc/logrotate.d/mysql
/etc/logrotate.d/mysqld
~# rm /etc/logrotate.d/mysql

 

War diese Antwort hilfreich? 0 Benutzer fanden dies hilfreich (0 Stimmen)