copland007
19th September 2004, 09:56 AM
For some reason I am getting this emailed to me:
/etc/cron.daily/logrotate:
error: error running postrotate script
error: error running postrotate script
error: error running postrotate script
error: error running shared postrotate script for /usr/local/apache/logs/*log
error: error running shared postrotate script for /var/log/mailman/bounce /var/log/mailman/digest /var/log/mailman/error /var/log/mailman/post /var/log/mailman/smtp /var/log/mailman/smtp-failure /var/log/mailman/qrunner /var/log/mailman/locks /var/log/mailman/fromusenet /var/log/mailman/subscribe /var/log/mailman/vette
error: error running shared postrotate script for /var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron
I am at a loss for debugging, I really don't know what the problem could be. I haven't changed anything recently. And I notice that for the logs mentioned the system continues to write to the rotated logs, for example /var/log/messages.1 instead of /var/log/messages. Which leads to me to believe it had issues reloading services perhaps.
Running logrotate /etc/logrotate.conf -f produces the same output. I checked the .pid files and they have the correct pids for the services. I try running the postrotate commands myself on the command line and don't get any errors. I had to reboot the box to get the services to log into the correct logs (i.e. /var/log/messages instead of /var/log/messages.1)
Any thoughts?
/etc/cron.daily/logrotate:
error: error running postrotate script
error: error running postrotate script
error: error running postrotate script
error: error running shared postrotate script for /usr/local/apache/logs/*log
error: error running shared postrotate script for /var/log/mailman/bounce /var/log/mailman/digest /var/log/mailman/error /var/log/mailman/post /var/log/mailman/smtp /var/log/mailman/smtp-failure /var/log/mailman/qrunner /var/log/mailman/locks /var/log/mailman/fromusenet /var/log/mailman/subscribe /var/log/mailman/vette
error: error running shared postrotate script for /var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron
I am at a loss for debugging, I really don't know what the problem could be. I haven't changed anything recently. And I notice that for the logs mentioned the system continues to write to the rotated logs, for example /var/log/messages.1 instead of /var/log/messages. Which leads to me to believe it had issues reloading services perhaps.
Running logrotate /etc/logrotate.conf -f produces the same output. I checked the .pid files and they have the correct pids for the services. I try running the postrotate commands myself on the command line and don't get any errors. I had to reboot the box to get the services to log into the correct logs (i.e. /var/log/messages instead of /var/log/messages.1)
Any thoughts?