Re: [squid-users] Squid 3.1.4 log rotate by squid user not permitted

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 08 Jun 2010 21:10:04 +1200

David wrote:
> Hi,
>
> I have just installed Squid 3.1.4 on my CentOS 5.4 machine. I started
> squid using root and have the following 2 lines in squid.conf.
>
> cache_effective_user squid
> cache_effective_group squid
>
> When I switch user from root to squid and issue a squid -k rotate,
> the following error occurred.
>
> squid: ERROR: Could not send signal 10 to process 5997: (1)
> Operation not permitted
>
> Log rotation using squid user works in Squid 3.0 and 2.7. Does anyone
> know the solution for Squid 3.1?

Yes, don't run the -k operations as a non-privileged user. Run it as the
same user as the master squid instance (root in this case).

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.4
Received on Tue Jun 08 2010 - 09:10:23 MDT

This archive was generated by hypermail 2.2.0 : Tue Jun 08 2010 - 12:00:05 MDT