Search squid archive

Re: squid 3.2 - squidclient - Connection refused

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx>:
> 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




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux