Enabling debug mode requires restarting RADIUS.
ln -s /etc/raddb/sites-available/control-socket /etc/raddb/sites-enabled/
This module allows the RAdmin administration tool to work.
/etc/raddb/sites-available/control-socket: mode = rw
Possible values:
ls -la /etc/raddb/sites-enabled/
systemctl restart radiusd
radmin
/etc/raddb/radiusd.conf, by default it is radius.logdebug level 4
The logging verbosity can be set from 0 (disable logging) to 4 (debug mode, similar to radiusd -X).
Important! Even with logging level 1, debug mode generates a large number of logs, so it is not recommended to keep logging enabled for a long time to avoid filling system storage.
debug file [filename]
Commands must be entered sequentially; they cannot be used simultaneously as in:
debug level 3 debug file [filename]
radiusd or when attempting to connect to RAdmin — check whether the socket /var/run/radiusd/radiusd.sock exists and what permissions are assigned to it.gid and uid parameters to "root" in /etc/raddb/sites-available/control-socket.uid — the user name allowed to connect to the control socket.gid — the group name allowed to connect to the control socket.