AW: [squid-users] Squid with SquidGuard

From: <Werner.Rost@dont-contact.us>
Date: Fri, 27 Jan 2006 08:38:38 +0100

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
 
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: Brian Phillips [mailto:brian.phillips@gmx.net]
>>Gesendet: Freitag, 27. Januar 2006 00:16
>>An: 'Mark Sansome'
>>Cc: squid-users@squid-cache.org
>>Betreff: RE: [squid-users] Squid with SquidGuard
>>
>>
>>> Actually No. (groan...)
>>>
>>> 2006/01/26 22:00:56| helperOpenServers: Starting 5 'squidGuard'
>>> processes 2006/01/26 22:00:56| WARNING: Cannot run
>>> '/usr/local/squidguard/bin/squidGuard' process. 2006/01/26 22:00:56|
>>> WARNING: Cannot run '/usr/local/squidguard/bin/squidGuard' process.
>>> 2006/01/26 22:00:56| WARNING: Cannot run
>>> '/usr/local/squidguard/bin/squidGuard' process. 2006/01/26 22:00:56|
>>> WARNING: Cannot run '/usr/local/squidguard/bin/squidGuard' process.
>>> 2006/01/26 22:00:56| WARNING: Cannot run
>>> '/usr/local/squidguard/bin/squidGuard' process.
>>>
>>> (From cache.log after reboot with "/usr/sbin/squid" in rc.local)
>>>
>>> Sigh...
>>>
>>> Mark
>>
>>Can you also try it with your service squid start or whatever
>>init script you have available?
>>
>>Brian
>>
>>
Received on Fri Jan 27 2006 - 00:38:47 MST

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