Skip to main content

Daily Cron Error

Comments

5 comments

  • cPanelMichael
    Hello :) Try running the logrotate script manually to see if the same error message is output: /etc/cron.daily/logrotate
    Thank you.
    0
  • cgimickalo
    [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
    Mike
    0
  • cPanelMichael
    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
  • cgimickalo
    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
  • fatpanda
    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.