Search squid archive

Re: squid -k rotate does nothing

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

 



> On tis, 2007-09-04 at 08:30 -0700, Wet Mogwai wrote:
>> My squid machine stopped rotating logs recently. The last time rotate
>> worked
>> was the day before I copied the access.log to my laptop for the first
>> time.
>> The only changes made to the configuration that day were the good.hosts
>> ,
>> bad.hosts, good.ip, and bad.ip files. After making the new files for the
>> ACLs, I ran squid -k reload.
>
> Check that the pid file exists, and have the right pid number in it...
>
> Also check cache.log for any errors..
> Regards
> Henrik
>

I've been having some trouble myself with the rotation recently.
FYI, I tracked it down to the logrotate.d script for squid. It was running:

  test ! -e /var/log/squid.pid || squid3 -k rotate

when squid builds the pid at /var/logs/squid.pid.

That stopped squid from actually doing the rotate unless it was run
manually as root.

Amos



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux