Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: Sudhirhk on October 12, 2009, 06:20:39 AM

Title: Squidguard issues
Post by: Sudhirhk on October 12, 2009, 06:20:39 AM
Installed squidguard according to the http://wiki.contribs.org/SquidGuard. It says after you make the changes in the content filtering from server-manager, you have to give the following commands to stop and and restart squid;
/etc/rc7.d/S90squid stop
/etc/rc7.d/S90squid start

But, when I give the /etc/rc7.d/S90squid stop command it says [failed]. And the changes I have added to the content filtering panel doesn't activate. I am thinking is this a bug with squidguard or am I doing something wrong.
Title: Re: Squidguard issues
Post by: janet on October 12, 2009, 08:43:10 AM
Sudhirhk

Try
sv t /service/squid

If that alone does not do the job then try the combination of
expand-template /etc/squid/squid.conf
sv t /service/squid

If ever you don't know the correct commands, then these will always work
signal-event post-upgrade
signal-event reboot
Title: Re: Squidguard issues
Post by: byte on October 12, 2009, 08:29:37 PM
Also check the following logs for clues as to why:

/var/log/messages
/var/log/squidguard/squidguard.log (IIRC, not at a server to check)

If nothing works then yes it sounds like a potential bug.
Title: Re: Squidguard issues
Post by: mrjhb3 on October 13, 2009, 04:04:34 AM
I'm pretty confident that there isn't a bug.  You should check your squidguard logs at /var/log/squidguard/squidGuard.log and verify that squidguard is actually running.  If yo don't see this - squidGuard ready for requests - then it's not running.  A while back shalla changed some of their categories and which broke the squidguard functionality.

I updated smeserver-squidguard which corrects this.  The new files are here - http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/jbennett/sme7/squidguard/

John