Re: FC5: logrotate failure (inconsistent date in logrotate.status)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



wwp wrote:
> Hello all,
> 
> 
> seems that logrotate (logrotate-3.7.3-2.2.1) fails here for weeks, as I see
> abnormally growing logs. /var/log/messages shows:
> 
> logrotate: ALERT exited abnormally with [1]
> 
> 
> I wonder if that's related, but launching `logrotate /etc/logrotate.conf`
> manually tells me:
> 
> error: bad year 1932 for file /var/log/cups/access_log in state file /var/lib/logrotate.status
> 
> 
> I can see many lines in /var/lib/logrotate.status that show such 1932-date.
> This status file itself is dated from 1932-10-25. Any idea wow could I fix
> that w/o breaking anything?
> 
> 
> Regards,
> 
> 
I am not sure it will work, but what I would try is to backup
/var/lib/logrotate.status. Then create an empty file, and run logrotate.


mv /var/lib/logrotate.status /var/lib/logrotate.status.backup
touch /var/lib/logrotate.status
logrotate

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux