Re: [squid-users] CACHEMGR - What`s wrong?

From: Kinkie <gkinkie_at_gmail.com>
Date: Tue, 4 Nov 2008 19:24:18 +0100

Cachemgr itself is ok. Cachemgr.cgi on the other hand has a simple
config file which limits what cache managers it is allowed to connect
to.

Just add your cache there and it'll work fine.

On 11/4/08, Rodrigo de Oliveira Gomes <akada_at_uol.com.br> wrote:
> Guys,
>
> Good afternoon!
>
> I am using an Intel server with 2 gigas of memory. Installed the
> 7.0 version of FreeBSD, installed just after the squid (Squid Cache:
> Version 3.0.STABLE10) compiled with the following flags:
>
> configure options: '--with-default-user=squid'
> '--bindir=/usr/local/sbin' '--sbindir=/usr/local/sbin'
> '--datadir=/usr/local/etc/squid'
> '--libexecdir=/usr/local/libexec/squid'
> '--localstatedir=/usr/local/squid' '--sysconfdir=/usr/local/etc/squid'
> '--enable-removal-policies=lru heap' '--disable-linux-netfilter'
> '--disable-linux-tproxy' '--disable-epoll' '--enable-auth=basic ntlm
> digest' '--enable-basic-auth-helpers=DB NCSA PAM MSNT SMB
> squid_radius_auth YP' '--enable-digest-auth-helpers=password'
> '--enable-external-acl-helpers=ip_user session unix_group wbinfo_group'
> '--enable-ntlm-auth-helpers=SMB' '--with-pthreads'
> '--enable-storeio=ufs diskd null aufs' '--enable-delay-pools'
> '--enable-ssl' '--with-openssl=/usr' '--enable-htcp'
> '--enable-forw-via-db' '--enable-cache-digests' '--enable-wccpv2'
> '--disable-http-violations' '--enable-referer-log'
> '--enable-useragent-log' '--enable-arp-acl' '--enable-ipfw-transparent'
> '--enable-pf-transparent' '--enable-ipf-transparent'
> '--enable-icap-client' '--disable-kqueue' '--with-large-files'
> '--enable-stacktraces' '--disable-optimizations'
> '--enable-err-languages=Armenian Azerbaijani Bulgarian Catalan Czech
> Danish Dutch English Estonian Finnish French German Greek Hebrew
> Hungarian Italian Japanese Korean Lithuanian Polish Portuguese
> Romanian Russian-1251 Russian-koi8-r Serbian Simplify_Chinese Slovak
> Spanish Swedish Traditional_Chinese Turkish Ukrainian-1251
> Ukrainian-koi8-u Ukrainian-utf8'
> '--enable-default-err-language=templates' '--prefix=/usr/local'
> '--mandir=/usr/local/man' '--infodir=/usr/local/info/'
> '--build=i386-portbld-freebsd7.0' 'build_alias=i386-portbld-freebsd7.0'
> 'CC=cc' 'CFLAGS=-pipe -I/usr/include -g -g' 'LDFLAGS=
> -rpath=/usr/lib:/usr/local/lib -L/usr/lib' 'CPPFLAGS=' 'CXX=c++'
> 'CXXFLAGS=-pipe -I/usr/include -g -g'
>
>
> I'm trying to enable the use of cachemgr, but unfortunately only the
> following message appears as I try to log:
>
>
> Cache Manager Error
>
> target 192.168.47.89:3128 not allowed in cachemgr.conf
> __________________________________________________________________
>
> Generated Tue, 04 Nov 2008 15:34:58 GMT, by
> cachemgr.cgi/3.0.STABLE10_at_domain
>
>
> The following settings:
>
> quid.conf:
>
>
> acl netinterna src 192.168.0.0/16
> http_access allow manager localhost
> http_access allow manager netinterna
> http_access deny manager
> cachemgr_passwd senha all
>
> cachemgr.conf:
> localhost
> 192.168.47.89:3128
>
> Am I doing something wrong? Lack configuration? Permission? I look forward
> to in a hand.
>
> Thank you,
>
> Regards,
>
> Rodrigo Gomes
>
>
>

-- 
    /kinkie
Received on Tue Nov 04 2008 - 18:24:23 MST

This archive was generated by hypermail 2.2.0 : Tue Nov 04 2008 - 12:00:04 MST