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

From: νΙΘΑΙΜ <makleking_at_yandex.ru>
Date: Wed, 17 Apr 2013 10:05:53 +0400

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

# grep localhost squid.conf
http_access allow localhost manager
# grep webserver squid.conf
acl webserver src 192.168.177.134/32
http_access allow webserver manager

# squidclient -h 192.168.177.134 mgr:storedir
HTTP/1.1 200 OK
Server: squid
Mime-Version: 1.0
Date: Wed, 17 Apr 2013 06:00:07 GMT
Content-Type: text/plain
Expires: Wed, 17 Apr 2013 06:00:07 GMT
Last-Modified: Wed, 17 Apr 2013 06:00:07 GMT
X-Cache: MISS from ui-proxy.office.corp
Via: 1.1 ui-proxy.office.corp (squid)
Connection: close
Store Directory Statistics:
Store Entries : 197801
Maximum Swap Size : 8192000 KB
Current Store Swap Size: 5338420.00 KB
Current Capacity : 65.17% used, 34.83% free
Store Directory #0 (ufs): /var/spool/squid
FS Block Size 4096 Bytes
First level subdirectories: 32
Second level subdirectories: 64
Maximum Size: 8192000 KB
Current Size: 5338420.00 KB
Percent Used: 65.17%
Filemap bits in use: 197735 of 262144 (75%)
Filesystem Space in use: 24778608/73440504 KB (34%)
Filesystem Inodes in use: 460976/4669440 (10%)
Flags: SELECTED
Removal policy: lru
LRU reference age: 1.81 days

# squidclient -h 127.0.0.1 mgr:storedir
client: ERROR: Cannot connect to 127.0.0.1:3128: Connection refused

# 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?
Received on Wed Apr 17 2013 - 06:06:06 MDT

This archive was generated by hypermail 2.2.0 : Wed Apr 17 2013 - 12:00:04 MDT