Re: [squid-users] Squid -k doesn't work.

From: Alex Abramov <levensn_at_gmail.com>
Date: Sun, 15 Nov 2009 11:58:59 +0600

Yes. It's works!! Now I can reconfigure it by root. Thanks Amos.

But I'd like to ask you about the second problem.
After reconfiguration, squid It shows me

2009/11/15 11:45:52| Adding domain tsb.kz from /etc/resolv.conf
2009/11/15 11:45:52| Adding nameserver 10.159.4.2 from /etc/resolv.conf
2009/11/15 11:45:52| Adding nameserver 10.159.7.34 from /etc/resolv.conf
2009/11/15 11:45:52| helperOpenServers: Starting 500/500
'ntlm_smb_lm_auth' processes
2009/11/15 11:45:59| helperOpenServers: Starting 20/20 'ntlm_auth' processes
2009/11/15 11:46:00| Accepting HTTP connections at 192.168.7.10:3128, FD 1062.
2009/11/15 11:46:00| HTCP Disabled.
2009/11/15 11:46:00| Accepting SNMP messages on 0.0.0.0:3401, FD 1063.
2009/11/15 11:46:00| Loaded Icons.
2009/11/15 11:46:00| Ready to serve requests.
2009/11/15 11:46:00| Select loop Error. Retry 1

And after that squid doesn;t

On Fri, Nov 13, 2009 at 18:26, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
> Alex Abramov wrote:
>>
>> Hi everyone. I can't send a signal ( -k reconfigure or -k check .. )
>> by root to my squid, it works only by squid user.
>>
>> sudo -u squid -k reconfigure
>>
>> As you can see, i can read it.
>>
>> bash-2.05b# whoami
>> root
>> bash-2.05b# ls -la  /usr/local/squid/
>> total 10
>> drwxrwxr-x   4 squid  squid  512 Nov 13 00:01 .
>> drwxr-xr-x  17 root   wheel  512 Nov  1 14:31 ..
>> drwxr-x---  18 squid  squid  512 Nov 13 12:22 cache
>> drwxr-x---   2 squid  squid  512 Nov 12 12:19 logs
>> -rw-r--r--   1 squid  squid    5 Nov 13 12:22 squid.pid
>> bash-2.05b# cat  /usr/local/squid/squid.pid
>> 6990
>> bash-2.05b# ps -waux | grep 6990
>> squid    6990 15.8 21.9 234936 227312  ??  S    12:22PM  18:42.82
>> (squid) -D (squid)
>> root     9627  0.0  0.1  1592   852  p1  S+    2:50PM   0:00.01 grep 6990
>> bash-2.05b# squid -k check
>> squid: ERROR: Could not send signal 0 to process 6990: (3) No such process
>>
>
> I think you have hit this probem:
>  http://bugs.squid-cache.org/show_bug.cgi?id=2751
>
> It's not one we can easily resolve inside Squid.
>
> Could easily be described as "Squid unable to break FreeBSD security" which
> is a good thing :)
>
> Amos
> --
> Please be using
>  Current Stable Squid 2.7.STABLE7 or 3.0.STABLE20
>  Current Beta Squid 3.1.0.14
>
Received on Sun Nov 15 2009 - 05:59:23 MST

This archive was generated by hypermail 2.2.0 : Sun Nov 15 2009 - 12:00:02 MST