logrotate - error: duplicate log entry for /var/log/messages (or other log files)

Solution Verified - Updated -

Issue

  • Errors seen in logrotate about a duplicate log entry seen in /var/log/message

  • Running "logrotate /etc/logrotate.conf" shows errors similar to:

    • Duplicate entries for /var/log/acpid:
    error: /etc/logrotate.conf:58 duplicate log entry for /var/log/acpid
    error: found error in /var/log/acpid , skipping
    
    • Duplicate entries for /var/log/messages among others
    error: syslog:1 duplicate log entry for /var/log/messages
    error: found error in /var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron , skipping
    

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.