Java Mailing List Archive

http://www.redhatconfig.com/

Home » Red Hat Linux Discussion »

Re: logratate problem

Marcos Aurelio Rodrigues

2008-01-11

Replies:

Author LoginPost Reply
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@(protected):

> 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@(protected)
> https://www.redhat.com/mailman/listinfo/redhat-list
>



--
========================================
Marcos Aurelio Rodrigues (DEiGrAtiA-33)
<deigratia33@(protected)>
CCNA
Mirabilia laudo semprer, Dei
========================================
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)
https://www.redhat.com/mailman/listinfo/redhat-list
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.