Glad I could help! Rick
> -----Original Message----- > From: Zack Lawson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 25, 2003 9:04 PM > To: Rick Matthews > Subject: RE: Trouble starting squidGuard through squid > > > Thank you very much ... that was the problem :) > > -Zack > > On Tue, 2003-03-25 at 18:55, Rick Matthews wrote: > > Make sure that localhost (127.0.0.1) on that box is able to talk > > to squid (not blocked by your firewall). > > > > Rick > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] Behalf Of Zack Lawson > > > Sent: Tuesday, March 25, 2003 7:48 PM > > > To: [EMAIL PROTECTED] > > > Subject: Trouble starting squidGuard through squid > > > > > > > > > I am having quite a bit of trouble getting squidGuard to start through > > > squid. I am able to start squidGuard manually without any trouble. All > > > directories and files for squid and squid guard are owned by > > > squid:squid. I am running squid as user squid, and my > > > "cache_effective_user" and "cache_effective_group" are set to squid. > > > > > > While squid is starting up, it hangs for about 5 minutes when it gets to > > > the "helperOpenServers: Starting 1 'squidGuard' processes" part. Then > > > its tells me "WARNING: Cannot run '/usr/local/bin/squidGuard' process." > > > Then squid loads normally, but without squidGuard. > > > > > > I am running squid in "transparent" mode and without caching ... proxy > > > only. Would this have any effect? > > > > > > The system and version information is as follows : > > > > > > OS: Red Hat Linux release 7.1 (Seawolf) > > > Kernel: 2.4.17 > > > squid: squid-2.5.STABLE2 > > > squidGuard: squidGuard-1.2.0 > > > BerkleyDB: db-3.2.9 > > > > > > The redirector line in my squid.conf is as follows: > > > redirect_program /usr/local/bin/squidGuard -c > > > /usr/local/squid/etc/squidGuard.conf > > > > > > Following is an section from the squid log on the server: > > > > > > Mar 25 17:01:00 orbital squid[3746]: Squid Parent: child process 3748 > > > started > > > Mar 25 17:01:00 orbital squid[3748]: Starting Squid Cache version > > > 2.5.STABLE2 for i686-pc-linux-gnu... > > > Mar 25 17:01:00 orbital squid[3748]: Process ID 3748 > > > Mar 25 17:01:00 orbital squid[3748]: With 1024 file descriptors > > > available > > > Mar 25 17:01:00 orbital squid[3748]: Performing DNS Tests... > > > Mar 25 17:01:00 orbital squid[3748]: Successful DNS name lookup tests... > > > Mar 25 17:01:00 orbital squid[3748]: DNS Socket created at 0.0.0.0, port > > > 1611, FD 5 > > > Mar 25 17:01:00 orbital squid[3748]: Adding nameserver XXX.XXX.XXX.XXX > > > from /etc/resolv.conf > > > Mar 25 17:01:00 orbital squid[3748]: Adding nameserver XXX.XXX.XXX.XXX > > > from /etc/resolv.conf > > > Mar 25 17:01:00 orbital squid[3748]: Adding nameserver XXX.XXX.XXX.XXX > > > from /etc/resolv.conf > > > Mar 25 17:01:00 orbital squid[3748]: Adding nameserver XXX.XXX.XXX.XXX > > > from /etc/resolv.conf > > > Mar 25 17:01:00 orbital squid[3748]: helperOpenServers: Starting 1 > > > 'squidGuard' processes > > > Mar 25 17:04:09 orbital squid[3748]: WARNING: Cannot run > > > '/usr/local/bin/squidGuard' process. > > > Mar 25 17:04:09 orbital squid[3748]: Unlinkd pipe opened on FD 10 > > > Mar 25 17:04:09 orbital squid[3748]: Swap maxSize 0 KB, estimated 0 > > > objects > > > Mar 25 17:04:09 orbital squid[3748]: Target number of buckets: 0 > > > Mar 25 17:04:09 orbital squid[3748]: Using 8192 Store buckets > > > Mar 25 17:04:09 orbital squid[3748]: Max Mem size: 8192 KB > > > Mar 25 17:04:09 orbital squid[3748]: Max Swap size: 0 KB > > > Mar 25 17:04:09 orbital squid[3748]: Using Least Load store dir > > > selection > > > Mar 25 17:04:09 orbital squid[3748]: Set Current Directory to > > > /usr/local/squid/var/cache > > > Mar 25 17:04:10 orbital squid[3748]: Loaded Icons. > > > Mar 25 17:04:10 orbital squid[3748]: Accepting HTTP connections at > > > 0.0.0.0, port 3128, FD 9. > > > Mar 25 17:04:10 orbital squid[3748]: WCCP Disabled. > > > Mar 25 17:04:10 orbital squid[3748]: Ready to serve requests. > > > Mar 25 17:04:10 orbital squid[3748]: Finished rebuilding storage from > > > disk. > > > Mar 25 17:04:10 orbital squid[3748]: 0 Entries scanned > > > Mar 25 17:04:10 orbital squid[3748]: 0 Invalid entries. > > > Mar 25 17:04:10 orbital squid[3748]: 0 With invalid flags. > > > Mar 25 17:04:10 orbital squid[3748]: 0 Objects loaded. > > > Mar 25 17:04:10 orbital squid[3748]: 0 Objects expired. > > > Mar 25 17:04:10 orbital squid[3748]: 0 Objects cancelled. > > > Mar 25 17:04:10 orbital squid[3748]: 0 Duplicate URLs purged. > > > Mar 25 17:04:10 orbital squid[3748]: 0 Swapfile clashes avoided. > > > Mar 25 17:04:10 orbital squid[3748]: Took 0.0 seconds ( 0.0 > > > objects/sec). > > > Mar 25 17:04:10 orbital squid[3748]: Beginning Validation Procedure > > > Mar 25 17:04:10 orbital squid[3748]: Completed Validation Procedure > > > Mar 25 17:04:10 orbital squid[3748]: Validated 0 Entries > > > Mar 25 17:04:10 orbital squid[3748]: store_swap_size = 0k > > > Mar 25 17:04:10 orbital squid[3748]: storeLateRelease: released 0 > > > objects > > > Mar 25 17:19:01 orbital squid[3748]: Preparing for shutdown after 0 > > > requests > > > Mar 25 17:19:01 orbital squid[3748]: Waiting 30 seconds for active > > > connections to finish > > > Mar 25 17:19:01 orbital squid[3748]: FD 9 Closing HTTP connection > > > Mar 25 17:19:01 orbital squid[3748]: Shutting down... > > > Mar 25 17:19:01 orbital squid[3748]: Closing unlinkd pipe on FD 10 > > > Mar 25 17:19:01 orbital squid[3748]: storeDirWriteCleanLogs: Starting... > > > Mar 25 17:19:01 orbital squid[3748]: Finished. Wrote 0 entries. > > > Mar 25 17:19:01 orbital squid[3748]: Took 0.0 seconds ( 0.0 > > > entries/sec). > > > Mar 25 17:19:01 orbital squid[3748]: Squid Cache (Version 2.5.STABLE2): > > > Exiting normally. > > > Mar 25 17:19:01 orbital squid[3746]: Squid Parent: child process 3748 > > > exited with status 0 > > > > > > I would include logs from squidGuard itself, but when started through > > > squid it does not log at all. > > > > > > Any help would be greatly appreciated. > > > > > > -- > > > Zack Lawson <[EMAIL PROTECTED]> > > > Einstein Industries Inc. > > > > > > > -- > Zack Lawson <[EMAIL PROTECTED]> > Einstein Industries Inc. > >
