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

RE: [cobalt-users] raq550: logrotate stuck on empty loggrotate.status file



cobalt-users-admin@xxxxxxxxxxxxxxx wrote:
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.

Thankyou Don, that has sorted it out. Julian