Radiusd hangs on redis cluster failover (sometimes)

Alan DeKok aland at deployingradius.com
Fri Aug 9 15:57:51 CEST 2019


On Aug 9, 2019, at 7:25 AM, Milan Nikolic <gen2brain at gmail.com> wrote:
> I did this:
> 
>     [root at node2 idbox]# cat etc/raddb/radiusd.conf | grep debug_level
>    debug_level = 0
>    [root at node2 idbox]# radiusd -f -X -d etc/raddb/ > /tmp/radius.log

  Which adds the "Debug :" headers.  That's why we say "radiusd -X", and not anything else.

  If you want to dump it to a file, do:

$ script debug.txt
$ radiusd -X
...
$ exit

  and then send "debug.txt".

  Note no "-f" is needed.  No "-d /etc/raddb" is needed.

> Snapshot is from two weeks ago, I also noticed radclient now print Debug
> lines, and detail logs for accounting messages now contain this line
> https://github.com/FreeRADIUS/freeradius-server/blob/master/src/modules/proto_radius/proto_radius_acct.c#L125
> ,
> i.e."No accounting section found..." , probably related to some recent
> changes.

  If only there was some kind of debug log you could post which shows the actual error.  Oh well.  I guess it's a mystery.

  Alan DeKok.




More information about the Freeradius-Users mailing list