Re: [CentOS] log rotation not working

2010-03-14 Thread David Mehler
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 no

Re: [CentOS] log rotation not working

2010-03-14 Thread Jorge Fábregas
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 b

Re: [CentOS] log rotation not working

2010-03-14 Thread David Mehler
Hi, Thanks for your reply. Crontabs package is indeed installed. Thanks. Dave. On 3/14/10, Wes Shull wrote: > On Sun, Mar 14, 2010 at 5:10 PM, David Mehler wrote: >> I've got a Centos 5.4 box that is not rotating it's mail logs. I just >> found out about this, the file is considerably large. I'

Re: [CentOS] log rotation not working

2010-03-14 Thread Wes Shull
On Sun, Mar 14, 2010 at 5:10 PM, David Mehler wrote: > I've got a Centos 5.4 box that is not rotating it's mail logs. I just > found out about this, the file is considerably large. I've included my > log rotation configs if anyone has any suggestions i'm open to them. I had a system, set up very

[CentOS] log rotation not working

2010-03-14 Thread David Mehler
Hello, I've got a Centos 5.4 box that is not rotating it's mail logs. I just found out about this, the file is considerably large. I've included my log rotation configs if anyone has any suggestions i'm open to them. Thanks. Dave. /etc/rsyslog.conf: # Log all kernel messages to the console. # Logg