Ready:
# host localhost
localhost has address 127.0.0.1
Host localhost not found: 2(SERVFAIL)
Host localhost not found: 2(SERVFAIL)
# squidclient -v -h localhost mgr:storedir
Request:'GET cache_object://localhost/storedir HTTP/1.0
Host: localhost
User-Agent: squidclient/3.2.9
Accept: */*
Connection: close
'
Resolving... localhost
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
Micheal
17.04.2013, 10:22, "Amos Jeffries" <squid3_at_treenet.co.nz>:
> 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
Received on Wed Apr 17 2013 - 11:38:55 MDT
This archive was generated by hypermail 2.2.0 : Wed Apr 17 2013 - 12:00:04 MDT