On 17/04/2013 6:05 p.m., Михаил wrote:
Hi! I have some problem with squidclient. Please you look information below. # uname -a Linux ui-proxy 2.6.32-358.2.1.el6.x86_64 #1 SMP Wed Feb 20 12:17:37 EST 2013 x86_64 x86_64 x86_64 GNU/Linux # more /etc/redhat-release Red Hat Enterprise Linux Server release 6.4 (Santiago) # more /etc/hosts 192.168.177.134 ui-proxy.office.corp ui-proxy 127.0.0.1 localhost.localdomain localhost ui-proxy ::1 localhost.localdomain localhost ui-proxy # squid -v Squid Cache: Version 3.2.9 configure options: '--prefix=/usr' '--includedir=/usr/include' '--datadir=/usr/share' '--bindir=/usr/sbin' '--libexecdir=/usr/lib/squid' '--localstatedir=/var' '--sysconfdir=/etc/squid' '--with-default-user=root' '--disable-ipv6' --enable-ltdl-convenience
<snip>
# squidclient -h localhost mgr:storedir assert "false" at line 689 Ip::Address invalid? with IsIPv4()=F, IsIPv6()=T ADDRESS: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 squidclient: Address.cc:689: void Ip::Address::GetAddrInfo(addrinfo*&, int) const: Assertion `false' failed. Aborted Can you help me?
localhost resolves to the IPv6 address ::1 when using your system resolver as the squidclient tool does. You built your Squid with --disable-ipv6.
Please take a look at the results of these commands: host localhost squidclient -v -h localhost mgr:storedir Amos