<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=KOI8-R" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<pre wrap="">Hello !<span class="moz-txt-citetags">
</span><span class="moz-txt-citetags">> </span> > Sun Apr 23 10:08:22 2006 : Error: rlm_sql (pgsql-voip): Failed to<span
class="moz-txt-citetags"> </span>connect DB handle #0
<span class="moz-txt-citetags"></span><span class="moz-txt-citetags">> </span> > Sun Apr 23 10:08:22 2006 : Debug: rlm_sql (pgsql-voip): starting 1
<span class="moz-txt-citetags">> </span> > Sun Apr 23 10:08:22 2006 : Debug: rlm_sql (pgsql-voip): starting 2
<span class="moz-txt-citetags">> </span> > Sun Apr 23 10:08:22 2006 : Debug: rlm_sql (pgsql-voip): starting 3
<span class="moz-txt-citetags">> </span> > Sun Apr 23 10:08:22 2006 : Debug: rlm_sql (pgsql-voip): starting 4
<span class="moz-txt-citetags">> </span> > Sun Apr 23 10:08:22 2006 : Debug: rlm_sql (pgsql-voip): Failed to
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>connect to any SQL server.
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span> > Sun Apr 23 10:08:22 2006 : Debug: Module: Instantiated sql (pgsql-voip)
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>then it will not available all the time until we reload FreeRADIUS daemon -
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>it not ever try to reconnect:
<span class="moz-txt-citetags">> </span> > Sun Apr 23 10:17:51 2006 : Debug: radius_xlat: 'INSERT into
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>radoriginate (RadiusServerName, UserName, NASIPAddress,
<span class="moz-txt-citetags">> </span>AcctStartTime, AcctStopTime, Cal
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span> > Sun Apr 23 10:17:51 2006 : Debug: rlm_sql (pgsql-voip): Ignoring<span
class="moz-txt-citetags"></span><span class="moz-txt-citetags"> </span>unconnected handle 4..
<span class="moz-txt-citetags"></span><span class="moz-txt-citetags">> </span> > Sun Apr 23 10:17:51 2006 : Debug: rlm_sql (pgsql-voip): Ignoring<span
class="moz-txt-citetags"> </span>unconnected handle 3..<span
class="moz-txt-citetags">
> </span>> Sun Apr 23 10:17:51 2006 : Debug: rlm_sql (pgsql-voip): Ignoring<span
class="moz-txt-citetags"> </span>unconnected handle 2..
<span class="moz-txt-citetags"></span><span class="moz-txt-citetags">> </span> > Sun Apr 23 10:17:51 2006 : Debug: rlm_sql (pgsql-voip): Ignoring<span
class="moz-txt-citetags"> </span>unconnected handle 1..
<span class="moz-txt-citetags"></span><span class="moz-txt-citetags">> </span> > Sun Apr 23 10:17:51 2006 : Debug: rlm_sql (pgsql-voip): Ignoring<span
class="moz-txt-citetags"> </span>unconnected handle 0..
<span class="moz-txt-citetags">></span><span class="moz-txt-citetags"> </span> > Sun Apr 23 10:17:51 2006 : Info: rlm_sql (pgsql-voip): There are no<span
class="moz-txt-citetags"></span><span class="moz-txt-citetags"> </span>DB handles to use! skipped 5, tried to connect 0
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>Why FreeRADIUS do not try to reconnect during sql command must be
<span class="moz-txt-citetags">> </span>proceeded ?
<span class="moz-txt-citetags">> </span>Is it possible to fix via configuration parameter or its hard-coded bug ?
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>P.S. I had maid perl-script to recover radius cdrs into DB from
<span class="moz-txt-citetags">> </span>standard FreeRADIUS detail-* files.
<span class="moz-txt-citetags">> </span> If any interesting in it, I'll public it on the web.
</pre>
<pre wrap=""><!---->Please help to resolve this bug...
> I would be interested, however there is already a perl script that does
> exactly that called h323detail2db.pl in src/billing/
> It is specific to Cisco h323 VSA records and my pqsl-voip schema but it can be
> trivially changed to work with "standard" records.
> If you give me a look at your script, maybe we can combine our work.
<a class="moz-txt-link-freetext" href="http://www.onlinebilling.ru/freeradius/rad-details/radvoiplogs2db.pl">http://www.onlinebilling.ru/freeradius/rad-details/radvoiplogs2db.pl</a>
I think this is much pretty script - it's easy to configure to different
scheme.
It's only have no any preparations for open Cisco-AVPair since my
FR parse all needed attributes self, but it can be easily done...
--
Ruslan A Dautkhanov
</pre>
</body>
</html>