[squid-users] Centos 7 squid 3.5.2 / kid2| commBind: Cannot bind socket FD 782 to [::]: (2) No such file or directory

Eliezer Croitoru eliezer at ngtech.co.il
Thu Jun 9 21:23:40 UTC 2016


Hey Ahmad,

 

I do not why you are suffering from the issue.

The options are:

-          Selinux

-          Permission

-          Directory existence

-          Self compiled kernel withtou IPV6 support

-          And many more

>From my point of view I suggest first to try my RPMs as it works with many setups.

Second try to simplify your squid.conf and share it.
What addition to squid.conf make this issue appear?

Also have you tried looking at the SMP FAQ at:

http://wiki.squid-cache.org/Features/SmpScale#Cannot_bind_socket_FD_NN_to_.5B::.5D:_.2813.29_Permission_denied

 

If this and the RPMs do not help you to resolve the issue then share a very simplified squid.conf and we can try to see if there is some direction for help.

 

Eliezer

 

----

 <http://ngtech.co.il/lmgtfy/> Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email: eliezer at ngtech.co.il



 

From: --Ahmad-- [mailto:ahmed.zaeem at netstream.ps] 
Sent: Thursday, June 9, 2016 10:55 AM
To: Eliezer Croitoru
Cc: Squid Users
Subject: Re: [squid-users] Centos 7 squid 3.5.2 / kid2| commBind: Cannot bind socket FD 782 to [::]: (2) No such file or directory

 

hi Mr elieizer

 

i already check the mailing list  before i post here , but no luck with me .

 

 

i don’t think its a permissions issue 

 

 

i have the file /var/run/squid is missing 

 

and  there is /var/run/squid.pid

 

and it has the squid permissions 

 

 

kindly can you point to me  if i figure it out using compile options ? or from the os side ?

 

 

thank you 

On Jun 9, 2016, at 3:14 AM, Eliezer Croitoru <eliezer at ngtech.co.il <mailto:eliezer at ngtech.co.il> > wrote:

 

Hey Ahmed,

 

Have you tried my RPMs for CentOS 7?

The latest version is 3.5.19 which is far more advanced then 3.5.2 and it works for me..

This issue you mentioned has lots of references in the mailing list history.

I assume it's a simple issue.

If you can try my RPMs and verify that you get the same error with them I will try to see if I can reproduce the issue.

 

Eliezer

 

----

 <http://ngtech.co.il/lmgtfy/> Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email:  <mailto:eliezer at ngtech.co.il> eliezer at ngtech.co.il

<image001.png>

 

From: squid-users [ <mailto:squid-users-bounces at lists.squid-cache.org> mailto:squid-users-bounces at lists.squid-cache.org] On Behalf Of --Ahmad--
Sent: Thursday, June 9, 2016 1:57 AM
To: Squid Users
Subject: [squid-users] Centos 7 squid 3.5.2 / kid2| commBind: Cannot bind socket FD 782 to [::]: (2) No such file or directory

 

here is error when i run squid :

2016/06/08 18:48:29 kid2| commBind: Cannot bind socket FD 782 to [::]: (2) No such file or directory

2016/06/08 18:48:29 kid1| HTCP Disabled.

2016/06/08 18:48:29 kid1| Squid plugin modules loaded: 0

2016/06/08 18:48:29 kid1| Adaptation support is off.

2016/06/08 18:48:29 kid1| commBind: Cannot bind socket FD 782 to [::]: (2) No such file or directory

 

 

I’m sure if i use it on centos 6 it work…...

 

but on centos 7 with same compile options it don’t allow me to use workers SMP

 

any help ?

 

 

Squid Cache: Version 3.5.2

Service Name: squid

configure options:  '--prefix=/usr' '--includedir=/include' '--mandir=/share/man' '--infodir=/share/info' '--sysconfdir=/etc' '--enable-cachemgr-hostname=Ahmad-Allzaeem' '--localstatedir=/var' '--libexecdir=/lib/squid' '--disable-maintainer-mode' '--disable-dependency-tracking' '--disable-silent-rules' '--srcdir=.' '--datadir=/usr/share/squid' '--sysconfdir=/etc/squid' '--mandir=/usr/share/man' '--enable-inline' '--enable-async-io=8' '--enable-storeio=ufs,aufs,diskd,rock' '--enable-removal-policies=lru,heap' '--enable-delay-pools' '--enable-cache-digests' '--enable-underscores' '--enable-icap-client' '--enable-follow-x-forwarded-for' '--enable-auth' '--enable-basic-auth-helpers=LDAP,MSNT,NCSA,PAM,SASL,SMB,YP,DB,POP3,getpwnam,squid_radius_auth,multi-domain-NTLM' '--enable-ntlm-auth-helpers=smb_lm' '--enable-digest-auth-helpers=ldap,password' '--enable-negotiate-auth-helpers=squid_kerb_auth' '--enable-esi' '--disable-translation' '--with-logdir=/var/log/squid' '--with-pidfile=/var/run/squid.pid' '' '--with-large-files' '--with-default-user=squid' --with-openssl' '--enable-snmp' '--with-included-ltdl' '--disable-arch-native'

[root at localhost ~]# 

 

 

 

 

thank   you 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160610/ba92ac8c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 11308 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160610/ba92ac8c/attachment-0001.png>


More information about the squid-users mailing list