Daily cronjob failure
Since some time I get a daily failure-message which says:
[begin] running daily cronjob scripts SCRIPT: clean_catman, OK. SCRIPT: do_mandb, OK. SCRIPT: logrotate exited with RETURNCODE = 1. SCRIPT: ouput (stdout && stderr) follows error: error reading top line of /var/lib/logrotate.status SCRIPT: logrotate ------- END OF OUTPUT SCRIPT: suse.de-backup-rc.config, OK. SCRIPT: suse.de-backup-rpmdb, OK. SCRIPT: suse.de-check-battery, OK. SCRIPT: suse.de-clean-tmp, OK. SCRIPT: suse.de-clean-vi, OK. SCRIPT: suse.de-cron-local, OK. [end] when I look into /var/lib/logrotate.status, it's empty. ??? :scratch: Until now it doesn't cause any problems... Any suggestions? Thanks. A. |
Well, on my system it's
/var/lib/logrotate/status not /var/lib/logrotate.status Does that shed some light? Cheers, Tink |
Too often?
The error probably means that logrotate thinks that you are telling it to rotate logs more frequently than it deems necessary. Take a look at man logrotate.
|
here's what my logrotate.status looks like
I used to get the same failure on one of my systems. Luckily, I had another Suse 8.0 system. Here is what my "logrotate.status" looks like:
logrotate state -- version 2 "/var/log/wtmp" 2003-7-22 "/var/log/httpd/access_log" 2003-7-22 "/var/log/httpd/error_log" 2003-7-21 "/var/log/radwtmp" 2003-3-23 "/var/log/mail" 2003-7-19 "/var/log/warn" 2003-7-19 "/var/log/messages" 2003-7-19 "/var/log/localmessages" 2003-7-20 "/var/log/firewall" 2003-7-22 "/var/lib/mysql/mysql.log" 2003-7-10 Hope this helps. |
All times are GMT -5. The time now is 02:41 AM. |