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

RE: [cobalt-users] error: bad year 1976 for file /var/log/kernel in state file /var/lib/logrotate.status



> As my cobalt raq550 system date was changed by error, i am
> receiving following email daily:
> 
> error: bad year 1976 for file /var/log/kernel in state file
> /var/lib/logrotate.status
> 
> I have set the system date correct but still this email is
> coming.
> 
> Can anyone guide me on the same.

You may try backing up the logrotate.status, and attempting a "logrotate
-f", which forces a rotation of all the logs.  This should create a new
logrotate.status with correct dates.

Check "man logrotate" for more information.


Don Head
Hosting TAC/UNIX
SAVVIS Communications
www.savvis.net
SAVVIS, The Network That Powers Wall Street