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:
#> /etc/init.d/radiusd restart
SUSE
Do the following on SUSE in order for raddebug
to be useable:
- Confirm that the
control-socket
virtual server is enabled by checking if it is listed under thesites-available
directory:#> ls /etc/raddb...