Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Daily Cron Error

Discussion in 'General Discussion' started by cgimickalo, Dec 3, 2013.

  1. cgimickalo

    cgimickalo Well-Known Member

    Joined:
    Apr 19, 2013
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    N.W. Iowa
    cPanel Access Level:
    Root Administrator
    I recently starting getting this notice from the daily crons and can't seem to find what is causing this.
    Code:
    /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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 cgimickalo, Dec 3, 2013
    Last edited by a moderator: Dec 3, 2013
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,384
    Likes Received:
    1,951
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Try running the logrotate script manually to see if the same error message is output:

    Code:
    /etc/cron.daily/logrotate
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cgimickalo

    cgimickalo Well-Known Member

    Joined:
    Apr 19, 2013
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    N.W. Iowa
    cPanel Access Level:
    Root Administrator
    Yes the same exact error output running manually:
    Code:
    [~]# /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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,384
    Likes Received:
    1,951
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Please check the /etc/logrotate.conf file and look for any references to /var/log/maillog. Also, please check the following directory:

    Code:
    /etc/logrotate.d
    Look for duplicate entries associated with /var/log/maillog.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cgimickalo

    cgimickalo Well-Known Member

    Joined:
    Apr 19, 2013
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    N.W. Iowa
    cPanel Access Level:
    Root Administrator
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice