[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] raq550: logrotate stuck on empty loggrotate.status file
- Subject: RE: [cobalt-users] raq550: logrotate stuck on empty loggrotate.status file
- From: "Head, Don" <Don.Head@xxxxxxxxxx>
- Date: Fri Mar 12 03:03:01 2004
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> Logrotate throws this error
> error: error reading top line of /var/lib/logrotate.status
> since my /var partition filled up last night. The error
> persits even though I have cleared space now.
>
> /var/lib/logrotate.status is zero bytes
>
> And all logging has stopped.
>
> Is there a way to force it to recreate this file?
If I remember correctly.. You can delete the file and then run logrotate
-f. That should force it. I seem to recall that it prefers no status
file rather than a blank one, which is why I tossed in the delete part..
It will recreate it on its own.
As far as logging.. Restarting syslog may help there.
Don Head
Hosting TAC/UNIX
SAVVIS Communications
www.savvis.net
SAVVIS, The Network That Powers Wall Street