Configure SQL to timeout requests rather than rejecting if no connections available

Matthew Newton mcn4 at leicester.ac.uk
Wed Jan 21 19:49:17 CET 2015


On Wed, Jan 21, 2015 at 06:20:34PM +0000, Noah Engelberth wrote:
> I can't easily run the live servers in debug mode -- they're
> under fairly heavy volume and it's hard to get useful
> information from them.  I have fairly high request logging
> turned up at the moment, and I can try to set up my debug
> environment with a test case that could replicate the issue if
> necessary.

radmin can help, e.g.

# radmin -d /path/to/raddb
radmin> debug file debugout
radmin> show debug file
/var/log/freeradius/debugout
radmin> debug condition 'Calling-Station-Id == "aa-bb-cc-dd-ee-ff"'
(do test from client aa-bb-cc-dd-ee-ff)
radmin> debug condition
(tail -f & wait for file to finish being written to)
radmin> debug file
radmin> exit

then the debugout file should contain only debug output from when
the condition was true on the incoming request.

To get the server config, just run radiusd -X on the running
server. It will dump out the startup logging, then refuse to run
any further because there is already another radiusd listening on
the udp ports.

To use radmin you need to have enabled the control-socket virtual
server, and set "mode = rw".

Matthew


-- 
Matthew Newton, Ph.D. <mcn4 at le.ac.uk>

Systems Specialist, Infrastructure Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>


More information about the Freeradius-Users mailing list