Log files didn't rotate from two years.
Issue
- Log files were rotated last in 2012. After then files aren't rotated.
-rw------- 1 root root 74508363 Jul 6 18:25 /var/log/boot.log
-rw------- 1 root root 0 Nov 4 2012 /var/log/boot.log.1
-rw------- 1 root root 14499935 Jul 6 18:20 /var/log/cron
-rw------- 1 root root 105021 Nov 11 2012 /var/log/cron.1
-rw------- 1 root root 2209013 Jul 6 04:02 /var/log/maillog
-rw------- 1 root root 6433 Nov 11 2012 /var/log/maillog.1
-rw-r--r-- 1 root root 2083390576 Jul 6 18:00 /var/log/messages
-rw-r--r-- 1 root root 86426 Nov 11 2012 /var/log/messages.1
-rw------- 1 root root 4213755238 Jul 6 18:25 /var/log/secure
-rw------- 1 root root 6067364 Nov 11 2012 /var/log/secure.1
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Logrotation
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
