Mark Shearar wrote:
> 
> Is it correct that it's binding to localhost? There are a total of 20
> routable IP's for it to choose from on the box. Could that be the
> problem?

I don't know if it is correct or not, but that's what mine does and 
it seems to be working fine. :)

> The entire dir of squidGuard is owned by proxy:proxy and permissions
> are set to 777 (not very safe I know). 

What about the ownership of the log files and database files?

> If I su to proxy and copy and paste the relevant redirector line
> to my command prompt (ie to verify paths etc), squidGuard works.  

Did you use 'su proxy' or 'su - proxy'? 

'su - proxy' will give you a login shell with the full user 
environment for user "proxy".

'su proxy' will leave you with the environment of the user prior to 
the su, probably root.

Run your test again after using 'su - proxy'. You can add the -d 
switch to get the log messages written back to your screen. The format
would be:
'/where/ever/squidGuard -c /some/where/else/squidGuard.conf -d'

Run 'which squidGuard' and make sure that the squidGuard binary is 
really where you think it is.

I went back through the archive and this problem has been mentioned
here 3 times in the last two and a half years. But there is never any
mention of what the exact problem turned out to be. We need to make 
sure that we post the fix back to the list once it is discovered.

Rick Matthews



> 
> 
> On Mon, 2002-11-11 at 19:01, [EMAIL PROTECTED] wrote:
> > Let's add more debugging level to squid.conf (ie debug_options ALL, 9 )
> > to see what else cache.log tell about " helpOpenServer " error .
> > 
> > Quoting Mark Shearar <[EMAIL PROTECTED]>:
> > 
> > > Cache_effective user and group of squid is proxy.  The entire dir of
> > > squidGuard is owned by proxy:proxy and permissions are set to 777 (not
> > > very safe I know).  If I su to proxy and copy and paste the relevant
> > > redirector line to my command prompt (ie to verify paths etc),
> > > squidGuard works.  Obviously I'm missing something but I can't think
> > > where. The path must be correct otherwise the above wouldn't work, and
> > > at 777 permissions shouldn't be a problem, surely?
> > > 
> > > On Sun, 2002-11-10 at 19:49, [EMAIL PROTECTED] wrote:
> > > > So let's re-check squidGuard path, owner+group permission .
> > > > 
> > > > Quoting Mark Shearar <[EMAIL PROTECTED]>:
> > > > 
> > > > > 1. Hmmmm, never noticed this before, cache.log says the following:
> > > > > 
> > > > > 2002/11/09 16:33:28 helperOpenServers: Starting 4 'squidGuard'
> > > processes
> > > > > 2002/11/09 16:33:28 WARNING: Cannot run
> > > > > '/usr/local/squid/squidGuard/bin/squidGuard' process
> > > > > 
> > > > > 2. redirect_children = 4 and redirector_access is undefined (ie using
> > > > > the default ( I hope!)
> > > > > 
> > > > > 3. SquidGuard's log file shows no entries when I try load it from
> > > > > squid.  When I load directly from the command line however, the log
> > > says
> > > > > it's ready to receive requests.
> > > > > 
> > > > > I'm going to carry on plugging away with the cache.log to help (never
> > > > > bothered looking there before :) ) but please keep the help flowing :)
> > > > > 
> > > > > On Sat, 2002-11-09 at 20:13, [EMAIL PROTECTED] wrote:
> > > > > > What does cache.log said ?
> > > > > > Look for the line "helpOpenServer ......"  .
> > > > > > Did you configure redirect_children ?
> > > > > > What does squidguard's log file said when you starting it from squid
> > > ?
> > > > > > 
> > > > > > Quoting Mark Shearar <[EMAIL PROTECTED]>:
> > > > > > 
> > > > > > > Hi, I've been struggling with this for the last couple months now
> > > on
> > > > > and
> > > > > > > off and am about tearing my hair out so help would be greatly
> > > > > > > appreciated.  My squid acts fine and is currently on version 2.5
> > > STABLE
> > > > > > > 1.  SquidGuard is 1.2.0 with BerkeleyDB 3.2.9.
> > > > > > > 
> > > > > > > In the squid.conf the redirector line is:
> > > > > > > redirect_program /usr/local/squid/squidGuard/bin/squidGuard -c
> > > > > > > /usr/local/squid/squidGuard/squidGuard.conf
> > > > > > > 
> > > > > > > THE PROBLEM:
> > > > > > > Squid is not, repeat not, starting squidGuard.  The owner and group
> > > of
> > > > > > > the entire squidGuard directory is proxy, which is the same as the
> > > > > > > effective user and group of squid.  If I start squidGuard from the
> > > > > > > command prompt it starts fine and the log file shows it's 
> > > > > > > ready for requests.
> > > > > > > 
> > > > > > > I'm not sure where the problem lies anymore.  Squid works fine
> > > without
> > > > > > > the redirect line in, but blocks everything with the redirect line
> > > > > > > inserted (as there's no squidGuard process running to redirect to!)
> > > > > > > 
> > > > > > > Please, please, for the sake of my rapidly balding head, any help
> > > will
> > > > > > > be appreciated!
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > 
> > > > > 
> > > > 
> > > > 
> > > > 
> > > 
> > > 
> > 
> > 
> > 
> 
> 
> 

Reply via email to