Re: [squid-users] Squid with SquidGuard

From: Mark Sansome <msansome@dont-contact.us>
Date: Thu, 12 Jan 2006 22:51:12 +0000

Brian E. Conklin wrote:

>>-----Original Message-----
>>From: Mark Sansome [mailto:msansome@troodos.demon.co.uk]
>>Sent: Thursday, January 12, 2006 2:21 PM
>>To: squid-users@squid-cache.org
>>Subject: [squid-users] Squid with SquidGuard
>>
>>
>>Hello chaps,
>>
>>I know that this is a Squid mailing list and not the
>>SquidGuard list - by I have exhausted the help of the good
>>folks on the SquidGuard list...
>>
>>I actually have Squid up and running and am very happy with it :)
>>however, I *do* want to use squidGuard with it too.
>>
>>Squid runs on a FC4 machine dealing with the proxy requests
>>of my small home network.
>>
>>I have tried installing squidGuard from RPM, Yum, and by
>>installing from source. All fail to work with squid.
>>
>>I have tried squidGuard with the simplest of SquidGuard.conf files :
>>
>>logdir /var/log/squidguard
>>acl {
>> default {
>> pass all
>> }
>>}
>>
>>and the command:
>># /usr/bin/squidGuard -d
>>2006-01-07 23:54:38 [28284] squidGuard 1.2.0 started (1136678078.397)
>>2006-01-07 23:54:38 [28284] squidGuard ready for requests
>>(1136678078.400)
>>
>>seems to show that squidGuard is happy...
>>
>>However, as soon as I put the line:
>>redirect_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf
>>into squid.conf everything goes wrong.
>>
>>In /var/log/squid/cache.log I find the following:
>>2006/01/07 23:51:03| helperOpenServers: Starting 5
>>'squidGuard' processes
>>2006/01/07 23:51:03| WARNING: Cannot run
>>'/usr/bin/squidGuard' process.
>>2006/01/07 23:51:03| WARNING: Cannot run
>>'/usr/bin/squidGuard' process.
>>2006/01/07 23:51:03| WARNING: Cannot run
>>'/usr/bin/squidGuard' process.
>>2006/01/07 23:51:03| WARNING: Cannot run
>>'/usr/bin/squidGuard' process.
>>2006/01/07 23:51:03| WARNING: Cannot run
>>'/usr/bin/squidGuard' process.
>>
>>No matter what I do I cannot seem to get SquidGuard to start
>>from within
>>Squid.
>>
>>What am I doing wrong?
>>
>>Can I get any more detailed output as to *exactly* why Squid
>>can't run squidGuard?
>>
>>Any ideas?
>>
>>
>
>I found much more help (including a better howto and trouble shooting
>section) at http://www.maynidea.com/squidguard/
>
>Brian E. Conklin, MCP+I, MCSE
>Director of Information Services
>voice: 360-427-3423
>fax: 360-427-9599
>
>
>
>>Thanks in advance
>>
>>Mark
>>
>>
>>
>>
>=
>
Brian C.

Thanks Brian,

That was one of the many resources I used. I too found it useful and
when I tried installing from source (last resort) I followed his
step-by-step guide *exactly* - Still didn't work...

Brian P.

Thanks Brian,

Brian Phillips wrote:

Do:

# ls -l /usr/bin/squidGuard

And tell us what the permissions are (paste em here.)

Since I wrote my message (it's an edited form of the one I sent to the
squidGuard mailing list) I have uninstalled that (RPM) version of
squidGuard and installed from source. The current version is therefore
in /usr/local/squidguard/bin/

It gives me:
[root@localhost mark]# ls -la /usr/local/squidguard/bin/squidGuard
-rwxr-xr-x 1 squid squid 731596 Jan 11 14:18
/usr/local/squidguard/bin/squidGuard

I have tried changing ownerships and permissions of every file I can
think of and followed every guide I can find...

Any help gratefully received...

Thanks again.

Mark

Received on Thu Jan 12 2006 - 15:51:23 MST

This archive was generated by hypermail pre-2.1.9 : Wed Feb 01 2006 - 12:00:01 MST