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

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

 



Hello Mikkel,


On Mon, 26 Feb 2007 10:22:35 -0600 "Mikkel L. Ellertson" <mikkel@xxxxxxxxxxxxxxxx> 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

Attachment: signature.asc
Description: PGP signature


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

  Powered by Linux