On 16.04.2012 04:40, Carolyn Longfoot wrote:
Hello,
I am trying to use squidguard and per the instructions given I have
added
url_rewrite_program /usr/local/bin/squidGuard -c
/usr/local/etc/squid/squidGuard.conf
to squid.conf and this line is giving the 'bungled' error message on
# squid -k check
FATAL: Bungled squid.conf line 2600: url_rewrite_program
/usr/local/bin/squidGuard -c /usr/local/etc/squid/squidGuard.conf
Squid Cache (Version 2.7.STABLE9): Terminated abnormally.
Some information:
# ls -l /usr/local/bin/squidGuard
-rwxr-xr-x 1 squid squid 90590 Feb 25 17:09 /usr/local/bin/squidGuard
# ls -l /usr/local/etc/squid/squidGuard.conf
-rwxr-xr-x 1 squid squid 1495 Feb 26 19:53
/usr/local/etc/squid/squidGuard.conf
Permissions seem to be okay, but does squidGuard really need the squid
user account as its owner?
Did you accidentally get any strange characters (tabs, vertical space,
carriage return etc) inside the config line?
upper/lower case problems on that binary name "squidGuard"? seems a bit
strange to have upper case G.
Is squid -k check being run with user account "squid:squid" or with
your own admin user account? global rx permission means this should not
matter, but its worth testing just in case.
Is there a SELinux or AppArmour profile preventing squid from accessing
the squidGard application or any of the path /usr/local/bin/
directories?
Amos