[squid-users] Need help debugging my squid configuration

Jose Torres-Berrocal jetsystemservices at gmail.com
Tue May 12 15:25:50 UTC 2015


Hello All.

I am new to Squid.  I have compiled squid 3.3.8 on Lubuntu 14.04.1
system following the thread
http://ubuntuforums.org/showthread.php?t=68246

I have also turn on --enabled-ssl-crtd on the compilation rules.

When starting squid terminates but does not provide much error
information that I could go on an try to fix.

I tried starting the squid with -X option in the startup script and
adding debug_options to the configuration file, but still does not get
any valuable information.  Not at least for me as a newbe.

The syslog errors are:

May 12 10:46:03 Lubuntu kernel: [12418.628583] init: squid3 main
process ended, respawning
May 12 10:46:03 Lubuntu kernel: [12418.823803] init: squid3 main
process (15760) terminated with status 1
May 12 10:46:03 Lubuntu kernel: [12418.823817] init: squid3 main
process ended, respawning
May 12 10:46:04 Lubuntu kernel: [12419.019733] init: squid3 main
process (15772) terminated with status 1
May 12 10:46:04 Lubuntu kernel: [12419.019746] init: squid3 respawning
too fast, stopped

The cache.log is:

2015/05/12 10:46:03.953| tools.cc(664) enter_suid: enter_suid: PID
15760 taking root privileges
2015/05/12 10:46:03.953| cache_manager.cc(102) registerProfile:
registering legacy config
2015/05/12 10:46:03.953| cache_manager.cc(87) registerProfile:
registered profile: config
2015/05/12 10:46:03.953| mem.cc(498) Report: Memory pools are 'on';
limit: 5.000 MB
2015/05/12 10:46:03.953| Acl.cc(364) ~ACL: ACL::~ACL: '
2015/05/12 10:46:03.953| Acl.cc(364) ~ACL: ACL::~ACL: '
2015/05/12 10:46:03.953| Acl.cc(364) ~ACL: ACL::~ACL: '
2015/05/12 10:46:03.953| Acl.cc(364) ~ACL: ACL::~ACL: '
2015/05/12 10:46:03.953| Acl.cc(364) ~ACL: ACL::~ACL: '
2015/05/12 10:46:03.953| Acl.cc(364) ~ACL: ACL::~ACL: '
2015/05/12 10:46:03.953| Acl.cc(364) ~ACL: ACL::~ACL: '
2015/05/12 10:46:03.953| Acl.cc(364) ~ACL: ACL::~ACL: '
2015/05/12 10:46:03.953| Acl.cc(364) ~ACL: ACL::~ACL: ' (this repeats
for many lines)

My configuration file content is:

debug_options=ALL,3
auth_param basic program /usr/lib/squid3/basic_radius_auth -f /etc/radius_config
auth_param basic children 5
auth_param basic realm Squid Proxy Server Web Access
auth_param basic credentialsttl 30 second
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
acl localnet src 192.168.56.0/24
acl radius proxy_auth REQUIRED
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost manager
http_access deny manager
http_access deny !radius
http_access allow localnet
http_access allow localhost
http_access deny all
http_port 3128 ssl-bump cert=/etc/squid3/serverkey.pem
generate-host-certificates=off dynamic_cert_mem_cache_size=4MB
always_direct allow all
sslcrtd_program /usr/lib/squid3/ssl_crtd -s /var/lib/ssl_db -M 4MB
sslcrtd_children 6 startup=2 idle=2
cache_dir ufs /squidcache/cache_dir 256 16 256
coredump_dir /var/spool/squid3
url_rewrite_children 6 startup=2 idle=2
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern (Release|Packages(.gz)*)$      0       20%     2880
refresh_pattern . 0 20% 4320
cache_effective_user proxy
url_rewrite_program /usr/bin/squidGuard -c /etc/squidguard/squidGuard.conf
cache_effective_group proxy


More information about the squid-users mailing list