Hi,
I'm making some tests with FR0.8.1 looking forward to upgrade from
0.7.2. The box is a RH7.3 with all the updates, the backend is postgres
7.2.1. The configuration, it's all the same used with the previous
version, just added a couple of lines present in the new radiusd.conf.
The problem I'm having is FR segfaults a few hours after starting. This
seems to be not a FR but a postgres issue as can be seen from the core
dumped:
(gdb) bt
#0 0x400c2723 in pqGetc () from /usr/lib/libpq.so.2
#1 0x400c0de5 in parseInput () from /usr/lib/libpq.so.2
#2 0x400c138a in PQgetResult () from /usr/lib/libpq.so.2
#3 0x400c148e in PQexec () from /usr/lib/libpq.so.2
#4 0x4009ff79 in sql_query (sqlsocket=0x80bbb10, config=0x80bdf98,
querystr=0x410fe8dc "UPDATE radacct SET AcctStopTime = '2002-12-31
10:35:09', AcctSessionTime = 618, AcctInputOctets = 279062,
AcctOutputOctets = 2323442, AcctTerminateCause = '', AcctStopDelay = 8,
FramedIPAddress = '200"...) at sql_postgresql.c:203
#5 0x400afaba in rlm_sql_query (sqlsocket=0x80bbb10, inst=0x80bdb80,
query=0x410fe8dc "UPDATE radacct SET AcctStopTime = '2002-12-31
10:35:09', AcctSessionTime =
618, AcctInputOctets = 279062, AcctOutputOctets = 2323442,
AcctTerminateCause = '', AcctStopDelay = 8, FramedIPAddress = '200"...)
at sql.c:380
#6 0x400aed0b in rlm_sql_accounting (instance=0x80bdb80,
request=0x40d49450) at rlm_sql.c:745
#7 0x08054981 in module_post_auth ()
#8 0x08054aca in modcall ()
#9 0x080549cb in module_post_auth ()
#10 0x08054a91 in modcall ()
#11 0x0805466a in module_accounting ()
#12 0x0804f736 in rad_accounting ()
#13 0x0804d2fa in rad_respond ()
#14 0x0805635c in radius_xlat ()
#15 0x40073faf in pthread_start_thread () from /lib/i686/libpthread.so.0
Before it segfaults everything works fine, the only problem is a lot of:
Error: rlm_sql (sql): failed after re-connect
in the log.
With FR0.7.1 this never happened. Anyone have any ideas of what can be
causing it? How can it be solved? Maybe a way to get over it?
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html