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