Re: [squid-users] "Operation not permitted" when reloading or restarting squid, onlywith version 2.5STABLE11 or 12

From: Mark Elsen <mark.elsen@dont-contact.us>
Date: Mon, 9 Jan 2006 16:48:39 +0100

> well,
> I found that URL using Google before I posted the message here. I'm starting squid as root, which should have the rights to issue the command, and the thing I find most surprising: why does the error appear starting Version 2.5STABLE11, when 10 worked, and the config stays the same?
>
> fook:/usr/local/squid/sbin # ./squid -v
> Squid Cache: Version 2.5.STABLE12
> configure options: --enable-auth=ntlm,basic --enable-external-acl-helpers=wbinfo_group
>
> I tried compiling squid w/out ntml support: same error.
>
> But since you've pointed me to the PID file I found out the following:
> If I use "pid_filename /usr/local/squid/var/logs/squid.pid" I get the mentioned error message:
> fook:/usr/local/squid/sbin # ./squid -k reconfigure
> squid: ERROR: Could not send signal 1 to process 21377: (1) Operation not permitted
>
> If I use "pid_filename /var/run/squid/squid.pid" (permissions are ok) I get:
> fook:/usr/local/squid/sbin # ./squid -k reconfigure
> squid: ERROR: No running copy

  Thatīs a chicken and egg problem.
  I think you can only do this, following a cold start.

>
> However, squid created the PID file at the configured location:
> fook:/usr/local/squid/sbin # ll /var/run/squid/
> total 5
> drwxrwxr-x 2 root nogroup 80 Jan 9 16:37 .
> drwxr-xr-x 14 root root 752 Jan 9 15:56 ..
> -rw-r--r-- 1 root nogroup 6 Jan 9 16:37 squid.pid
>
> I'm lost...
>

  M.
Received on Mon Jan 09 2006 - 08:48:40 MST

This archive was generated by hypermail pre-2.1.9 : Wed Feb 01 2006 - 12:00:01 MST