[squid-users] what's the error of "icmpSend: send: (111) Connection refused"

From: Jm lists <practicalperl@dont-contact.us>
Date: Wed, 27 Dec 2006 10:57:19 +0800

Hello,

I've configured two squid hosts for hierarchy on accelerator mode,one
is parent,another is child.
The main config of the child squid is:

http_port 80 vhost
cache_peer 192.168.0.210 parent 80 3130
icp_port 3130
query_icmp on
hierarchy_stoplist cgi-bin \.php
acl all src 0.0.0.0/0.0.0.0
icp_access deny all
never_direct allow all

The main config for the parent is:

http_port 80 vhost
icp_port 3130
icp_hit_stale on
hierarchy_stoplist cgi-bin \.php
acl localnet src 192.168.0.0/24
icp_access allow localnet
icp_access deny all

The squid version and compile info are shown as below:

Squid Cache: Version 2.6.STABLE5
configure options: '--prefix=/home/squid' '--enable-async-io=32'
'--enable-removal-policies=heap,lru' '--with-maxfd=65535'
'--enable-epoll' '--enable-snmp' '--disable-cache-digests'
'--disable-poll' '--disable-ident-lookup' '--disable-wccp'
'--disable-select' '--enable-dlmalloc' '--enable-referer-log'
'--enable-large-files' '--enable-icmp'

When Squid started,I saw the errors in the cache.log:

2006/12/27 10:46:24| icmpSend: send: (111) Connection refused
2006/12/27 10:46:24| Closing Pinger socket on FD 17

and lots of these info in access.log:

TIMEOUT_FIRST_UP_PARENT/192.168.0.210

It seems my squid's hierarchy config is wrong.Please helps,thank you.
Received on Tue Dec 26 2006 - 19:57:22 MST

This archive was generated by hypermail pre-2.1.9 : Mon Jan 01 2007 - 12:00:01 MST