Re: logratate problem

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

 



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



-- 
========================================
Marcos Aurelio Rodrigues (DEiGrAtiA-33)
<deigratia33@xxxxxxxxx>
CCNA
Mirabilia laudo semprer, Dei
========================================
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux