[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: logratate problem



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 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 redhat com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]