Anacron job 'cron.daily' on <serverdomain>
I have started getting these bi-daily updates on the server admin email stating:
/etc/cron.daily/logrotate:
error: libcare:3 bad rotation count '5 # keep 5 last archives'
error: found error in /var/log/libcare/*.log, skipping
where the folder /var/log/libcare/ is empty.
I have not knowing done anything to change any way this works, either anacron or the folder structure or contents.
The source file that appears to be etc/cron.daily/logrotate is:
So this doesn't immediately look like something I should edit to resolve the error. How should this issue be resolved? I am assuming this issue has occured after a WHM update to version 90.0.14 however I can't see anything in the changelogs that relates to this.
#!/bin/sh
export TMPDIR=/var/spool/logrotate/tmp
/usr/sbin/logrotate -s /var/lib/logrotate/logrotate.status /etc/logrotate.conf
EXITVALUE=$?
if [ $EXITVALUE != 0 ]; then
/usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"
fi
exit 0
So this doesn't immediately look like something I should edit to resolve the error. How should this issue be resolved? I am assuming this issue has occured after a WHM update to version 90.0.14 however I can't see anything in the changelogs that relates to this.
-
It's a bug with KernelCare. Based on a ticket we had with them, it should be fixed on Monday. 0 -
Ahh, I didn't see that. Thanks Rex! 0 -
It's a bug with KernelCare. Based on a ticket we had with them, it should be fixed on Monday.
Thank you for the info and feedback, ffeingol . Great it's already being sorted! Cheers0 -
Hello @martin MHC ! I am glad Rex and ffeingol were able to help and shed more information on this! Please reach out to us again if you have more questions or concerns after the upstream case is resolved. We appreciate your patience! 0
Please sign in to leave a comment.
Comments
5 comments