Annoying logrotate error

Posted by Doug Tue, 10 Dec 2002 14:57:00 GMT

I’m using logrotate from the debian/woody GNU/Linux distribution. Somehow I’ve gotten an error in its configuration even though I haven’t manyally changed anything. Every stinking day I get mail from Anacron with this message:

/etc/cron.daily/logrotate:
error running shared postrotate script for /var/log/apache/*.log 
run-parts: /etc/cron.daily/logrotate exited with return code 1

When I trace it down, the postroate script is simply /etc/init.d/apache reload > /dev/null I’ve run that from the command line and verified it’s return code is 0. How annoying.

Posted in  | no comments

Comments

Comments are disabled

Copyright 2001 - 2005 by Lathi.net and Doug Alcorn

Creative Commons, Some Rights Reserved Ruby on Rails Developer Powered by Debian GNU/Linux Powered by Typo