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.
/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:
Code:
#!/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
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.
Last edited by a moderator: