Logs do not rotate, "/var/log/messages" grows in size

Solution Verified - Updated -

Issue

  • Logs do not rotate properly, the most recent file grows with further entries:
# ll -h | grep messages
-rw-------. 1 root root   724M Mar 24 11:43 messages
-rw-------. 1 root root   2.5G Mar 16 09:35 messages.0316
-rw-------. 1 root root   292M Jun 14  2015 messages.9

Environment

  • Red Hat Enterprise Linux 6
  • logrotate

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.