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
|
SLES |
#> /etc/init.d/freeradius start|stop|restart
|
Ubuntu |
#> /etc/init.d/freeradius start|stop|restart
|
Activate and de-activate | |
---|---|
CentOS |
#> /sbin/chkconfig radiusd on #> /sbin/chkconfig radiusd off
|
SLES | ... |