Squid. Cachemanager HELP :(

Pagina: 1
Acties:

  • -=KGK=-
  • Registratie: April 2000
  • Laatst online: 15:45
Hoi ik had dit op het Freesco Forum gepost maar die zijn niet zo actief als de Tweakers hier. Dus mischien dat 1 van jullie mij kan helpen :?
Ik had geen zin om het nog een keer te vertalen dus hier komt ie:


Aaaaaaaaaaaaaaaaaaagh can't get it to work either.
Here is my squid conf.
Squid seems to be working fine now (finally! )
But the cache mgr wont.
Please some 1 take a look at my conf and help me out
=====SQUID CONF==================
http_port 192.168.0.1:3128
icp_port 0

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

cache_mem 4 MB
maximum_object_size 1024 KB

cache_dir ufs /mnt/router/packages/squid/cache 100 16 32
#cache_access_log /mnt/router/packages/squid/logs/access.log
#cache_log /mnt/router/packages/squid/logs/cache.log
#cache_store_log /mnt/router/packages/squid/logs/store.log
#mime_table /mnt/router/packages/squid/etc/mime.conf
#pid_filename /mnt/router/packages/squid/logs/squid.pid
#debug_options ALL,1

#cache_dns_program /mnt/router/packages/squid/bin/dnsserver
#dns_children 5

#unlinkd_program /mnt/router/packages/squid/bin/unlinkd

#redirect_program none
#redirect_children 5
#redirect_rewrites_host_header on

# redirector_access

# authenticate_program /mnt/router/packages/squid/bin/ncsa_auth /mnt/router/packages/squid/etc/passwd
#authenticate_children 5
#authenticate_ttl 3600
#authenticate_ip_ttl 0


#request_header_max_size 10 KB
#request_body_max_size 1 MB
acl all src 0.0.0.0/0.0.0.0
acl localnet src 192.168.0.0/255.255.255.0
acl localnet scr 176.16.0.0/255.255.255.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT

http_access allow manager localnet
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
#
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
#
http_access allow localnet
http_access deny all

icp_access allow all
miss_access allow all

cache_mgr webmaster
cache_effective_user nobody
cache_effective_group nobody

#httpd_accel_host hostname
#httpd_accel_port port
#httpd_accel_with_proxy off
#httpd_accel_uses_host_header off
dns_testnames localhost irongate

#logfile_rotate 10

memory_pools off
# memory_pools_limit 12 MB

log_icp_queries off

cachemgr_passwd webmaster all

buffered_logs on

=======End Squid Conf=============
Dit krijg ik als ik in exploder de cachemgr.cgi open :
Error Message ############################################


Cache Manager Error
connect: (111) Connection refused


--------------------------------------------------------------------------------

Generated Fri, 01 Jun 2001 19:59:17 GMT, by cachemgr.cgi/2.3.STABLE2-ldap_auth@router.inet

p.s. sorry if I f*ck up the layout.

Thankz in advanze
Greetz -=KGKFXP=-

Date: 01 Jun, 2001 on 20:16 Last update: 01 Jun, 2001 20:17 (1 times)

  • -=KGK=-
  • Registratie: April 2000
  • Laatst online: 15:45
Vast wel iemand die dit weet ^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  • Valium
  • Registratie: Oktober 1999
  • Laatst online: 09-08 08:59

Valium

- rustig maar -

Je definieert 2 keer localnet.

  • Coen Rosdorff
  • Registratie: Januari 2000
  • Niet online
Op zaterdag 02 juni 2001 13:52 schreef -=KGK=- het volgende:

acl localnet src 192.168.0.0/255.255.255.0
acl localnet scr 176.16.0.0/255.255.255.0
2 keer benoemen mag geloof ik wel, dan wordt het gewoon aangevuld, maar die tikvaut mag niet, dan raakt hij vast in de war. "scr"

  • -=KGK=-
  • Registratie: April 2000
  • Laatst online: 15:45
Maar ik heb 2 segmenten hoe pak ik dit dan aan :?
Ik heb 192.168.0.0 En 176.16.0.0
Beide met DHCP leases.

  • Coen Rosdorff
  • Registratie: Januari 2000
  • Niet online
Begin eens met het fixen van die type-fout. 99,9% kans dat het dan werkt. Heb geen zin om het testen, dat doe je zelf maar even.

  • -=KGK=-
  • Registratie: April 2000
  • Laatst online: 15:45
Hmmmm 2e localnet verwijderd maar het will nog steeds niet :?
Met welke user en pass moet ik inloggen bij de Squid Cachemgr ik heb het iedee dat ik de verkeerde aan het proberen ben.

  • imdos
  • Registratie: Maart 2000
  • Laatst online: 05-08 12:09

imdos

I use FreeNAS and Ubuntu

je moet acl localnet1 en localnet2 gebruiken en dan beide apart toegang geven volgens mij!

pvoutput. Waarom makkelijk doen, als het ook moeilijk kan! Every solution has a new problem


  • -=KGK=-
  • Registratie: April 2000
  • Laatst online: 15:45
Ja maare buiten dat.
Ik heb de tweede localnet weggehaald. Ik zit dus op localnet 1 192.168.0.100 <---mijn ip
Maar nog lukt hen niet.

  • Coen Rosdorff
  • Registratie: Januari 2000
  • Niet online
Ik heb het even geprobeerd, maar als je acl's niet goed staan, dan krijg je netjes een:
code:
1
2
3
4
5
6
The following error was encountered:

    * Access Denied.

    Access control configuration prevents your request from being allowed at this time.
    Please contact your service provider if you feel this is incorrect.

connect je wel naar 127.0.0.1 (localhost) en connect je wel naar de juiste poort ?

(Als ik een poort invul waar squid niet op draait dan krijg ik een 111 refused)
Pagina: 1