FortiNAC
NOTE: FortiNAC is now named FortiNAC-F. For post-9.4 articles, see FortiNAC-F. FortiNAC is a zero-trust network access solution that provides users with enhanced visibility into the Internet of Things (IoT) devices on their enterprise networks.
dbu
Staff
Staff
Article Id 384142
Description

This article describes an issue where radiusd.service failed to start, and status shows as 'Inactive'. 

Scope FortiNAC.
Solution

Restarting the radiusd.service from CLI does not help.  

 

> systemctl restart radiusd
A dependency job for radiusd.service failed. See 'journalctl -xe' for details.

>systemctl status radiusd
● radiusd.service - FreeRADIUS multi-protocol policy server (Persistent)
Loaded: loaded (/usr/lib/systemd/system/radiusd.service; enabled; vendor preset: disabled)
Drop-In: /usr/lib/systemd/system/radiusd.service.d
└─radiusd.service.conf
Active: inactive (dead)
Docs: man:radiusd(8)
man:radiusd.conf(5)
http://wiki.freeradius.org/
http://networkradius.com/doc/

mar 24 11:04:17 fortinac.lab.loc systemd[1]: Dependency failed for FreeRADIUS multi-protocol policy server (Persistent).
mar 24 11:04:17 fortinac.lab.loc systemd[1]: Job radiusd.service/start failed with result 'dependency'.

 

In this situation, it is recommended to re-install the package. 

For this procedure, FortiNAC will require internet connectivity.

 

  1. Uninstall all RADIUS packages:   

 

>yum -y remove "freeradius*"

 

  1. Confirm no RADIUS packages are returned:

 

>rpm -qa | grep radius

 

  1. Reboot the appliance (this will automatically re-install and configure FreeRADIUS).

  2. Confirm RADIUS packages are installed again:

 

>rpm -qa | grep radius

 

freeradius-3.0.21-1.x86_64

freeradius-config-3.0.21-1.x86_64

freeradius-mysql-3.0.21-1.x86_64

freeradius-rest-3.0.21-1.x86_64

 

  1. If no RADIUS packages are returned from the command above, it means there was no FreeRADIUS package installed and it is necessary to install it manually. 

yum -y install freeradius

 

  1. Check RADIUS service:

 

systemctl status radiusd

 

Debugging:

 

campusmgrdebug -name RadiusManager true

campusmgrdebug -name RadiusAccess true