RE: logrotate stopped working ?
It gave me:
error: error accessing /var/log/squid: No such file or directory
error: squid:4 glob failed for /var/log/squid/*.log
I found out I had a 'squid' file in logrotate.d directoty. Silly me !
Thanks a lot for your help !
From: Ian Greenhoe [mailto:firstname.lastname@example.org]
Sent: Monday, March 07, 2005 12:14 PM
To: Provost, Stephane
Subject: Re: logrotate stopped working ?
Actually, there should be an entry in cron.daily:
Mine looks like this:
--------------- begin 755 /etc/cron.daily/logrotate
test -x /usr/sbin/logrotate || exit 0
--------------- end 755 /etc/cron.daily/logrotate
More likely, tho, you've got something foobar'd in /etc/logrotate.conf
-- try running the logrotate command from /etc/cron.daily/logrotate
manually and see what happens.
On Mon, 2005-03-07 at 11:59 -0800, Provost, Stephane wrote:
> Hello everyone,
> I'm puzzled here. Logrotate stopped working and I don't know why. If I
> force the process, such as "logrotate -f /etc/logrotate.d/apache" ,
> it's fine and dandy. Should logrotate be called from within cron
> jobs ? aka should there be a "logrotate" entry in the cron.weekly
> directory ?
> What am I missing here ?... TIA !