AW: AW: [squid-users] Squid with SquidGuard

From: <Werner.Rost@dont-contact.us>
Date: Mon, 30 Jan 2006 10:23:44 +0100

You didn't forget to create the entry S99squid in /sbin/rc3.d using the command "ln -s ..."?

Werner Rost

>>-----Ursprüngliche Nachricht-----
>>Von: Mark Sansome [mailto:msansome@troodos.demon.co.uk]
>>Gesendet: Freitag, 27. Januar 2006 19:13
>>An: Rost Werner ZFBE GMT-ISN
>>Cc: brian.phillips@gmx.net; squid-users@squid-cache.org; Mark Elsen
>>Betreff: Re: AW: [squid-users] Squid with SquidGuard
>>
>>
>>Werner.Rost@zf.com wrote:
>>
>>>Suqid and squidguard work fine for me.
>>>
>>>There are 2 scripts:
>>>
>>>/sbin/init.d/squid (yep, OS is Tru64):
>>>
>>> case $1 in
>>>
>>> 'start')
>>> echo "Starting SQUID ..."
>>> nohup /sbin/init.d/squid_start
>>> ;;
>>> <snip>
>>>
>>>and /sbin/init.d/squid_start:
>>>
>>> #!/bin/sh
>>> su - squid -c '/usr/local/squid/sbin/squid -D'
>>>
>>>
>>>and an entry in /sbin/rc3.d:
>>>
>>> lrwxrwxrwx 1 root bin 15 Aug 20 2002
>>S99squid -> ../init.d/squid
>>>
>>>
>>>Voila, this works. After a reboot squid and squidguard are running.
>>>
>>>Hope this helps a little bit.
>>>
>>>Werner Rost
>>>GMT-FIR - Netzwerk
>>>
>>>
>>Well I had high hopes for this. I worked through it
>>step-by-step changing the relevant file locations to match my
>>system - even putting in some "echo" comments to trace where
>>I was and, Hey Presto! It worked.... from the command line...
>>Note: I had to change the /etc/rc.d/init.d/squid_start script
>>to read su
>>- squid --command=`/usr/sbin/squid -D` (with backticks) for
>>it to work (Although I think the -D switch is unnecessary
>>because, if I read my init.d/squid script correctly, it calls
>>/etc/sysconfig/squid which sets it as default).
>>
>>So. Now I can run "/sbin/service squid start" and squid will
>>start together with squidGuard.
>>
>>Full of hope, I rebooted (having first removed the entry from
>>/etc/rc.d/rc.local).
>>
>>No joy...
>>
>>still the same error.
>>
>>To use the vernacular - This is doing my head in!
>>
>>Thanks and best regards
>>
>>Mark
>>
>>
>>
Received on Mon Jan 30 2006 - 02:24:48 MST

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