Доброе время суток.
Пытаюсь на FreeBSD 6.4 прикрутить Squid 2.7.STABLE6 к squidGuard 1.4. После всех настроек при старте Squid дает ошибку (cache.log):2009/07/14 12:19:45| Starting Squid Cache version 2.7.STABLE6 for i386-unknown-freebsd6.4...
2009/07/14 12:19:45| Process ID 35483
2009/07/14 12:19:45| With 11095 file descriptors available
2009/07/14 12:19:45| Using kqueue for the IO loop
2009/07/14 12:19:45| DNS Socket created at 0.0.0.0, port 63862, FD 6
2009/07/14 12:19:45| Adding domain pupkin.ru from /etc/resolv.conf
2009/07/14 12:19:45| Adding nameserver 22.22.22.22 from /etc/resolv.conf
2009/07/14 12:19:45| Adding nameserver 11.11.11.11 from /etc/resolv.conf
2009/07/14 12:19:45| helperOpenServers: Starting 15 'squidGuard' processes
2009/07/14 12:19:45| logfileOpen: opening log /usr/local/squid/var/logs/access.log
2009/07/14 12:19:45| Unlinkd pipe opened on FD 26
2009/07/14 12:19:45| Swap maxSize 4194304 + 8192 KB, estimated 0 objects
2009/07/14 12:19:45| Target number of buckets: 16163
2009/07/14 12:19:45| Using 16384 Store buckets
2009/07/14 12:19:45| Max Mem size: 8192 KB
2009/07/14 12:19:45| Max Swap size: 4194304 KB
2009/07/14 12:19:45| Store logging disabled
2009/07/14 12:19:45| Rebuilding storage in /usr/local/squid/cache (DIRTY)
2009/07/14 12:19:45| Using Least Load store dir selection
2009/07/14 12:19:45| Set Current Directory to /usr/local/squid/var/cache
2009/07/14 12:19:45| Loaded Icons.
2009/07/14 12:19:45| Accepting transparently proxied HTTP connections at 11.11.11.11, port 3128, FD 27.
2009/07/14 12:19:45| Accepting ICP messages at 0.0.0.0, port 3130, FD 28.
2009/07/14 12:19:45| WCCP Disabled.
2009/07/14 12:19:45| Ready to serve requests.
2009/07/14 12:19:45| WARNING: url_rewriter #1 (FD 7) exited
2009/07/14 12:19:45| WARNING: url_rewriter #2 (FD 8) exited
2009/07/14 12:19:45| WARNING: url_rewriter #3 (FD 9) exited
2009/07/14 12:19:45| WARNING: url_rewriter #4 (FD 10) exited
2009/07/14 12:19:45| WARNING: url_rewriter #5 (FD 11) exited
2009/07/14 12:19:45| WARNING: url_rewriter #6 (FD 12) exited
2009/07/14 12:19:45| WARNING: url_rewriter #7 (FD 13) exited
2009/07/14 12:19:45| WARNING: url_rewriter #8 (FD 14) exited
2009/07/14 12:19:45| Too few url_rewriter processes are running
FATAL: The url_rewriter helpers are crashing too rapidly, need help!
Squid Cache (Version 2.7.STABLE6): Terminated abnormally.
CPU Usage: 0.038 seconds = 0.019 user + 0.019 sys
Maximum Resident Size: 9732 KB
Page faults with physical i/o: 0
/var/log/squidGuard.log
2009-07-14 12:19:45 [35485] New setting: dbhome: /usr/local/etc/squid/db
2009-07-14 12:19:45 [35485] New setting: logdir: /var/log/
2009-07-14 12:19:45 [35485] init expressionlist /usr/local/etc/squid/db/proibidos/file
2009-07-14 12:19:45 [35485] squidGuard 1.4 started (1247559585.102)
2009-07-14 12:19:45 [35485] db update done
2009-07-14 12:19:45 [35485] squidGuard stopped (1247559585.103)
2009-07-14 12:19:45 [35484] New setting: dbhome: /usr/local/etc/squid/db
2009-07-14 12:19:45 [35484] New setting: logdir: /var/log/
2009-07-14 12:19:45 [35484] init expressionlist /usr/local/etc/squid/db/proibidos/file
2009-07-14 12:19:45 [35484] squidGuard 1.4 started (1247559585.103)
2009-07-14 12:19:45 [35484] db update done
2009-07-14 12:19:45 [35484] squidGuard stopped (1247559585.104)
…
Теперь конфиги: squid.conf
visible_hostname relay
http_port 11.11.11.11:3128 transparent
cache_dir ufs /usr/local/squid/cache 4096 16 256
access_log /usr/local/squid/var/logs/access.log
cache_store_log none
cache_log /usr/local/squid/var/logs/cache.log
cache_replacement_policy GDSF
error_directory /usr/local/squid/var/errors/Russian-1251
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl localnet src 11.11.11.0/24 # RFC1918 possible internal network
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
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
redirector_bypass on
url_rewrite_program /usr/local/bin/squidGuard -c /etc/squidguard.conf -C all
url_rewrite_children 15
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
acl QUERY urlpath_regex cgi-bin
no_cache deny QUERY
http_access allow localhost
acl admin src 11.11.11.108/255.255.255.255
acl admin src 11.11.11.113/255.255.255.255
http_access allow admin
acl froxserver src 11.11.11.11
http_access allow froxserver
http_access deny all
delay_pools 1
delay_class 1 2
delay_access 1 allow admin
delay_parameters 1 -1/-1 -1/-1
delay_class 2 2
delay_access 2 allow froxserver
delay_parameters 2 -1/-1 72000/72000
icp_access allow localnet
icp_access deny all
coredump_dir /usr/local/squid/var/cache
squidguard.conf
dbhome /usr/local/etc/squid/db
logdir /var/log/
dest files {
expressionlist proibidos/file
}
acl {
default {
pass !files all
redirect
http://11.11.11.11/cgi-bin/viralator.cgi?url=%u
}
}
Читал похожие топики, но что то не особо помогло. Права на директории Squid_а 777, squidGuard сам отдельно пускается, так же и Squid сам по себе, без url_rewrite_... то же пускается без ошибок.
Подскажите что я упустил?