[squid-users] Squid-3.1: comm_open: socket failure: (97) Address family not supported by protocol

From: Ralf Hildebrandt <Ralf.Hildebrandt_at_charite.de>
Date: Sun, 11 Oct 2009 11:05:52 +0200

With squid-3.1 I'm getting this error:

2009/10/11 10:56:30| Starting Squid Cache version 3.1.0.14 for i486-pc-linux-gnu...
2009/10/11 10:56:30| Process ID 19416
2009/10/11 10:56:30| With 4096 file descriptors available
2009/10/11 10:56:30| Initializing IP Cache...
2009/10/11 10:56:30| comm_open: socket failure: (97) Address family not supported by protocol
2009/10/11 10:56:30| DNS Socket created at 0.0.0.0, FD 6
2009/10/11 10:56:30| Adding domain charite.de from /etc/resolv.conf
2009/10/11 10:56:30| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2009/10/11 10:56:30| Adding nameserver 141.42.1.11 from /etc/resolv.conf
2009/10/11 10:56:30| Adding nameserver 141.42.2.22 from /etc/resolv.conf
2009/10/11 10:56:31| Unlinkd pipe opened on FD 11
2009/10/11 10:56:31| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2009/10/11 10:56:31| Store logging disabled
2009/10/11 10:56:31| Swap maxSize 0 + 262144 KB, estimated 20164 objects
2009/10/11 10:56:31| Target number of buckets: 1008
2009/10/11 10:56:31| Using 8192 Store buckets
2009/10/11 10:56:31| Max Mem size: 262144 KB
2009/10/11 10:56:31| Max Swap size: 0 KB
2009/10/11 10:56:31| Using Least Load store dir selection
2009/10/11 10:56:31| Current Directory is /etc/service/squid-nocache
2009/10/11 10:56:31| Loaded Icons.
2009/10/11 10:56:31| Accepting HTTP connections at 127.0.0.1:8888, FD 12.
2009/10/11 10:56:31| HTCP Disabled.
2009/10/11 10:56:31| Squid modules loaded: 0
2009/10/11 10:56:31| Adaptation support is off.
2009/10/11 10:56:31| Ready to serve requests.
2009/10/11 10:56:31| comm_open: socket failure: (97) Address family not supported by protocol
...

Config:

http_port localhost:8888

ftp_list_width 80
request_header_max_size 15 KB
request_body_max_size 750 MB
half_closed_clients off
forwarded_for on

#acl all src 0.0.0.0/0
http_access allow all
no_cache deny all

snmp_port 0
icp_port 0

cache_mgr munged_at_charite.de
visible_hostname proxy-cvk-1-nocache.charite.de

#cache_dir null /tmp

icon_directory /usr/share/squid3/icons
error_directory /usr/share/squid3/errors/de

#logformat squidport %ts.%03tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/%<A %mt %>p
# cache_access_log /var/log/squid/access-nocache.log squidport

cache_access_log /var/log/squid/access-nocache.log
cache_log /var/log/squid/cache-nocache.log
cache_store_log none

pid_filename /var/run/squid-nocache.pid
Received on Sun Oct 11 2009 - 09:06:06 MDT

This archive was generated by hypermail 2.2.0 : Mon Oct 12 2009 - 12:00:03 MDT