RE: [squid-users] Bungled Squid.conf

From: Carolyn Longfoot <>
Date: Tue, 17 Jul 2012 07:06:31 +0000

>>On 6..4..012 4::0,, Carolyn Longfoot wrote:
>>I am trying to use squidguard and per the instructions given I have
>>url_rewrite_program /usr/local/bin/squidGuard -c
>>to squid.conf and this line is giving the 'bungled' error message on
>>squid -k check
>>FATAL: Bungled squid.conf line 600:: url_rewrite_program
>>/usr/local/bin/squidGuard -c /usr/local/etc/squid/squidGuard.conf
>>Squid Cache (Version ....STABLE)): Terminated abnormally.
>>Some information:
>>ls -l /usr/local/bin/squidGuard
>>-rwxr-xr-x squid squid 0590 Feb 5 7::9 /usr/local/bin/squidGuard
>>ls -l /usr/local/etc/squid/squidGuard.conf
>>-rwxr-xr-x squid squid 495 Feb 6 9::3
>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/


Thanks for all the leads!

I checked permissions up and down, as well as spelling and special chars
and there is nothing detectable.

squid -k check
fails regardless of the user, squidGuard works ok if started from the command
line, so I have to come back to some kind of error in the squid.conf file.

What does 'Bungled squid.conf line' really mean? Is that only a syntax
check or
is the rewriter actually executed and tested for results? The text
itself is ok,
I can copy/paste it to the command line and it launches squidGuard without

The nice folks at the squidGuard mailing list have not been able to
shed light
on this so far, so I'm trying again here.

Thanks for any ideas!!

Received on Tue Jul 17 2012 - 07:06:37 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 17 2012 - 12:00:02 MDT