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

From: Wet Mogwai <rob@dont-contact.us>
Date: Thu, 6 Sep 2007 08:01:40 -0700 (PDT)

Thanks for the help. The problem has been resolved. It was an ownership
problem in a place that I didn't think to look. The owner of the log
directory somehow got changed to a UID that doesn't match a user. After
fixing that, rotate works properly.

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.
>
> 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.
>
> 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.
>

-- 
View this message in context: http://www.nabble.com/squid--k-rotate-does-nothing-tf4378437.html#a12524517
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Thu Sep 06 2007 - 09:01:42 MDT

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