On 23 April 2010 10:58, Marcelo M. Garcia marcelo.maia.garcia@googlemail.com wrote:
Hi
Everyday if found the following message in my logwatch: error: stat of /var/log/cobbler/tasks/*.log failed: No such file or directory
Is this a problem or just a annoyance?
Just an annoyance. Assuming it's generated by logrotate (you'll have to check the lines surrounding the error message to confirm it), you can silence it like this:
Edit /etc/logrotate.d/cobblerd_rotate: In the section for /var/log/cobbler/tasks/*.log: Add "missingok" on a line by itself
Regards, Jonathan