Почему не работает режик?
Добавлено: Сб окт 23, 2004 14:55
Почему может не работать редиректор?
Вот что пишет в логи умирающий от режика сквид:
============= cache.log =====================
2004/10/23 14:41:21| Starting Squid Cache version 2.5.STABLE7 for i386-unknown-freebsd4.10...
2004/10/23 14:41:21| helperOpenServers: Starting 5 'redirector' processes
2004/10/23 14:41:22| storeLateRelease: released 0 objects
2004/10/23 14:41:26| helperHandleRead: FD 6 read: (54) Connection reset by peer
2004/10/23 14:41:26| WARNING: redirector #1 (FD 6) exited
2004/10/23 14:41:26| helperHandleRead: FD 7 read: (54) Connection reset by peer
2004/10/23 14:41:26| WARNING: redirector #2 (FD 7) exited
2004/10/23 14:41:26| helperHandleRead: FD 8 read: (54) Connection reset by peer
2004/10/23 14:41:26| WARNING: redirector #3 (FD exited
2004/10/23 14:41:26| Too few redirector processes are running2004/10/23 14:41:26| storeDirWriteCleanLogs: Starting...
2004/10/23 14:41:26| WARNING: Closing open FD 16
2004/10/23 14:41:27| Finished. Wrote 6 entries.
2004/10/23 14:41:27| Took 0.1 seconds ( 54.3 entries/sec).
FATAL: The redirector helpers are crashing too rapidly, need help!
==========================================
При этом редиректор логов никаких не создает !
Если его запустить через check-redirector, то логи создаются и вроде
все нормально:
============ redirector.err =======================
2004-10-23 14:30:34 [5012] Run make-cache
2004-10-23 14:30:34 [5012] Make-cache finished
2004-10-23 14:30:34 [5012] Load 662 rules from /usr/squid/rejik3/banlists/ban/urls.cache
2004-10-23 14:30:34 [5012] Load 11 pattern from BANNER pcre
2004-10-23 14:30:34 [5012] Load 22283 rules from /usr/squid/rejik3/banlists/porno/urls.cache
2004-10-23 14:30:34 [5012] Load 2 rules from /usr/squid/rejik3/banlists/badfile/urls.cache
2004-10-23 14:30:34 [5012] Load 16 pattern from BADFILE pcre
2004-10-23 14:30:34 [5012] Redirector start and working
=============================================
============ redirector.log ========================
2004-10-23 14:30:34 PORNO: 127.0.0.1 - http://sex.ru (urls rule: sex.ru)
=============================================
Версия редиректора - последняя бэта - только вчера выкачал и установил.
set-permissions - тоже делал - все права установлены правильно.
В чем может быть причина?
Вот что пишет в логи умирающий от режика сквид:
============= cache.log =====================
2004/10/23 14:41:21| Starting Squid Cache version 2.5.STABLE7 for i386-unknown-freebsd4.10...
2004/10/23 14:41:21| helperOpenServers: Starting 5 'redirector' processes
2004/10/23 14:41:22| storeLateRelease: released 0 objects
2004/10/23 14:41:26| helperHandleRead: FD 6 read: (54) Connection reset by peer
2004/10/23 14:41:26| WARNING: redirector #1 (FD 6) exited
2004/10/23 14:41:26| helperHandleRead: FD 7 read: (54) Connection reset by peer
2004/10/23 14:41:26| WARNING: redirector #2 (FD 7) exited
2004/10/23 14:41:26| helperHandleRead: FD 8 read: (54) Connection reset by peer
2004/10/23 14:41:26| WARNING: redirector #3 (FD exited
2004/10/23 14:41:26| Too few redirector processes are running2004/10/23 14:41:26| storeDirWriteCleanLogs: Starting...
2004/10/23 14:41:26| WARNING: Closing open FD 16
2004/10/23 14:41:27| Finished. Wrote 6 entries.
2004/10/23 14:41:27| Took 0.1 seconds ( 54.3 entries/sec).
FATAL: The redirector helpers are crashing too rapidly, need help!
==========================================
При этом редиректор логов никаких не создает !
Если его запустить через check-redirector, то логи создаются и вроде
все нормально:
============ redirector.err =======================
2004-10-23 14:30:34 [5012] Run make-cache
2004-10-23 14:30:34 [5012] Make-cache finished
2004-10-23 14:30:34 [5012] Load 662 rules from /usr/squid/rejik3/banlists/ban/urls.cache
2004-10-23 14:30:34 [5012] Load 11 pattern from BANNER pcre
2004-10-23 14:30:34 [5012] Load 22283 rules from /usr/squid/rejik3/banlists/porno/urls.cache
2004-10-23 14:30:34 [5012] Load 2 rules from /usr/squid/rejik3/banlists/badfile/urls.cache
2004-10-23 14:30:34 [5012] Load 16 pattern from BADFILE pcre
2004-10-23 14:30:34 [5012] Redirector start and working
=============================================
============ redirector.log ========================
2004-10-23 14:30:34 PORNO: 127.0.0.1 - http://sex.ru (urls rule: sex.ru)
=============================================
Версия редиректора - последняя бэта - только вчера выкачал и установил.
set-permissions - тоже делал - все права установлены правильно.
В чем может быть причина?