Re: log rotation not working

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



Hi,
Thanks for your reply.
Cron is indeed installed and started. I had a logrotate script in cron.daily.
When i ran logrotate -d -f logrotate.conf first it failed to complete
with an error having to do with ftp, corrected that, reran it, this
time it completed successfully but the major file had not rotated. The
script claimed rotation of the maillog* files replacing 5 with 4, but
the large maillog file didn't go away.
Thanks.
Dave.


On 3/14/10, Jorge Fábregas <jorge.fabregas@xxxxxxxxx> wrote:
> On Sunday 14 March 2010 20:38:23 David Mehler wrote:
>> Thanks for your reply. Crontabs package is indeed installed.
>
> Various things:
>
> 1- Check that indeed crond is running (ps -ef | grep cron)
> 2- Check that the logrotate script is indeed in the /etc/cron.daily|hourly|
> weekly directories...
> 3- the best one: run it manually by doing:
> logrotate -d -f /etc/logrotate.conf
>
> ..and see for yourself why isn't running.
>
> HTH,
> Jorge
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux