Re: [squid-users] squid 3.2 - squidclient - Connection refused

From: 砩攘商 <makleking_at_yandex.ru>
Date: Wed, 17 Apr 2013 15:38:43 +0400

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:
>
>> 欻i! I have some problem with squidclient.
>> 歅lease you look information below.
>>
>> # uname -a
>> 歀inux 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
>> 歊ed Hat Enterprise Linux Server release 6.4 (Santiago)
>>
>> # more /etc/hosts
>> 192.168.177.134 ui-proxy.office.corp 殮殮殮歶i-proxy
>> 127.0.0.1 殮殮殮localhost.localdomain 殮殮殮殮殮localhost 殮殮殮ui-proxy
>> ::1 殮殮殮殮殮殮localhost.localdomain 殮殮殮殮殮localhost 殮殮殮ui-proxy
>>
>> # squid -v
>> 歋quid Cache: Version 3.2.9
>> 歝onfigure 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
>> 歛ssert "false" at line 689
>> 欼p::Address invalid? with IsIPv4()=F, IsIPv6()=T
>> 欰DDRESS: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
>> 歴quidclient: Address.cc:689: void Ip::Address::GetAddrInfo(addrinfo*&, int) const: Assertion `false' failed.
>> 欰borted
>>
>> 欳an 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