[squid-users] squid 3.3.2 "Cannot convert non-IPv4 to IPv4. from [::]"!!!

From: Ahmad <ahmed.zaeem_at_netstream.ps>
Date: Fri, 8 Mar 2013 21:15:41 -0800 (PST)

hi ,
ive compiled squid 3.3.2 with the following :
Squid Cache: Version 3.3.2
configure options: '--enable-linux-netfilter' '--with-default-user=squid'
'--enable-wccpv2' '--enable-snmp' '--enable-cachemgr-hostname=localhost'
'--disable-ipv6' --enable-ltdl-convenience
====================
but i have a problem when starting !!!
here is the log
======================
*2013/03/09 00:05:09 kid1| Initialising all WCCPv2 lists
2013/03/09 00:05:09 kid1| HTCP Disabled.
2013/03/09 00:05:09 kid1| Squid plugin modules loaded: 0
2013/03/09 00:05:09 kid1| Accepting HTTP Socket connections at
local=127.0.0.1:3126 remote=[::] FD 10 flags=9
2013/03/09 00:05:09 kid1| Accepting HTTP Socket connections at
local=1x.x.x.:65001 remote=[::] FD 11 flags=9
2013/03/09 00:05:09 kid1| Accepting HTTP Socket connections at
local=0.0.0.0:3126 remote=[::] FD 12 flags=9
2013/03/09 00:05:09 kid1| Accepting TPROXY spoofing HTTP Socket connections
at local=0.0.0.0:3129 remote=[::] FD 13 flags=25
2013/03/09 00:05:09 kid1| ERROR: listen( FD 12, 0.0.0.0 [ job3], 16384):
(98) Address already in use
2013/03/09 00:05:10 kid1| storeLateRelease: released 0 objects
2013/03/09 00:05:10 kid1| Ip::Address::GetSockAddr : Cannot convert non-IPv4
to IPv4. from [::]
2013/03/09 00:07:43 kid1| Starting Squid Cache version 3.3.2 for
x86_64-unknown-linux-gnu...
2013/03/09 00:07:43 kid1| Process ID 9051
2013/03/09 00:07:43 kid1| Process Roles: worker
2013/03/09 00:07:43 kid1| With 65536 file descriptors available
2013/03/09 00:07:43 kid1| Initializing IP Cache...
2013/03/09 00:07:43 kid1| With 65536 file descriptors available
2013/03/09 00:07:43 kid1| Initializing IP Cache...
2013/03/09 00:07:43 kid1| DNS Socket created at 0.0.0.0, FD 7
2013/03/09 00:07:43 kid1| Adding nameserver 8.8.8.8 from /etc/resolv.conf
2013/03/09 00:07:43 kid1| Adding nameserver 8.8.8.8 from /etc/resolv.conf
2013/03/09 00:07:43 kid1| Adding nameserver 8.8.8.4 from /etc/resolv.conf
2013/03/09 00:07:43 kid1| helperOpenServers: Starting 0/20 'squidGuard'
processes
2013/03/09 00:07:43 kid1| helperOpenServers: No 'squidGuard' processes
needed.
2013/03/09 00:07:43 kid1| Logfile: opening log /var/log/squid/access.log
2013/03/09 00:07:43 kid1| WARNING: log parameters now start with a module
name. Use 'stdio:/var/log/squid/access.log'
2013/03/09 00:07:43 kid1| WARNING: log parameters now start with a module
name. Use 'stdio:/var/log/squid/access.log'
2013/03/09 00:07:43 kid1| Store logging disabled
2013/03/09 00:07:43 kid1| Swap maxSize 0 + 10240000 KB, estimated 787692
objects
2013/03/09 00:07:43 kid1| Target number of buckets: 39384
2013/03/09 00:07:43 kid1| Using 65536 Store buckets
2013/03/09 00:07:43 kid1| Target number of buckets: 39384
2013/03/09 00:07:43 kid1| Using 65536 Store buckets
2013/03/09 00:07:43 kid1| Max Mem size: 10240000 KB
2013/03/09 00:07:43 kid1| Max Swap size: 0 KB
2013/03/09 00:07:43 kid1| Max Swap size: 0 KB
2013/03/09 00:07:43 kid1| Using Least Load store dir selection
2013/03/09 00:07:43 kid1| Set Current Directory to
/usr/local/squid/var/cache/squid
2013/03/09 00:07:43 kid1| Loaded Icons.
2013/03/09 00:07:43 kid1| Accepting WCCPv2 messages on port 2048, FD 9.
2013/03/09 00:07:43 kid1| Initialising all WCCPv2 lists
2013/03/09 00:07:43 kid1| Accepting WCCPv2 messages on port 2048, FD 9.
2013/03/09 00:07:43 kid1| Initialising all WCCPv2 lists
2013/03/09 00:07:43 kid1| HTCP Disabled.
2013/03/09 00:07:43 kid1| Squid plugin modules loaded: 0
2013/03/09 00:07:43 kid1| Accepting HTTP Socket connections at
local=127.0.0.1:3126 remote=[::] FD 10 flags=9
2013/03/09 00:07:43 kid1| Accepting HTTP Socket connections at
local=x.x.x.x:65001 remote=[::] FD 11 flags=9
2013/03/09 00:07:43 kid1| Accepting HTTP Socket connections at
local=0.0.0.0:3126 remote=[::] FD 12 flags=9
2013/03/09 00:07:43 kid1| Accepting TPROXY spoofing HTTP Socket connections
at local=0.0.0.0:3129 remote=[::] FD 13 flags=25
2013/03/09 00:07:43 kid1| ERROR: listen( FD 12, 0.0.0.0 [ job3], 16384):
(98) Address already in use
2013/03/09 00:07:44 kid1| storeLateRelease: released 0 objects
2013/03/09 00:07:44 kid1| Ip::Address::GetSockAddr : Cannot convert non-IPv4
to IPv4. from [::]
2013/03/09 00:07:47 kid1| Starting Squid Cache version 3.3.2 for
x86_64-unknown-linux-gnu...
2013/03/09 00:07:47 kid1| Process ID 9056
2013/03/09 00:07:47 kid1| Process Roles: worker
2013/03/09 00:07:47 kid1| With 65536 file descriptors available
2013/03/09 00:07:47 kid1| Initializing IP Cache...
2013/03/09 00:07:47 kid1| Initializing IP Cache...
2013/03/09 00:07:47 kid1| DNS Socket created at 0.0.0.0, FD 7
2013/03/09 00:07:47 kid1| Adding nameserver 8.8.8.8 from /etc/resolv.conf
2013/03/09 00:07:47 kid1| Adding nameserver 8.8.8.4 from /etc/resolv.conf
2013/03/09 00:07:47 kid1| helperOpenServers: Starting 0/20 'squidGuard'
processes
2013/03/09 00:07:47 kid1| helperOpenServers: No 'squidGuard' processes
needed.
2013/03/09 00:07:47 kid1| Logfile: opening log /var/log/squid/access.log
2013/03/09 00:07:47 kid1| WARNING: log parameters now start with a module
name. Use 'stdio:/var/log/squid/access.log'
2013/03/09 00:07:47 kid1| Store logging disabled
2013/03/09 00:07:47 kid1| Swap maxSize 0 + 10240000 KB, estimated 787692
objects
2013/03/09 00:07:47 kid1| Target number of buckets: 39384
2013/03/09 00:07:47 kid1| Using 65536 Store buckets
2013/03/09 00:07:47 kid1| Max Mem size: 10240000 KB
2013/03/09 00:07:47 kid1| Max Swap size: 0 KB
2013/03/09 00:07:47 kid1| Using Least Load store dir selection
2013/03/09 00:07:47 kid1| Using Least Load store dir selection
2013/03/09 00:07:47 kid1| Set Current Directory to
/usr/local/squid/var/cache/squid
2013/03/09 00:07:47 kid1| Loaded Icons.
2013/03/09 00:07:47 kid1| Accepting WCCPv2 messages on port 2048, FD 9.
2013/03/09 00:07:47 kid1| Initialising all WCCPv2 lists
2013/03/09 00:07:47 kid1| Accepting WCCPv2 messages on port 2048, FD 9.
2013/03/09 00:07:47 kid1| Initialising all WCCPv2 lists
2013/03/09 00:07:47 kid1| HTCP Disabled.
2013/03/09 00:07:47 kid1| Squid plugin modules loaded: 0
2013/03/09 00:07:47 kid1| Accepting HTTP Socket connections at
local=127.0.0.1:3126 remote=[::] FD 10 flags=9
2013/03/09 00:07:47 kid1| Accepting HTTP Socket connections at
local=x.x.x.x:65001 remote=[::] FD 11 flags=9
2013/03/09 00:07:47 kid1| Accepting HTTP Socket connections at
local=0.0.0.0:3126 remote=[::] FD 12 flags=9
2013/03/09 00:07:47 kid1| Accepting HTTP Socket connections at
local=x.x.x.x:65001 remote=[::] FD 11 flags=9
2013/03/09 00:07:47 kid1| Accepting HTTP Socket connections at
local=0.0.0.0:3126 remote=[::] FD 12 flags=9
2013/03/09 00:07:47 kid1| Accepting TPROXY spoofing HTTP Socket connections
at local=0.0.0.0:3129 remote=[::] FD 13 flags=25
2013/03/09 00:07:47 kid1| ERROR: listen( FD 12, 0.0.0.0 [ job3], 16384):
(98) Address already in use
2013/03/09 00:07:48 kid1| storeLateRelease: released 0 objects
2013/03/09 00:07:48 kid1| Ip::Address::GetSockAddr : Cannot convert non-IPv4
to IPv4. from [::]*

=================
squid.conf file :
[root_at_squid ~]# cat /usr/local/squid/etc/squid.conf | less
#
# Recommended minimum configuration:
#

# Example rule allowing access from your local networks.
# Adapt to list your (internal) IP networks from where browsing
# should be allowed
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl localnet src fc00::/7 # RFC 4193 local private network range
acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged)
machines
acl mynet src x.x.x.x/x
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

#
# Recommended minimum Access Permission configuration:
#
# Only allow cachemgr access from localhost
http_access allow localhost manager mynet
http_access deny manager

# Deny requests to certain unsafe ports
http_access deny !Safe_ports

# Deny CONNECT to other than secure SSL ports
http_access deny CONNECT !SSL_ports

# We strongly recommend the following be uncommented to protect innocent
# web applications running on the proxy server who think the only
# one who can access services on "localhost" is a local user
#http_access deny to_localhost

#
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
#

# Example rule allowing access from your local networks.
# Adapt localnet in the ACL section to list your (internal) IP networks
# from where browsing should be allowed
http_access allow localnet
http_access allow localhost

# And finally deny all other access to this proxy
http_access deny all

# Squid normally listens to port 3128
#http_port 3128

# Uncomment and adjust the following to add a disk cache directory.
#cache_dir ufs /usr/local/squid/var/cache/squid 100 16 256

# Leave coredumps in the first cache dir
coredump_dir /usr/local/squid/var/cache/squid

# Add any of your own refresh_pattern entries above these.
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
#######################################################
####squidguard###################
redirect_program /usr/local/squidguard5/bin/squidGuard -c
/etc/squidguard.conf
redirector_bypass on
cache_effective_user squid
cache_effective_group squid
##############################
#Recommended minimum configuration:
# Only allow cachemgr access from localhost
http_access allow manager localhost
http_access allow localnet
http_access deny manager
# Deny requests to unknown ports
http_access deny !Safe_ports
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports
# And finally deny all other access to this proxy
http_access deny all
#Allow ICP queries from everyone
icp_access allow all
#######################################
access_log /var/log/squid/access.log
#cache_dir aufs /cache1 500000 32 256
#cache_dir aufs /cache2 500000 32 256
#cache_dir aufs /cache3 500000 32 256
#cache_dir aufs /videocache 500000 32 256
cache_mem 10000 MB
##########################
http_port 127.0.0.1:3126
http_port x.x.x.x:65001
http_port 3126
http_port 3129 tproxy
###########################################
########### WCCP2 Config#############
wccp2_router 1x.x.x.x
wccp_version 2
wccp2_forwarding_method 2
wccp2_return_method 2
wccp2_service dynamic 80
wccp2_service_info 80 protocol=tcp flags=src_ip_hash priority=240 ports=80
wccp2_service dynamic 90
wccp2_service_info 90 protocol=tcp flags=dst_ip_hash,ports_source
priority=240 ports=80

================
i disbaled ipv6 while compiling !!!! but dont know why ipv6 still annoying
me !!!
here is netstat !
[root_at_squid ~]# netstat -atn
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address
State
tcp 0 0 127.0.0.1:199 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:9800 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:3306 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:*
LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:49591 0.0.0.0:*
LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:*
LISTEN
tcp 0 52 cccccc:9800 vvvvv:13400 ESTABLISHED
tcp 0 0 xcccccc:9800 vvvvv:54204
ESTABLISHED
tcp 0 0 cccccc:9800 vvvvvvv:12942
ESTABLISHED
tcp 0 0 ccccc:9800 vvvvvv:53616
ESTABLISHED
tcp 0 0 :::9800 :::*
LISTEN
tcp 0 0 :::4335 :::*
LISTEN
tcp 0 0 :::42799 :::*
LISTEN
tcp 0 0 :::111 :::*
LISTEN
tcp 0 0 ::1:631 :::*
LISTEN
tcp 0 0 ::1:25 :::*
LISTEN
==============================================================

whats the problem ???!!!!!!!

regards

--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/squid-3-3-2-Cannot-convert-non-IPv4-to-IPv4-from-tp4658912.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Sat Mar 09 2013 - 05:15:44 MST

This archive was generated by hypermail 2.2.0 : Sat Mar 09 2013 - 12:00:04 MST