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:

  1. Confirm that the control-socket virtual server is enabled by checking if it is listed under the sites-enabled directory:
    #> ls /etc/raddb/sites-enabled
    
  2. Edit the control-socket virtual server file and ensure mode is specified as mode = rw at the bottom of the server section.
  3. Ensure the radiusd user is part of the root group:
    #> /usr/sbin/usermod -a -G root radiusd
    
  4. 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.