Errors

MySQL Duplicate Log Entry CloudLinux

In this tutorial, we will solve MySQL duplicate log entry CloudLinux.

Are you getting following error in /etc/cron.daily/logrotate?

error: mysqld:21 duplicate log entry for /var/lib/mysql/mysqld.log

This tutorial will guide you to solve the error. Follow these simple steps:

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

# rm /etc/logrotate.d/mysql

If it doesn’t solve the issue, HostPerl’s server management plan will help you.

[Need assistance to fix this error or install tools? We’ll help you.]

Related Articles