logratate problem

Marcos Aurelio Rodrigues deigratia33 at gmail.com
Fri Jan 11 10:45:48 UTC 2008


Try...

#logrotate -f -v /etc/logrotate.conf

This will force the logrotate...

If its ok, the problem is other than configurantion...


PS. The cron runs logrotate at 4AM, is the machine running? Or you halt your
machine every day?


Marcos Aurelio Rodrigues



On Jan 11, 2008 8:35 AM, Vivek Mangal <vivek.mangal9685 at gmail.com> wrote:

> Hello,
> My crond service is running.
> and the contain of /etc/cron.daily/logrotate file is shown below.
> ////////////////////////
> #!/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
> ///////////////////////////////
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



-- 
========================================
Marcos Aurelio Rodrigues (DEiGrAtiA-33)
<deigratia33 at gmail.com>
CCNA
Mirabilia laudo semprer, Dei
========================================



More information about the redhat-list mailing list