Search squid archive

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux