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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux