[squid-users] Re: Squid 3.3.5 problems with Tproxy

From: x-man <x-man_at_vivateam.org>
Date: Wed, 10 Jul 2013 06:16:04 -0700 (PDT)

Hi,

it was compilation error and after fixing it now it's working fine when
using single Squid process...

I got problems when trying to use workers

Listen settings are like this:

http_port 3128
http_port 8080 transparent
http_port 8081 tproxy

workers 2

is the above correct and do I need to specify more ports with if/else
clauses for the different workers?

and now the actual issues is that I get these in my log files

2013/07/10 18:41:15 kid2| commBind: Cannot bind socket FD 19 to [::]: (2) No
such file or directory
...
2013/07/10 18:41:12 kid1| commBind: Cannot bind socket FD 18 to [::]: (2) No
such file or directory
...

here are my options that squid is compiled with:
squid3 -v

Squid Cache: Version 3.3.6
configure options: '--target=x86_64-pc-linux-gnu'
'--host=x86_64-pc-linux-gnu' '--build=x86_64-linux' '--prefix=/usr'
'--sysconfdir=/etc/squid3' '--localstatedir=/var'
'--libexecdir=/usr/lib/squid3' '--disable-maintainer-mode'
'--disable-dependency-tracking' '--disable-silent-rules'
'--datadir=/usr/share/squid3' '--enable-inline' '--enable-async-io=8'
'--enable-storeio=ufs,aufs,diskd' '--enable-removal-policies=lru,heap'
'--enable-delay-pools' '--enable-cache-digests' '--enable-underscores'
'--enable-icap-client' '--enable-follow-x-forwarded-for' '--enable-auth'
'--enable-auth-basic' '--enable-auth-digest' '--enable-auth-ntlm'
'--enable-auth-negotiate'
'--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-external-acl-helpers=ip_user,ldap_group,unix_group,wbinfo_group'
'--enable-arp-acl' '--enable-esi' '--enable-zph-qos' '--enable-wccpv2'
'--enable-ecap' '--disable-translation' '--with-logdir=/var/log/squid3'
'--with-pidfile=/var/run/squid3.pid' '--with-filedescriptors=65536'
'--with-large-files' '--with-default-user=proxy' '--enable-linux-netfilter'
'build_alias=x86_64-linux' 'host_alias=x86_64-pc-linux-gnu'
'target_alias=x86_64-pc-linux-gnu'
'CC=/flashos/build64/ct/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-gcc'
'CFLAGS=-pipe -O2 -Wall -march=core2 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-stack-protector
-mno-stackrealign -I/flashos/s64/include -I/flashos/s64/usr/include -fPIE
-fstack-protector --param=ssp-buffer-size=4' 'LDFLAGS=-L/flashos/s64/lib
-L/flashos/s64/usr/lib' 'CPPFLAGS=-pipe -O2 -Wall -march=core2
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-fno-stack-protector -mno-stackrealign -I/flashos/s64/include
-I/flashos/s64/usr/include -D_FORTIFY_SOURCE=2'
'CXX=/flashos/build64/ct/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-g++'
'CXXFLAGS=-pipe -O2 -Wall -march=core2 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-stack-protector
-mno-stackrealign -I/flashos/s64/include -I/flashos/s64/usr/include -fPIE
-fstack-protector --param=ssp-buffer-size=4'
'EXT_LIBECAP_CFLAGS=-I/flashos/s64/usr/include' 'EXT_LIBECAP_LIBS=-lecap'
--enable-ltdl-convenience

Can you give any idea, what could be wrong and where is this Directory, that
the squid expects to find but cannot find actually?

--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-3-3-5-problems-with-Tproxy-tp4660968p4660974.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Wed Jul 10 2013 - 13:16:46 MDT

This archive was generated by hypermail 2.2.0 : Thu Jul 11 2013 - 12:00:24 MDT