Running RADIUS in permanent debug mode with rotating log

Alan Buxey A.L.M.Buxey at lboro.ac.uk
Thu Oct 3 11:07:29 CEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

I really wouldn't recommend running in full debug mode on a production server full time... its only single threaded so if you have to service lots of requests you have an immediate bottleneck.

What sort of weird problems are you facing? You know you can run on debug mode for single users or clients via radmin/raddebug ??

If you really want to proceed then you can use eg crontab to run a script which kills all radiusd processes and then starts new debug session with the date in the logfile eg

radiusd -X > /var/log/debug-'date +args xxxxxxx'

Where + args xxxxxx is the date string format you require

alan

Clement Ogedengbe <c.ogedengbe at worc.ac.uk> wrote:
>Hello,
>
>We have been having "strange" experiences with our RADIUS service
>lately and we thought it would be a good idea to run RADIUS in debug
>mode "permanently" to enable us effectively troubleshoot user
>complaints.
>
>How can we run radiusd -x > "logname" such that we have different
>logname for each day?
>
>Clement
>-
>List info/subscribe/unsubscribe? See
>http://www.freeradius.org/list/users.html

- --
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-----BEGIN PGP SIGNATURE-----
Version: APG v1.0.8

iHkEAREIADkFAlJNM9EyHEFsYW4gQnV4ZXkgKEFsYW4gQnV4ZXkpIDxhLmwubS5i
dXhleUBsYm9yby5hYy51az4ACgkQobRdvRSkLC7CfwCgir2zDhH8h4HExwUJ1vB9
820ZXBAAnjvmK6fXtpUpJbEGJDCa8gvkkjMz
=KXvy
-----END PGP SIGNATURE-----



More information about the Freeradius-Users mailing list