PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : squid error



airboy
21.09.01, 15:53
Hallo !

Habe gestern Squid 2.4 Stable 2 geladen und kompiliert.

Bekomme aber folgenden Error beim starten:
Sep 21 15:46:57 home squid[15263]: Squid Parent: child process 1 5265 started

Sep 21 15:46:57 home (squid): storeUfsDirOpenSwapLog: Failed to open swap log.

Sep 21 15:46:57 home squid[15263]: Squid Parent: child process 15265 exited due to signal 6

Mein Config File schaut so aus:
http_port 8080
icp_port 3130
cache_mem 8 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 4096 KB
cache_dir ufs /squid/cache 1000 16 256
cache_peer proxy.chello.at parent 8080 7 no-query
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
#cache_dns_program /usr/lib/squid/dnsserver
#dns_children 5
dns_nameservers 192.168.200.254
cache_effective_user nobody
cache_effective_group nobody
emulate_httpd_log on
pid_filename /var/run/squid.pid
debug_options ALL,1
client_netmask 255.255.255.0
unlinkd_program /usr/lib/squid/unlinkd
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl sex dstdomain www.sex.com (http://www.sex.com) www.sex.at (http://www.sex.at) www.traumbarbie.at (http://www.traumbarbie.at)
acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl workstation src 192.168.0.2/255.255.255.255
acl workstation2 src 192.168.0.3/255.255.255.255
acl workstation3 src 192.168.0.4/255.255.255.255
acl workstation4 src 192.168.0.5/255.255.255.255
acl nimdaworm urlpath_regex -i \.eml$
http_access deny nimdaworm
http_access allow workstation
http_access allow workstation2
http_access allow workstation3
http_access allow workstation4
http_access allow localhost
http_access deny sex
icp_access allow all
miss_access allow all

die version die ich vorher hatte, hat überhaupt nicht mehr funktioniert.
deswegen machte ich das update.

hoffe es weiss wer eine lösung :)

mfg
nico

bluesky666
21.09.01, 16:32
Hi,

hast Du nach der installation dein Cache directory gelöscht und neu erstellt ?
also in /var/squid/logs
und /var/squid/cache
die files, dann mit squid -z
den cache neu gebildet

gruß

Helge

airboy
21.09.01, 21:28
Hallo Helge!

Fehler gefunden:
Diese 2 Zeilen waren falsch bzw haben gefehlt:
cache_swap_log /var/log/squid/swap.log
und falsch war der nameserver eintrag.
da war die ip von dem PC eines freundes drin und nicht die IP von meinem DNS.

danke fuer Deine hilfe
nico