> "Todd T. Fries" <[EMAIL PROTECTED]> wrote:
> > It seems to happen when the database is doing a hot-backup and is
> > unresponsive/slow for a few (10-15) minutes.
> 
> > Mon Aug 19 00:16:47 2002 : Error: rlm_sql:  There are no DB handles to use!
> > Mon Aug 19 00:17:37 2002 : Error: CHILD: exit on signal (11)
> 
>   Hmm.. that's an unchecked de-referencing of a NULL pointer
> somewhere.  Without more information, it's hard to know where.
> 

    This is something that we have been dealing with as well.  Whenever
the database becomes unavailable, (once it was a switch that died, once 
it was a hard drive, etc..) the radius server segfaults.  Sometimes it
does so immediately, and sometimes when the connection is 
re-established.  This has been the case with version 0.4, 0.5 and 0.6 
and some CVS versions in between.  I never did have enough time to track 
it down, so we've just been running a keepalive script so that when it 
dies, it comes back up.  I could (when doing testing before) reproduce 
this at will by bringing the connection to the database down, and 
sending queries to the radius server.  This was the case with both the 
postgres and oracle modules anyway.

    Hope that helps,
      Josh Wilsdon

-- 
Josh Wilsdon <[EMAIL PROTECTED]> Programmer Analyst
Wizard IT Services - http://www.wizard.ca 
Linux Support Specialist - http://linuxmagic.com
Unix Administration, Website Hosting, Network Services, Programming
(604) 589-0037 Beautiful British Columbia, Canada
LinuxMagic is a TradeMark of Wizard Tower TechnoServices Ltd.
--------------------------------------------------------
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to which
they are addressed.  If you have received this email in error please
notify the system manager.  Please note that any views or opinions
presented in this email are solely those of the author and do not
necessarily represent those of the company.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to