[squid-users] Squid not listening on any port

From: israelsilva1 <israsilva_at_gmail.com>
Date: Wed, 23 Jul 2014 23:31:35 -0700 (PDT)

Hi everyone.

I have compiled squid 3.4.6 from binaries.
/Linux dxb-squid34 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013
x86_64 x86_64 x86_64 GNU/Linux

CentOS release 6.5 (Final)
/
squid.conf:
/http_port 8081
/

I have squid running:

/[root_at_dxb-squid34 ~]# service squid status
squid (pid 12140) is running...
2014/07/24 10:20:38| Warning: empty ACL: acl blockfiles urlpath_regex -i
"/etc/squid/local/bad/blockfiles"
[root_at_dxb-squid34 ~]# pa aux|grep squid
-bash: pa: command not found
[root_at_dxb-squid34 ~]# ps aux|grep squid
root 12138 0.0 0.0 2413632 3228 ? Ss 09:18 0:00 squid -f
/etc/squid/squid.conf
squid 12140 0.0 0.0 2246688 12044 ? S 09:18 0:00
(squid-coord-3) -f /etc/squid/squid.conf
squid 12141 0.1 0.0 2413416 14624 ? S 09:18 0:04
(squid-disk-2) -f /etc/squid/squid.conf
root 12314 0.0 0.0 103252 828 pts/0 S+ 10:20 0:00 grep squid

[root_at_dxb-squid34 ~]# squid -v
Squid Cache: Version 3.4.6
configure options: '--enable-htcp' '--disable-ipv6' '--program-prefix='
'--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin'
'--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share'
'--includedir=/usr/include' '--libdir=/usr/lib64'
'--libexecdir=/usr/libexec' '--sharedstatedir=/var/lib'
'--mandir=/usr/share/man' '--infodir=/usr/share/info' '--exec_prefix=/usr'
'--libexecdir=/usr/lib64/squid' '--localstatedir=/var'
'--datadir=/usr/share/squid' '--sysconfdir=/etc/squid'
'--with-logdir=$(localstatedir)/log/squid'
'--with-pidfile=$(localstatedir)/run/squid.pid'
'--disable-dependency-tracking' '--enable-follow-x-forwarded-for'
'--enable-auth'
'--enable-auth-basic=DB,LDAP,NCSA,NIS,PAM,POP3,RADIUS,SASL,SMB,getpwnam'
'--enable-auth-ntlm=smb_lm,fake' '--enable-auth-digest=file,LDAP,eDirectory'
'--enable-auth-negotiate=kerberos,wrapper'
'--enable-external-acl-helpers=wbinfo_group,kerberos_ldap_group,AD_group'
'--enable-cache-digests' '--enable-cachemgr-hostname=localhost'
'--enable-delay-pools' '--enable-epoll' '--enable-icap-client'
'--enable-ident-lookups' '--enable-linux-netfilter'
'--enable-removal-policies=heap,lru' '--enable-snmp'
'--enable-storeio=aufs,diskd,ufs,rock' '--enable-wccpv2' '--enable-esi'
'--enable-ssl' '--enable-ssl-crtd' '--enable-icmp' '--with-aio'
'--with-default-user=squid' '--with-filedescriptors=16384' '--with-dl'
'--with-openssl' '--with-pthreads' '--with-included-ltdl'
'--disable-arch-native' 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic' 'CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-fPIC' 'PKG_CONFIG_PATH=/usr/lib64/pkgconfig:/usr/share/pkgconfig'
--enable-ltdl-convenience

/
But squid is not listening on any port:

/[root_at_dxb-squid34 ~]# netstat -anl
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address
State
tcp 0 0 0.0.0.0:41036 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:*
LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:*
LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:*
LISTEN
tcp 0 48 10.11.1.29:22 10.11.5.11:52661
ESTABLISHED
tcp 0 0 :::55566 :::*
LISTEN
tcp 0 0 :::111 :::*
LISTEN
tcp 0 0 :::22 :::*
LISTEN
tcp 0 0 ::1:631 :::*
LISTEN
tcp 0 0 ::1:25 :::*
LISTEN
udp 0 0 0.0.0.0:111 0.0.0.0:*
udp 0 0 0.0.0.0:631 0.0.0.0:*
udp 0 0 0.0.0.0:54268 0.0.0.0:*
udp 0 0 0.0.0.0:921 0.0.0.0:*
udp 0 0 0.0.0.0:49467 0.0.0.0:*
udp 0 0 0.0.0.0:35415 0.0.0.0:*
udp 0 0 0.0.0.0:872 0.0.0.0:*
udp 0 0 :::111 :::*
udp 0 0 :::33711 :::*
udp 0 0 :::872 :::*

/

Can you help me finding out why this will not start listening?
SElinux is disabled.
Same squid conf is working on another server (squid 3.5.1HEAD)

I suspect this is a permission issue?

Thanks.

--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-not-listening-on-any-port-tp4667004.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Thu Jul 24 2014 - 06:31:37 MDT

This archive was generated by hypermail 2.2.0 : Thu Jul 24 2014 - 12:00:05 MDT