Description of problem: The nightly logrotate cron job yields this message: /etc/cron.daily/logrotate: error: log /var/account/pacct last rotated in the future -- rotation forced Version-Release number of selected component (if applicable): logrotate-3.7.3-2.2.1 How reproducible: Nightly. Steps to Reproduce: 1. -rw-r--r-- 1 root root 0 Dec 22 2005 /var/account/pacct 2. psacct installed 3. let logrotate cron job run Actual results: The above error message. Expected results: Probably no message would be appropriate. Additional info: My concern is that logrotate considers 12-22-2005 to be in the future when the system date is clearly after that. This has been happening since FC5 was installed several weeks ago. Today the system date is Mon Jun 26 10:28:04 EDT 2006
Could you send output of this: $ cat /var/lib/logrotate.status | grep pacct
"/var/account/pacct" 2006-9-1 Interesting. So this is the "last rotated" date, and it is in the future. But how did it get that way? # ls /var/log/wtmp wtmp wtmp.1 # last -f /var/log/wtmp.1 [snip] root pts/0 10.1.250.4 Sun May 14 08:35 - 09:32 (00:57) root pts/1 10.1.250.4 Sat May 13 15:53 - 19:18 (03:25) root pts/0 10.1.250.4 Sat May 13 12:12 - 19:04 (06:52) reboot system boot 2.6.16-1.2111_FC Sat May 13 12:11 (45+01:09) wtmp.1 begins Sat May 13 11:59:47 2006 Only May and June dates show in any wtmp files. May is when it was installed.
I don't know how it happend. :-(