Ensure proper start-up

Executing radiusd -X (or freeradius -X on Ubuntu) as root will start the FreeRADIUS server in debug mode and indicate if there are any problems.

To stop the server simply type Ctrl + C. This will stop the program.

Note

If you get an error message about port 1812 already in use, FreeRADIUS is already running. You can stop it through the startup script and try again.

We also need to make sure FreeRADIUS will start up with the rest of the services after a reboot. Unfortunately each distribution works differently here. The following tables can be used as a guideline for commands to manage FreeRADIUS startup.

Each of these scripts must be called with one of the listed arguments:

Start-up script

CentOS

#> /etc/init.d/radiusd start|stop|restart ...

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.