[squid-users] Problem with cache manager

From: Jiří Červenka <cervenka@dont-contact.us>
Date: Mon, 24 Apr 2006 14:55:27 +0200

Hello,
I´m trying to run cache manager on my prox server with squid.
I have successfully installed cachemgr.cgi (I´m running debian sarge so
i have installed squid-cgi package)
and set my webserver (apache) to run cgi script.
Now I am able to access loon page of cache manager but I am not able to
login.
Cache server is set to localhost, manager name is master and password is
blank.
When I click continue I receive this:

Cache Manager Error
connect: (111) Connection refused
Generated Mon, 24 Apr 2006 12:49:32 GMT, by
cachemgr.cgi/2.5.STABLE9@gate.mydomain.cz

Here is part of my squid.conf:

# ACCESS CONTROLS
#
-----------------------------------------------------------------------------

acl all src 0.0.0.0/0.0.0.0
acl intranet src 172.16.0.0/255.255.0.0
acl servers src my.ser.vers.ip/255.255.255.255
acl manager proto cache_object
no_cache deny all
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80
acl Safe_ports port 21 #ftp
acl Safe_ports port 443 563 #https,snews
acl Safe_ports port 280 #http-mgmt
acl Safe_ports port 488 #gss-http
acl purge method PURGE
acl CONNECT method CONNECT

http_access allow manager localhost
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow servers
http_access allow intranet
http_access deny all

icp_access allow localhost intranet

miss_access allow manager
miss_access allow localhost intranet
miss_access deny !intranet

# proxy_auth_realm Squid proxy-caching web server
# ident_lookup_access deny all

# ADMINISTRATIVE PARAMETERS
#
-----------------------------------------------------------------------------

cache_mgr master
cachemgr_passwd none all
cache_effective_user proxy
# cache_effective_group proxy

visible_hostname proxy.mydomain.cz

# HTTPD-ACCELERATOR OPTIONS
#
-----------------------------------------------------------------------------

httpd_accel_port 80
httpd_accel_host virtual
#httpd_accel_single_host off
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

# MISCELLANEOUS
#
-----------------------------------------------------------------------------

error_directory /usr/share/squid/errors/Czech

Webserver is running on same machine as proxy server.

Where can be the problem? Thanks for any help.

Jiri
Received on Mon Apr 24 2006 - 06:55:40 MDT

This archive was generated by hypermail pre-2.1.9 : Mon May 01 2006 - 12:00:02 MDT