pablovschby
02.12.04, 14:13
Hallo,
ich hab mir squid grad neu installiert und da erscheint immer:
/etc/init.d/squid stop
squid beenden: /etc/init.d/squid: line 162: 29521 Abgebrochen $SQUID -k check >/dev/null 2>&1
[FEHLGESCHLAGEN]
[root@blabla bla]# /etc/init.d/squid start
init_cache_dir /var/spool/squid... /etc/init.d/squid: line 162: 29535 Abgebrochen $SQUID -z -F -D 2>/dev/null
squid starten: /etc/init.d/squid: line 162: 29536 Abgebrochen $SQUID $SQUID_OPTS 2>/dev/null
[FEHLGESCHLAGEN]Wenn ich den starten will.
Das Verzeichnis /var/spool/squid ist aber leer, woran kann das liegen? Irgendwie komisch. Das Ganze bei folgendem /etc/squid/squid.conf:
http_port PORT-NUMBER
#auth_param basic program /usr/lib/squid/ncsa_auth /etc/shadow
#auth_param basic children 5
#auth_param basic realm Squid proxy-caching web server
#auth_param basic credentialsttl 2 hours
#-----------------
acl my_network src BLA/BLA
acl firm src BLA/BLA
#acl test1 src BLA/BLA
acl all src 0.0.0.0/0.0.0.0
#test: download von jpegs nicht erlauben...
#acl jpg urlpath_regex \.jpg$
#acl manager proto cache_object
#acl users proxy_auth "/etc/shadow"
#acl users proxy_auth REQUIRED
acl localhost src 127.0.0.1/255.255.255.255
#acl to_localhost dst 127.0.0.0/8
#acl SSL_ports port 443 563
acl Safe_ports port 80 # http
#acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
#acl Safe_ports port 563 # snews
#acl Safe_ports port 70 # gopher
#acl Safe_ports port 210 # wais
#acl Safe_ports port 1025-65535 # unregistered ports
#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
#----------------
#test: jpeg...teil2
#http_access deny jpg
#http_access allow manager localhost
#http_access deny manager
#http_access deny !Safe_ports
#http_access deny CONNECT !SSL_ports
http_access allow localhost
#http_access allow users
http_access allow my_network
http_access allow firm
#http_access allow test1
http_access deny all
#http_access allow all
#http_reply_access allow all
#icp_access allow all
#---------------
visible_hostname lx1
#Transparenter Proxy
#httpd_accel_host virtual
#httpd_accel_port 80
#httpd_accel_with_proxy on
#httpd_accel_uses_host_header on
#coredump_dir /var/spool/squid Sollte doch alles in Butter sein, oder doch nicht?
Google und auch die Suche hier sagt nicht viel Nützliches dazu.
Danke für alle Beiträge
ich hab mir squid grad neu installiert und da erscheint immer:
/etc/init.d/squid stop
squid beenden: /etc/init.d/squid: line 162: 29521 Abgebrochen $SQUID -k check >/dev/null 2>&1
[FEHLGESCHLAGEN]
[root@blabla bla]# /etc/init.d/squid start
init_cache_dir /var/spool/squid... /etc/init.d/squid: line 162: 29535 Abgebrochen $SQUID -z -F -D 2>/dev/null
squid starten: /etc/init.d/squid: line 162: 29536 Abgebrochen $SQUID $SQUID_OPTS 2>/dev/null
[FEHLGESCHLAGEN]Wenn ich den starten will.
Das Verzeichnis /var/spool/squid ist aber leer, woran kann das liegen? Irgendwie komisch. Das Ganze bei folgendem /etc/squid/squid.conf:
http_port PORT-NUMBER
#auth_param basic program /usr/lib/squid/ncsa_auth /etc/shadow
#auth_param basic children 5
#auth_param basic realm Squid proxy-caching web server
#auth_param basic credentialsttl 2 hours
#-----------------
acl my_network src BLA/BLA
acl firm src BLA/BLA
#acl test1 src BLA/BLA
acl all src 0.0.0.0/0.0.0.0
#test: download von jpegs nicht erlauben...
#acl jpg urlpath_regex \.jpg$
#acl manager proto cache_object
#acl users proxy_auth "/etc/shadow"
#acl users proxy_auth REQUIRED
acl localhost src 127.0.0.1/255.255.255.255
#acl to_localhost dst 127.0.0.0/8
#acl SSL_ports port 443 563
acl Safe_ports port 80 # http
#acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
#acl Safe_ports port 563 # snews
#acl Safe_ports port 70 # gopher
#acl Safe_ports port 210 # wais
#acl Safe_ports port 1025-65535 # unregistered ports
#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
#----------------
#test: jpeg...teil2
#http_access deny jpg
#http_access allow manager localhost
#http_access deny manager
#http_access deny !Safe_ports
#http_access deny CONNECT !SSL_ports
http_access allow localhost
#http_access allow users
http_access allow my_network
http_access allow firm
#http_access allow test1
http_access deny all
#http_access allow all
#http_reply_access allow all
#icp_access allow all
#---------------
visible_hostname lx1
#Transparenter Proxy
#httpd_accel_host virtual
#httpd_accel_port 80
#httpd_accel_with_proxy on
#httpd_accel_uses_host_header on
#coredump_dir /var/spool/squid Sollte doch alles in Butter sein, oder doch nicht?
Google und auch die Suche hier sagt nicht viel Nützliches dazu.
Danke für alle Beiträge