bonjour,
j'ai installé squid et squidguard sur 1 linux (debian 3.1). Squid tout seul fonctionne tres bien, mais qd j'active squidguard, on voir avec un netstat -anpe qu'il escoute sur trop de port et surtout pas sur les bons (entre autres 3128).
voici une copie de mon /var/log/squid/cache.log :
2006/04/19 16:02:29| Starting Squid Cache version 2.5.STABLE9 for i386-debian-linux-gnu...
2006/04/19 16:02:29| Process ID 11109
2006/04/19 16:02:29| With 1024 file descriptors available
2006/04/19 16:02:29| DNS Socket created at 0.0.0.0, port 1040, FD 6
2006/04/19 16:02:29| Adding nameserver 212.27.39.135 from /etc/resolv.conf
2006/04/19 16:02:29| Adding nameserver 212.27.32.5 from /etc/resolv.conf
2006/04/19 16:02:29| helperOpenServers: Starting 4 'squidGuard' processes
2006-04-19 16:02:29 [11110] (squidGuard): can't write to logfile /var/log/squid/squidGuard.log
2006-04-19 16:02:29 [11110] init expressionlist /var/lib/squidguard/db/adult/expressions
2006-04-19 16:02:29 [11110] init urllist /var/lib/squidguard/db/fun/urls
2006-04-19 16:02:29 [11110] loading dbfile /var/lib/squidguard/db/fun/urls.db
2006-04-19 16:02:29 [11110] Error db_open: Permission denied
2006-04-19 16:02:29 [11111] (squidGuard): can't write to logfile /var/log/squid/squidGuard.log
2006-04-19 16:02:29 [11111] init expressionlist /var/lib/squidguard/db/adult/expressions
2006-04-19 16:02:29 [11111] init urllist /var/lib/squidguard/db/fun/urls
2006-04-19 16:02:29 [11111] loading dbfile /var/lib/squidguard/db/fun/urls.db
2006-04-19 16:02:29 [11111] Error db_open: Permission denied
2006-04-19 16:02:29 [11112] (squidGuard): can't write to logfile /var/log/squid/squidGuard.log
2006-04-19 16:02:29 [11112] init expressionlist /var/lib/squidguard/db/adult/expressions
2006-04-19 16:02:29 [11112] init urllist /var/lib/squidguard/db/fun/urls
2006-04-19 16:02:29 [11112] loading dbfile /var/lib/squidguard/db/fun/urls.db
2006-04-19 16:02:29 [11112] Error db_open: Permission denied
2006-04-19 16:02:29 [11113] (squidGuard): can't write to logfile /var/log/squid/squidGuard.log
2006-04-19 16:02:29 [11113] init expressionlist /var/lib/squidguard/db/adult/expressions
2006-04-19 16:02:29 [11113] init urllist /var/lib/squidguard/db/fun/urls
2006-04-19 16:02:29 [11113] loading dbfile /var/lib/squidguard/db/fun/urls.db
2006-04-19 16:02:29 [11113] Error db_open: Permission denied
2006/04/19 16:02:29| User-Agent logging is disabled.
2006/04/19 16:02:29| Referer logging is disabled.
2006/04/19 16:02:29| Unlinkd pipe opened on FD 15
2006/04/19 16:02:29| Swap maxSize 102400 KB, estimated 7876 objects
2006/04/19 16:02:29| Target number of buckets: 393
2006/04/19 16:02:29| Using 8192 Store buckets
2006/04/19 16:02:29| Max Mem size: 10240 KB
2006/04/19 16:02:29| Max Swap size: 102400 KB
2006/04/19 16:02:29| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2006/04/19 16:02:29| Rebuilding storage in /var/spool/squid (DIRTY)
2006/04/19 16:02:29| Using Least Load store dir selection
2006/04/19 16:02:29| Current Directory is /
2006/04/19 16:02:29| Loaded Icons.
2006/04/19 16:02:30| Accepting HTTP connections at 0.0.0.0, port 3128, FD 17.
2006/04/19 16:02:30| HTCP Disabled.
2006/04/19 16:02:30| WCCP Disabled.
2006/04/19 16:02:30| Ready to serve requests.
2006/04/19 16:02:30| WARNING: redirector #1 (FD exited
2006/04/19 16:02:30| WARNING: redirector #2 (FD 9) exited
2006/04/19 16:02:30| Too few redirector processes are running
FATAL: The redirector helpers are crashing too rapidly, need help!
Squid Cache (Version 2.5.STABLE9): Terminated abnormally.
CPU Usage: 0.170 seconds = 0.140 user + 0.030 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 373
Memory usage for squid via mallinfo():
total space in arena: 2113 KB
Ordinary blocks: 2041 KB 2 blks
Small blocks: 0 KB 0 blks
Holding blocks: 204 KB 1 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 72 KB
Total in use: 2245 KB 106%
Total free: 72 KB 3%
Si vous avez une idee, n'hesitez pas !! J'ajoute que j'utilise un firewall, mais pour l'instant tous les ports sont ouverts.
Merci
DeusLoïc