Re: [squid-users] squid -k rotate does nothing

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Wed, 5 Sep 2007 09:28:48 +0200

On 04.09.07 08:30, 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.

did you check cache log file for config errors?

> I tried setting the logfile_rotate option in squid.conf in case it was
> ignoring the default. I have checked ownership and permissions. Everything
> seems right. It is still writing to the log, so it is getting to be quite
> large. I could write my own rotate script, but I'd rather get the existing
> function working.

how is logfile_rotate currently set?

> This has been working properly for at least a year and a half. What could
> have caused squid to quit rotating?
>
> I am running Squid Cache: Version 2.5.STABLE14 on FreeBSD 6.1-RELEASE-p8
> (SQUID_KERNEL). Logrotate is in the ports tree, but it is not installed.

2.5? Upgrade to 2.6 asap

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Enter any 12-digit prime number to continue.
Received on Wed Sep 05 2007 - 01:28:52 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:02 MDT