Правильно ли я подключил логгер? Наверно нет.
url_rewrite_program /usr/local/rejik3/logger.c /usr/local/rejik3/redirector.conf
на скрипт установлены права для пользователя proxy, группа proxy (сквид работает через них)
в cache.log пишет это:
2010/07/08 04:25:39| Starting Squid Cache version 2.7.STABLE3 for i386-debian-linux-gnu...
2010/07/08 04:25:39| Process ID 2826
2010/07/08 04:25:39| With 1024 file descriptors available
2010/07/08 04:25:39| Using epoll for the IO loop
2010/07/08 04:25:39| Performing DNS Tests...
2010/07/08 04:25:39| Successful DNS name lookup tests...
2010/07/08 04:25:39| DNS Socket created at 0.0.0.0, port 52475, FD 6
2010/07/08 04:25:39| Adding nameserver 192.168.104.2 from /etc/resolv.conf
2010/07/08 04:25:39| Adding nameserver 192.168.104.5 from /etc/resolv.conf
2010/07/08 04:25:39| helperOpenServers: Starting 5 'logger.c' processes
2010/07/08 04:25:39| ipcCreate: /usr/local/rejik3/logger.c: (13) Permission denied
2010/07/08 04:25:40| ipcCreate: /usr/local/rejik3/logger.c: (13) Permission denied
2010/07/08 04:25:40| ipcCreate: /usr/local/rejik3/logger.c: (13) Permission denied
2010/07/08 04:25:40| ipcCreate: /usr/local/rejik3/logger.c: (13) Permission denied
2010/07/08 04:25:40| ipcCreate: /usr/local/rejik3/logger.c: (13) Permission denied
2010/07/08 04:25:40| helperOpenServers: Starting 5 'ncsa_auth' processes
2010/07/08 04:25:40| User-Agent logging is disabled.
2010/07/08 04:25:40| Referer logging is disabled.
2010/07/08 04:25:40| logfileOpen: opening log /var/log/squid/access34.log
2010/07/08 04:25:40| Unlinkd pipe opened on FD 21
2010/07/08 04:25:40| Swap maxSize 112640 KB, estimated 8664 objects
2010/07/08 04:25:40| Target number of buckets: 433
2010/07/08 04:25:40| Using 8192 Store buckets
2010/07/08 04:25:40| Max Mem size: 102400 KB
2010/07/08 04:25:40| Max Swap size: 112640 KB
2010/07/08 04:25:40| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2010/07/08 04:25:40| logfileOpen: opening log /var/log/squid/store34.log
2010/07/08 04:25:40| Rebuilding storage in /var/spool/squid34 (DIRTY)
2010/07/08 04:25:40| Using Least Load store dir selection
2010/07/08 04:25:40| Current Directory is /
2010/07/08 04:25:40| Loaded Icons.
2010/07/08 04:25:40| Accepting proxy HTTP connections at 192.168.104.97, port 3128, FD 23.
2010/07/08 04:25:40| Accepting ICP messages at 0.0.0.0, port 3130, FD 24.
2010/07/08 04:25:40| HTCP Disabled.
2010/07/08 04:25:40| WCCP Disabled.
2010/07/08 04:25:40| Ready to serve requests.
2010/07/08 04:25:40| WARNING: url_rewriter #1 (FD 7) exited
2010/07/08 04:25:40| WARNING: url_rewriter #2 (FD
exited
2010/07/08 04:25:40| WARNING: url_rewriter #3 (FD 9) exited
2010/07/08 04:25:40| Too few url_rewriter processes are running
FATAL: The url_rewriter helpers are crashing too rapidly, need help!
Squid Cache (Version 2.7.STABLE3): Terminated abnormally.
Система Дебиан 5