We are seeing occasional crashes in our production servers. We recently upgraded them to 3.0.20 (from 3.0.7) thinking that might help. See the log below from the latest crash. We use Daemontools to restart automatically. Is this something we can work-around? TIA Adrian Thu Feb 13 02:34:14 2020 : Error: ASSERT FAILED src/main/process.c[2477]: request->home_server != NULL CAUGHT SIGNAL: Aborted Backtrace of last 7 frames: /opt/freeradius-server-3.0.20/lib/libfreeradius-radius.so(fr_fault+0x115)[0x7fe1893dd6c0] /opt/freeradius-server-3.0.20/lib/libfreeradius-server.so(rad_assert_fail+0x46)[0x7fe1896400f4] /opt/freeradius-server-3.0.20/sbin/radiusd[0x441314] /opt/freeradius-server-3.0.20/sbin/radiusd[0x43f562] /opt/freeradius-server-3.0.20/sbin/radiusd[0x43aec8] /lib64/libpthread.so.0[0x3651807aa1] /lib64/libc.so.6(clone+0x6d)[0x36514e8bcd] No panic action set Thu Feb 13 02:34:14 2020 : Info: Debugger not attached Thu Feb 13 02:34:14 2020 : Warning: /opt/freeradius-server-3.0.20/etc/raddb/mods-config/sql/main/mysql/queries.conf[138]: Ignoring duplicate configuration item 'group_membership_query' Thu Feb 13 02:34:14 2020 : Info: rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked Thu Feb 13 02:34:14 2020 : Info: rlm_rest: libcurl version: libcurl/7.19.7 NSS/3.27.1 zlib/1.2.3 libidn/1.18 libssh2/1.4.2 Thu Feb 13 02:34:14 2020 : Info: rlm_sql_mysql: libmysql version: 5.1.73 Thu Feb 13 02:34:14 2020 : Info: rlm_sql (sql): Attempting to connect to database "freeradius" Thu Feb 13 02:34:14 2020 : Info: Loaded virtual server <default> Thu Feb 13 02:34:14 2020 : Info: Loaded virtual server default Thu Feb 13 02:34:14 2020 : Info: Loaded virtual server acct_mac_ip_cache_2 Thu Feb 13 02:34:14 2020 : Warning: Ignoring "ldap" (see raddb/mods-available/README.rst) Thu Feb 13 02:34:14 2020 : Info: Loaded virtual server inner-tunnel Thu Feb 13 02:34:14 2020 : Info: Loaded virtual server acct_mac_ip_cache_1 Thu Feb 13 02:34:14 2020 : Info: Ready to process requests
On Feb 13, 2020, at 4:07 AM, <adrian.p.smith@bt.com> <adrian.p.smith@bt.com> wrote:
We are seeing occasional crashes in our production servers. We recently upgraded them to 3.0.20 (from 3.0.7) thinking that might help.
See the log below from the latest crash. We use Daemontools to restart automatically.
Is this something we can work-around? ... Thu Feb 13 02:34:14 2020 : Error: ASSERT FAILED src/main/process.c[2477]: request->home_server != NULL
Try using the latest code from GitHub. It already has a patch which should fix this issue. Alan DeKok.
Hi Adrian, As Alan said, try using the latest code from Github. $ git clone https://github.com/FreeRADIUS/freeradius-server <https://github.com/FreeRADIUS/freeradius-server> $ cd freeradius-server $ ./configure —prefix=/opt/freeradius-server-3.0.x $ make; make install Or wait until the next 3.0.21 release. -- Jorge Pereira jpereira@freeradius.org
On 13 Feb 2020, at 06:07, adrian.p.smith@bt.com wrote:
We are seeing occasional crashes in our production servers. We recently upgraded them to 3.0.20 (from 3.0.7) thinking that might help.
See the log below from the latest crash. We use Daemontools to restart automatically.
Is this something we can work-around?
TIA
Adrian
Thu Feb 13 02:34:14 2020 : Error: ASSERT FAILED src/main/process.c[2477]: request->home_server != NULL
CAUGHT SIGNAL: Aborted
Backtrace of last 7 frames:
/opt/freeradius-server-3.0.20/lib/libfreeradius-radius.so(fr_fault+0x115)[0x7fe1893dd6c0]
/opt/freeradius-server-3.0.20/lib/libfreeradius-server.so(rad_assert_fail+0x46)[0x7fe1896400f4]
/opt/freeradius-server-3.0.20/sbin/radiusd[0x441314]
/opt/freeradius-server-3.0.20/sbin/radiusd[0x43f562]
/opt/freeradius-server-3.0.20/sbin/radiusd[0x43aec8]
/lib64/libpthread.so.0[0x3651807aa1]
/lib64/libc.so.6(clone+0x6d)[0x36514e8bcd]
No panic action set
Thu Feb 13 02:34:14 2020 : Info: Debugger not attached
Thu Feb 13 02:34:14 2020 : Warning: /opt/freeradius-server-3.0.20/etc/raddb/mods-config/sql/main/mysql/queries.conf[138]: Ignoring duplicate configuration item 'group_membership_query'
Thu Feb 13 02:34:14 2020 : Info: rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked
Thu Feb 13 02:34:14 2020 : Info: rlm_rest: libcurl version: libcurl/7.19.7 NSS/3.27.1 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
Thu Feb 13 02:34:14 2020 : Info: rlm_sql_mysql: libmysql version: 5.1.73
Thu Feb 13 02:34:14 2020 : Info: rlm_sql (sql): Attempting to connect to database "freeradius"
Thu Feb 13 02:34:14 2020 : Info: Loaded virtual server <default>
Thu Feb 13 02:34:14 2020 : Info: Loaded virtual server default
Thu Feb 13 02:34:14 2020 : Info: Loaded virtual server acct_mac_ip_cache_2
Thu Feb 13 02:34:14 2020 : Warning: Ignoring "ldap" (see raddb/mods-available/README.rst)
Thu Feb 13 02:34:14 2020 : Info: Loaded virtual server inner-tunnel
Thu Feb 13 02:34:14 2020 : Info: Loaded virtual server acct_mac_ip_cache_1
Thu Feb 13 02:34:14 2020 : Info: Ready to process requests - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (3)
-
adrian.p.smith@bt.com -
Alan DeKok -
Jorge Pereira