Re: [squid-users] WORKERS: Any compile option to enable? commBind: Cannot bind socket FD 13 to [::]: (2) No such file or directory

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 12 Jun 2011 20:06:34 +1200

On 12/06/11 19:11, Jenny Lee wrote:
>
>
>
> ----------------------------------------
>> Date: Sun, 12 Jun 2011 17:41:18 +1200
>> From: squid3_at_treenet.co.nz
>> To: squid-users_at_squid-cache.org
>> CC: squid-dev_at_squid-cache.org
>> Subject: Re: [squid-users] WORKERS: Any compile option to enable? commBind: Cannot bind socket FD 13 to [::]: (2) No such file or directory
>>
>> On 12/06/11 16:17, Jenny Lee wrote:
>>>
>>> I can't get the workers work. They are started fine. However I get:
>>>
>>> kid1| commBind: Cannot bind socket FD 13 to [::]: (2) No such file or directory
>>> kid2| commBind: Cannot bind socket FD 13 to [::]: (2) No such file or directory
>>> kid3| commBind: Cannot bind socket FD 9 to [::]: (2) No such file or directory
>>>
>>> Is there a compile option to enable/disable workers that I am missing?
>>
>> I can't seem to replicate that here. More details are needed about what
>> FD 13 and FD 9 were being used for please.
>
>
> 649 kid1| comm.cc(2507) comm_open_uds: Attempt open socket for: /usr/local/squid/var/run/squid-1.ipc
> 649 kid1| comm.cc(2525) comm_open_uds: Opened UDS FD 13 : family=1, type=2, protocol=0
> 649 kid1| comm.cc(2528) comm_open_uds: FD 13 is a new socket
> 649 kid1| commBind: Cannot bind socket FD 13 to [::]: (2) No such file or directory
>
> symlinking /usr/local/squid/var/run to /squid fixed the problem. I have everything in /squid.

Aha, then you probably need to use ./configure --prefix=/squid

That should make the socket /squid/var/run/squid-1.ipc

>
> Shutdown issue also fixed with this.

Great.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.12
   Beta testers wanted for 3.2.0.8 and 3.1.12.2
Received on Sun Jun 12 2011 - 08:06:42 MDT

This archive was generated by hypermail 2.2.0 : Sun Jun 12 2011 - 12:00:02 MDT