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

wwp subscript at free.fr
Mon Feb 26 20:11:03 UTC 2007


Hello Mikkel,


On Mon, 26 Feb 2007 10:22:35 -0600 "Mikkel L. Ellertson" <mikkel at infinity-ltd.com> wrote:

> 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.

That seemed to work - I owe you few hundreds of kilobytes, thanks!


Regards,

-- 
wwp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20070226/75912b56/attachment-0002.bin 


More information about the users mailing list