Strona 1 z 1

problem ze squid instalowanym z apta squid 2.6 stable5

: 17 lipca 2007, 15:52
autor: dan-j2
Witam skonfigurowalem poprawnie squida po uruchamianiu go wywala mi taki komunikat

Kod: Zaznacz cały

debian:/etc/squid# squid -z
2007/07/17 17:53:27| parseConfigFile: line 2 unrecognized: 'httpd_accel_port 80 '
2007/07/17 17:53:27| parseConfigFile: line 3 unrecognized: 'httpd_accel_with_proxy on '
2007/07/17 17:53:27| parseConfigFile: line 4 unrecognized: 'httpd_accel_host virtual '
2007/07/17 17:53:27| parseConfigFile: line 5 unrecognized: 'httpd_accel_uses_host_header on '
2007/07/17 17:53:27| Creating Swap Directories
moj konfig wyglada nastepujaco

Kod: Zaznacz cały

http_port 3128
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_host virtual
httpd_accel_uses_host_header on
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_dir ufs /var/spool/squid 2000 16 256
cache_mem 512 MB
refresh_pattern -i (.*jpg$|.*gif$) 0 50% 28800
refresh_pattern -i (.*html$|.*htm|.*shtml) 0 20% 1440
refresh_pattern (http://.*/$) 0 20% 1440
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
cache_access_log /var/log/access.log
cache_log /var/log/cache.log
cache_store_log /var/log/store.log
pid_filename /var/log/squid.pid
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
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 563     # https, snews
acl Safe_ports port 1025-65535  # pozostałe porty
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
acl server src 192.168.1.1
http_access allow server
acl our_networks src 192.168.1.1-192.168.1.250
http_access allow our_networks
http_access deny all
http_reply_access allow all
icp_access allow all
cache_effective_user proxy
cache_effective_group proxy
coredump_dir /storage/cache
maximum_object_size 33000 KB
#redirector_bypass on
#redirect_program /sbin/lms-squid

: 17 lipca 2007, 16:51
autor: gothye
zamiast :

Kod: Zaznacz cały

http_port 3128 
httpd_accel_port 80 
httpd_accel_with_proxy on 
httpd_accel_host virtual
dajesz :

Kod: Zaznacz cały

http_port 3128 transparent

: 17 lipca 2007, 17:33
autor: dan-j2
Zamienilem tamte opcje co mowiles teraz nie wywala bledu ale squid jak nie startowal dalej nie startuje ;/ wlaczam squida i po chwili sie wylacza

: 17 lipca 2007, 17:38
autor: gothye
sprawdz co jest w logach ,i czy squid ma uprawnienia do katalogu gdzie trzyma cache

: 17 lipca 2007, 18:00
autor: dan-j2
mam bardzo duzo takich logow

Kod: Zaznacz cały

Jul 17 19:50:19 localhost squid[6309]: Squid Parent: child process 30900 exited due to signal 6
Jul 17 19:50:20 localhost squid[2386]: Squid Parent: child process 4890 started
Jul 17 19:50:20 localhost squid[2386]: Squid Parent: child process 4890 exited due to signal 6
Jul 17 19:50:22 localhost squid[6309]: Squid Parent: child process 19264 started
Jul 17 19:50:22 localhost squid[6309]: Squid Parent: child process 19264 exited due to signal 6
Jul 17 19:50:23 localhost squid[2386]: Squid Parent: child process 32627 started
Jul 17 19:50:23 localhost squid[2386]: Squid Parent: child process 32627 exited due to signal 6
Jul 17 19:50:25 localhost squid[6309]: Squid Parent: child process 29934 started
Jul 17 19:50:25 localhost squid[6309]: Squid Parent: child process 29934 exited due to signal 6
Jul 17 19:50:26 localhost squid[2386]: Squid Parent: child process 9015 started
Jul 17 19:50:26 localhost squid[2386]: Squid Parent: child process 9015 exited due to signal 6
Jul 17 20:00:28 localhost squid[6223]: Squid Parent: child process 26712 started
Jul 17 20:00:28 localhost squid[6223]: Squid Parent: child process 26712 exited due to signal 6
Jul 17 20:00:31 localhost squid[6223]: Squid Parent: child process 23460 started
Jul 17 20:00:31 localhost squid[6223]: Squid Parent: child process 23460 exited due to signal 6
Jul 17 20:00:34 localhost squid[6223]: Squid Parent: child process 15552 started
Jul 17 20:00:34 localhost squid[6223]: Squid Parent: child process 15552 exited due to signal 6
Jul 17 20:00:37 localhost squid[6223]: Squid Parent: child process 9265 started
Jul 17 20:00:37 localhost squid[6223]: Squid Parent: child process 9265 exited due to signal 6
Jul 17 20:00:40 localhost squid[6223]: Squid Parent: child process 6545 started
Jul 17 20:00:40 localhost squid[6223]: Squid Parent: child process 6545 exited due to signal 6
w messages a sam squid nie chce cos zbierac logow

: 17 lipca 2007, 20:33
autor: gothye
przez chwile przeraziłem sie ze google strajkowało jak pielęgniarki :)

: 17 lipca 2007, 22:00
autor: dan-j2
No tak tylko ze normalnie /var/spool/squid ma normalnie uzytkownika i grupe proxy usunelem cache i stworzylem na nowo przeszlo bez problemu ale dalej jest to samo to co bylo na google nie bardzo pomoglo