You may check squidguard at the commandline using a little script like this:
#!/bin/sh
#
SG_HOME=/usr/local/squidGuard
SG=/usr/local/bin/squidGuard
SG_CONF=$SG_HOME/etc/squidguard.conf
#
LD_LIBRARY_PATH=/usr/local/BerkeleyDB.4.0/lib
export LD_LIBRARY_PATH
echo "http://www.google.de 10.23.20.134/- - GET" | \
$SG -c $SG_CONF -d
Mit freundlichem Gru�/Yours sincerely
Werner Rost
GM-FIR - Netzwerk
ZF Boge Elastmetall GmbH
Friesdorfer Str. 175, 53175 Bonn, Deutschland/Germany
Telefon/Phone +49 228 3825 - 420
Telefax/Fax +49 228 3825 - 398
werner.rost@zf.com
-----Urspr�ngliche Nachricht-----
Von: Hendrik Voigtl�nder [mailto:hendrik@voigtlaenders.net]
Gesendet: Donnerstag, 25. November 2004 22:52
An: Yong Bong Fong
Cc: squid-users@squid-cache.org
Betreff: Re: [squid-users] FATAL: redirect_program /usr/bin/squidguard: (13)
Permission denied
Yong Bong Fong wrote:
>
> heres the permission for all the squidguard files on my computer:
>
> -rw-r--r-- 1 nobody nobody 388 Nov 24 16:52 squidGuard.log drwxr-xr-x
> 12 bfyong bfyong 4096 Dec 25 2002 de-blacklists (folder with all the
> urls, domains for squidguard.log)
Check the permission of the files inside the blacklist folder, the
db-files must be writable by the squid-user (can anybody explain why?)
> squid 3728 11.2 1.2 8120 4732 ? S 08:29 0:00 (squid) -D
> squid 3729 0.0 0.0 2492 276 ? Ss 08:29 0:00 (unlinkd)
> there was absolutely no program for squid to work before I added the
> redirect_program configuration, eveything failed after the sentence was
> added
Try to start squidGuard on the commandline as the user squid, there is
an option to log everything to stdout (sorry, I can't remember and I am
not in the office at the moment) - check the docs.
If your are unable to start squidGuard as the squid-user at the
commandline there is no use to try this inside the squid.conf.
Regards, Hendrik Voigtl�nder
Received on Fri Nov 26 2004 - 00:12:54 MST
This archive was generated by hypermail pre-2.1.9 : Wed Dec 01 2004 - 12:00:02 MST