Squid w/ SquidGuard fails w/ "Too few redirector processes are running"
Posted
by
DKNUCKLES
on Server Fault
See other posts from Server Fault
or by DKNUCKLES
Published on 2012-11-19T03:26:51Z
Indexed on
2012/11/19
5:04 UTC
Read the original article
Hit count: 633
squid
|squidguard
I'm trying to implement a Squid proxy in a quick and easy fashion and I'm receiving some errors I have been unable to resolve. The box is a pre-made appliance, however it seems to fail on launch.The following is the cache.log file when I attempt to launch the squid service.
2012/11/18 22:14:29| Starting Squid Cache version 3.0.STABLE20-20091201 for i686 -pc-linux-gnu...
2012/11/18 22:14:29| Process ID 12647
2012/11/18 22:14:29| With 1024 file descriptors available
2012/11/18 22:14:29| Performing DNS Tests...
2012/11/18 22:14:29| Successful DNS name lookup tests...
2012/11/18 22:14:29| DNS Socket created at 0.0.0.0, port 40513, FD 8
2012/11/18 22:14:29| Adding nameserver 192.168.0.78 from /etc/resolv.conf
2012/11/18 22:14:29| Adding nameserver 8.8.8.8 from /etc/resolv.conf
2012/11/18 22:14:29| helperOpenServers: Starting 5/5 'bin' processes
2012/11/18 22:14:29| ipcCreate: /opt/squidguard/bin: (13) Permission denied
2012/11/18 22:14:29| ipcCreate: /opt/squidguard/bin: (13) Permission denied
2012/11/18 22:14:29| ipcCreate: /opt/squidguard/bin: (13) Permission denied
2012/11/18 22:14:29| ipcCreate: /opt/squidguard/bin: (13) Permission denied
2012/11/18 22:14:29| ipcCreate: /opt/squidguard/bin: (13) Permission denied
2012/11/18 22:14:29| helperOpenServers: Starting 5/5 'squid-auth.pl' processes
2012/11/18 22:14:29| User-Agent logging is disabled.
2012/11/18 22:14:29| Referer logging is disabled.
2012/11/18 22:14:29| Unlinkd pipe opened on FD 23
2012/11/18 22:14:29| Swap maxSize 10240000 + 8192 KB, estimated 788322 objects
2012/11/18 22:14:29| Target number of buckets: 39416
2012/11/18 22:14:29| Using 65536 Store buckets
2012/11/18 22:14:29| Max Mem size: 8192 KB
2012/11/18 22:14:29| Max Swap size: 10240000 KB
2012/11/18 22:14:29| Version 1 of swap file with LFS support detected...
2012/11/18 22:14:29| Rebuilding storage in /opt/squid3/var/cache (DIRTY)
2012/11/18 22:14:29| Using Least Load store dir selection
2012/11/18 22:14:29| Set Current Directory to /opt/squid3/var/cache
2012/11/18 22:14:29| Loaded Icons.
2012/11/18 22:14:29| Accepting HTTP connections at 10.0.0.6, port 3128, FD 25.
2012/11/18 22:14:29| Accepting ICP messages at 0.0.0.0, port 3130, FD 26.
2012/11/18 22:14:29| HTCP Disabled.
2012/11/18 22:14:29| Ready to serve requests.
2012/11/18 22:14:29| Done reading /opt/squid3/var/cache swaplog (0 entries)
2012/11/18 22:14:29| Finished rebuilding storage from disk.
2012/11/18 22:14:29| 0 Entries scanned
2012/11/18 22:14:29| 0 Invalid entries.
2012/11/18 22:14:29| 0 With invalid flags.
2012/11/18 22:14:29| 0 Objects loaded.
2012/11/18 22:14:29| 0 Objects expired.
2012/11/18 22:14:29| 0 Objects cancelled.
2012/11/18 22:14:29| 0 Duplicate URLs purged.
2012/11/18 22:14:29| 0 Swapfile clashes avoided.
2012/11/18 22:14:29| Took 0.02 seconds ( 0.00 objects/sec).
2012/11/18 22:14:29| Beginning Validation Procedure
2012/11/18 22:14:29| WARNING: redirector #1 (FD 9) exited
2012/11/18 22:14:29| WARNING: redirector #2 (FD 10) exited
2012/11/18 22:14:29| WARNING: redirector #3 (FD 11) exited
2012/11/18 22:14:29| WARNING: redirector #4 (FD 12) exited
2012/11/18 22:14:29| Too few redirector processes are running
FATAL: The redirector helpers are crashing too rapidly, need help!
Squid Cache (Version 3.0.STABLE20-20091201): Terminated abnormally.
CPU Usage: 0.112 seconds = 0.032 user + 0.080 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
total space in arena: 2944 KB
Ordinary blocks: 2857 KB 6 blks
Small blocks: 0 KB 0 blks
Holding blocks: 1772 KB 8 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 86 KB
Total in use: 4629 KB 157%
Total free: 86 KB 3%
The "permission denied" area is where I have been focusing my attention with no luck. The following is what I've tried.
- Chmod'ing the
/opt/squidguard/bin
folder to 777 - Changing the user that squidguard runs under to root / nobody / www-data / squid3
- Tried changing ownership of the
/opt/squidguard/bin
folder to all names listed above after assigning that user to run with squid.
Any help with this would be greatly appreciated.
© Server Fault or respective owner