[Users] oVirt Log Rotate cron job
Nicholas Kesick
cybertimber2000 at hotmail.com
Sun May 20 02:08:10 UTC 2012
I happened to catch this in my mail. Looks like a bug (do I file a bugzilla and/or win a prize? :p). #tail /var/spool/mail/root
Message-Id: <201205192145.q4JLj5Pb003812 at oVirtManager>
From: Anacron <root at oVirtManager>
To: root at oVirtManager
Content-Type: text/plain; charset="ANSI_X3.4-1968"
Subject: Anacron job 'cron.daily' on oVirtManager/etc/cron.daily/ovirt-cron:/etc/cron.daily/ovirt-cron: line 4: /usr/share/ovirt/scripts/ovirtlogrot.sh: No such file or directory Looking at the file:# cat /etc/cron.daily/ovirt-cron
#!/bin/sh#compress log4j log files, delete old ones
/usr/share/ovirt/scripts/ovirtlogrot.sh /var/log/ovirt-engine 480 > /dev/nullEXITVALUE=$?
if [ $EXITVALUE != 0 ]; then
/usr/bin/logger -t rhevm "ALERT exited abnormally with [$EXITVALUE]"
fi
exit $EXITVALUE
We can see that it is looking for /usr/share/ovirt/scripts/ovirtlogrot.sh . However, that file is located at /usr/share/ovirt-engine/scripts/ovirtlogrot.sh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120519/4341ee51/attachment-0001.html>
More information about the Users
mailing list