Trying to use sql module

Matthew McTague matthew.mctague at reliance.net.nz
Fri May 31 13:23:05 CEST 2019


Hi,

When I soft link raddb/mods-available/sql to raddb/mods-enabled/sql, and comment out $INCLUDE mods-enabled/sql in raddb/radiusd.conf, I get the below debug output, ending in a segmentation fault.

The only other changes I have made since compiling were to set the dialect and database connection details in raddb/mods-available/sql.

I've read each file that I've modified, and I'm unsure what is causing this issue.
I'm using git to manage my changes, so can go back to the very beginning easily if I need to.

Debug output:

Info  : FreeRADIUS Version 4.0.0
Info  : Copyright 1999-2019 The FreeRADIUS server project and contributors
Info  : There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
Info  : PARTICULAR PURPOSE
Info  : You may redistribute copies of FreeRADIUS under the terms of the
Info  : GNU General Public License
Info  : For more information about these matters, see the file named COPYRIGHT
Info  : Starting - reading configuration files ...
Debug : Including dictionary file "/etc/freeradius/raddb/dictionary"
Debug : including configuration file /etc/freeradius/raddb/radiusd.conf
Debug : including configuration file /etc/freeradius/raddb/clients.conf
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/sql
Debug : including configuration file /etc/freeradius/raddb/mods-config/sql/driver/mysql
Debug : including configuration file /etc/freeradius/raddb/mods-config/sql/main/mysql/queries.conf
Debug : Including files in directory "/etc/freeradius/raddb/mods-enabled/"
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/always
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/attr_filter
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/cache_eap
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/chap
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/client
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/delay
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/detail
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/detail.log
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/digest
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/dhcpv4
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/echo
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/escape
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/exec
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/expiration
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/expr
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/files
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/linelog
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/logintime
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/mschap
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/ntlm_auth
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/pap
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/passwd
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/radius
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/radutmp
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/soh
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/sradutmp
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/stats
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/unix
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/unpack
Debug : including configuration file /etc/freeradius/raddb/mods-enabled/utf8
CAUGHT SIGNAL: Segmentation fault
Backtrace of last 12 frames:
/usr/local/lib/libfreeradius-util.so(fr_fault+0xe8)[0x7fe35056e6ec]
/lib64/libpthread.so.0(+0xf5d0)[0x7fe34edc25d0]
/lib64/libc.so.6(fgets+0x1b)[0x7fe34ea5483b]
/usr/local/lib/libfreeradius-server.so(+0x15990)[0x7fe350c40990]
/usr/local/lib/libfreeradius-server.so(+0x18216)[0x7fe350c43216]
/usr/local/lib/libfreeradius-server.so(+0x165dc)[0x7fe350c415dc]
/usr/local/lib/libfreeradius-server.so(+0x18216)[0x7fe350c43216]
/usr/local/lib/libfreeradius-server.so(cf_file_read+0x23d)[0x7fe350c434b0]
/usr/local/lib/libfreeradius-server.so(main_config_init+0x42c)[0x7fe350c62c8d]
radiusd(main+0x95f)[0x404982]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7fe34ea083d5]
radiusd[0x403e09]
No panic action set
_EXIT(139) CALLED src/lib/util/debug.c[921].  Last error was: Not built with support for LSAN interface

Warm Regards,


Matthew McTague
Head of Infrastructure, Reliance Networks
d. +64 3 222 6013
t. 0800 483 882 (+64 3 683 9090)
Website |  
Service Desk
 |  
Internet Services
Reliance Networks Ltd accepts no liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image583822.png
Type: image/png
Size: 22286 bytes
Desc: image583822.png
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20190531/b3b60238/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image575328.png
Type: image/png
Size: 462 bytes
Desc: image575328.png
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20190531/b3b60238/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image949980.png
Type: image/png
Size: 556 bytes
Desc: image949980.png
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20190531/b3b60238/attachment-0005.png>


More information about the Freeradius-Users mailing list