Logrotate: error reading top line of /var/lib/logrotate.status

| | Comments (0) | TrackBacks (0)

If you get an error saying

/etc/cron.daily/logrotate:
error: error reading top line of /var/lib/logrotate.status
delete /var/lib/logrotate.status, and then run logrotate once with -f flag, like
 #> logrotate -f /etc/logrorate.d/syslog
This should initialize the status file and the error should not be repeating.

0 TrackBacks

Listed below are links to blogs that reference this entry: Logrotate: error reading top line of /var/lib/logrotate.status.

TrackBack URL for this entry: http://www.megalinux.net/cgi-bin/mt/mt-tb.fcgi/41

Leave a comment

About this Entry

This page contains a single entry by Ram Prasad published on March 23, 2004 1:18 PM.

Sybase: master device size is too large was the previous entry in this blog.

rndc: the key is invalid is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by
Movable Type 4.01