Now I must start showing my ignorance :)

This is the output of my cache.log with debug=ALL,9:

2002/11/11 18:53:51| helperOpenServers: Starting 4 'squidGuard'
processes
2002/11/11 18:53:52| comm_open: FD 6 is a new socket
2002/11/11 18:53:52| fd_open FD 6 squidGuard
2002/11/11 18:53:52| comm_open: FD 7 is a new socket
2002/11/11 18:53:52| fd_open FD 7 squidGuard
2002/11/11 18:53:52| ipcCreate: prfd FD 7
2002/11/11 18:53:52| ipcCreate: pwfd FD 7
2002/11/11 18:53:52| ipcCreate: crfd FD 6
2002/11/11 18:53:52| ipcCreate: cwfd FD 6
2002/11/11 18:53:52| ipcCreate: FD 7 sockaddr 127.0.0.1:54439
2002/11/11 18:53:52| ipcCreate: FD 6 sockaddr 127.0.0.1:54438
2002/11/11 18:53:52| ipcCreate: FD 6 listening...
2002/11/11 18:53:52| leave_suid: PID 19204 called
2002/11/11 18:53:52| leave_suid: PID 19204 giving up root priveleges
forever
2002/11/11 18:53:52| ipcCreate: calling accept on FD 6
2002/11/11 18:53:52| comm_close: FD 6
2002/11/11 18:53:52| commCallCloseHandlers: FD 6
2002/11/11 18:53:52| fd_close FD 6 squidGuard
2002/11/11 18:53:52| connect FD 7: (110) Connection timed out
2002/11/11 18:53:52| comm_close: FD 7
2002/11/11 18:53:52| commCallCloseHandlers: FD 7
2002/11/11 18:53:52| fd_close FD 7 squidGuard
2002/11/11 18:53:52| WARNING: Cannot run
'/usr/local/squid/squidGuard/bin/squidGuard' process.

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?


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