[BlueOnyx:11552] Re: Apache Log Problem after Updates (Logsplit etc.)

free4me at gmx.ch free4me at gmx.ch
Thu Oct 18 08:26:24 -05 2012


Mmh ok found out some things:

It looks like logrotate doesnt run anymore:

1) if it run

[root at lolz etc]# /usr/sbin/logrotate /etc/logrotate.conf

The log splitting is working and the vsite logs "web.log" are written.


2) But logrotate doesnt seem to work through cron. It's not like cron doesnt work at all. I see in /var/log/cron new entries but nothing about lograte being executed through cron. It looks like all the entries in /etc/logrotate.d/ doesnt get executed

3) The /etc/cron.d/lograte file is still there and the same as it was prior the yum update:

[root at lolz logs]# more /etc/cron.daily/logrotate
**********
#!/bin/sh
/usr/sbin/logrotate /etc/logrotate.conf
EXITVALUE=$?
if [ $EXITVALUE != 0 ]; then
    /usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"
fi
exit 0
**********


It looks also like some entries in /etc/crontab doesnt get executed through cron. So some things are working through cron some not...

Any hints?

Best Regards



More information about the Blueonyx mailing list