[FUG-BR] Problemas com o CACHEMGR no FreeBSD 7.0

Rodrigo de Oliveira Gomes akada em uol.com.br
Terça Novembro 4 14:40:41 BRST 2008


   Pessoal,
       Boa tarde!
       Estou utilizando um servidor intel com 2 gigas de memória. Instalei
   a versão 7.0 do FreeBSD, logo após instalei o squid (Squid Cache:
   Version 3.0.STABLE10) compilado com as seguintes 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'
       Estou tentando habilitar o uso do cachemgr, mas infelizmente só
   aparece a seguinte mensagem quanto tento me logar:

                              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 em dominio
    Seguem as configurações:
    squid.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
   Estou fazendo alguma coisa errada? Falta alguma configuração?
   Permissão? Fico no aguardo de uma ajuda.
   Obrigado,
   Atenciosamente,
   Rodrigo Gomes


Mais detalhes sobre a lista de discussão freebsd