Time for action – using the control-socket and raddebug for troubleshooting
As stated before, the control-socket
virtual server is not enabled on Ubuntu and the default install on SUSE and CentOS requires a few adjustments before we can use the control socket with raddebug
.
CentOS
Do the following on CentOS in order for raddebug
to be useable:
- Confirm that the
control-socket
virtual server is enabled by checking if it is listed under thesites-enabled
directory:#> ls /etc/raddb/sites-enabled
- Edit the
control-socket
virtual server file and ensuremode
is specified asmode = rw
at the bottom of theserver
section. - Ensure the
radiusd
user is part of theroot
group:#> /usr/sbin/usermod -a -G root radiusd
- Restart FreeRADIUS using the start-up script: ...
Get FreeRADIUS Beginner's Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.