BUGREPORT: SQL module fails on every CISCO reboot

Alan DeKok aland at ox.org
Fri Jun 3 18:50:07 CEST 2005

"Alexander Voropay" <alec at artcoms.ru> wrote:
>  As far as I understand, SQL module segfaults when SQL
> connection pool is over. Seems, pooling mechanism is bogus.

  Use gdb, or submit patches.  No one else has seen this problem, so
it's a little difficult for others to fix it.

  Or, use the "rlm_sql_log" module from CVS.  It logs the SQL queries
to a file, which should be able to handle any load.  A Perl script
then picks them up out of the file, and writes them to SQL.

>  Is there any way to avoid insertion of this empty records ?

  Don't insert them.  You should be able to configure the server to
not call the SQL module for empty records.

  Alan DeKok.

More information about the Freeradius-Devel mailing list