Skip to content
David Galiata
Go back

Freeradius service will not start

Freeradius service will not start

Earlier today I made a simple change to a freeradius server at one of my clients. After making this change, I attempted to restart the service. I received the following error:

Terminal window
root@ucs:~# systemctl restart freeradius
Job for freeradius.service failed because the control process exited with error code.
See "systemctl status freeradius.service" and "journalctl -xe" for details.

Troubleshooting Steps

This created an issue for me as this radius server handles the authentication for a VPN with MFA.

Based on the error message, I ran the following command-

Terminal window
journalctl -xe

Which showed me the following output-

Terminal window
/etc/freeradius/3.0/mods-config/files/authorize[222]: Parse error (check) for entry myusername: Expected end of line or comma

Conclusion

One of the changes I made was a password change for myusername. After checking the error message, I realized you cannot have the * symbol as the last character in the password. This throws off freeradius and will not allow the service to start. After adjusting this I was able to start the service and keep the login working.


Share this post:

Previous Post
Specify source interface for ping- Fortinet
Next Post
How to create multiple TXT records in AWS Route 53