Daily Cron Error
I recently starting getting this notice from the daily crons and can't seem to find what is causing this.
What is causing these errors? Thanks, Mike
/etc/cron.daily/logrotate:
error: syslog:1 duplicate log entry for /var/log/maillog
error: found error in /var/log/cron
/var/log/maillog
/var/log/messages
/var/log/secure
/var/log/spooler
, skipping
What is causing these errors? Thanks, Mike
-
Hello :) Try running the logrotate script manually to see if the same error message is output: /etc/cron.daily/logrotate
Thank you.0 -
[quote="cPanelMichael, post: 1520282">Hello :) Try running the logrotate script manually to see if the same error message is output: /etc/cron.daily/logrotate
Thank you.
Yes the same exact error output running manually:[~]# /etc/cron.daily/logrotate error: syslog:1 duplicate log entry for /var/log/maillog error: found error in /var/log/cron /var/log/maillog /var/log/messages /var/log/secure /var/log/spooler , skipping
Mike0 -
Please check the /etc/logrotate.conf file and look for any references to /var/log/maillog. Also, please check the following directory: /etc/logrotate.d
Look for duplicate entries associated with /var/log/maillog. Thank you.0 -
I found the duplicate entry in the /etc/logrotate.d folder in the exim cron file. Not sure how that all of sudden got there though. Removed the duplicate entry, ran the logrotate cron script, no errors now. Thank you for your help appreciate it. Mike 0 -
Hi, I have the same issue. In my case I have to rotate weekly /var/log/maillog and can't be succeeded. the error message is "duplicate log entry for /var/log/maillog". I found the duplicate in syslog file but in my case I can't delete it. So how could you help! 0
Please sign in to leave a comment.
Comments
5 comments