I installed free-radius on CentOS 7, it is working however service not coming up after reboot.
when i login as root and start using systemctl start radiusd the service comes up..
Here is the Status after reboot.
root@ipa.server:/root : semodule -l | grep radius
radius 1.13.0
root@ipa.server:/root : systemctl status radiusd
● radiusd.service - FreeRADIUS high performance RADIUS server.
Loaded: loaded (/usr/lib/systemd/system/radiusd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2017-08-21 21:44:23 EDT; 12min ago
Process: 1706 ExecStart=/usr/sbin/radiusd -d /etc/raddb (code=exited, status=1/FAILURE)
Process: 973 ExecStartPre=/usr/sbin/radiusd -C (code=exited, status=0/SUCCESS)
Process: 961 ExecStartPre=/bin/chown -R radiusd.radiusd /var/run/radiusd (code=exited, status=0/SUCCESS)
Aug 21 21:44:18 ipa.server systemd[1]: Starting FreeRADIUS high performance RADIUS server....
Aug 21 21:44:23 ipa.server systemd[1]: radiusd.service: control process exited, code=exited status=1
Aug 21 21:44:23 ipa.server systemd[1]: Failed to start FreeRADIUS high performance RADIUS server..
Aug 21 21:44:23 ipa.server systemd[1]: Unit radiusd.service entered failed state.
Aug 21 21:44:23 ipa.server systemd[1]: radiusd.service failed.
------ radius.log file
root@ipa.server:/root : cat /var/log/radius/radius.log
Mon Aug 21 21:44:22 2017 : Warning: rlm_ldap: Falling back to build time libldap version info. Query for LDAP_OPT_API_INFO returned: -1
Mon Aug 21 21:44:22 2017 : Info: rlm_ldap: libldap vendor: OpenLDAP version: 20440
Mon Aug 21 21:44:22 2017 : Info: Loaded virtual server <default>
Mon Aug 21 21:44:22 2017 : Warning: Ignoring "sql" (see raddb/mods-available/README.rst)
Mon Aug 21 21:44:22 2017 : Info: Loaded virtual server default
Mon Aug 21 21:44:22 2017 : Info: Loaded virtual server inner-tunnel
Mon Aug 21 21:44:23 2017 : Warning: rlm_ldap: Falling back to build time libldap version info. Query for LDAP_OPT_API_INFO returned: -1
Mon Aug 21 21:44:23 2017 : Info: rlm_ldap: libldap vendor: OpenLDAP version: 20440
Mon Aug 21 21:44:23 2017 : Info: rlm_ldap (ldap): Opening additional connection (0)
Mon Aug 21 21:44:23 2017 : Error: rlm_ldap (ldap): Bind with to ipa.server:389 failed: Can't contact LDAP server
Mon Aug 21 21:44:23 2017 : Error: rlm_ldap (ldap): Opening connection failed (0)
Mon Aug 21 21:44:23 2017 : Error: /etc/raddb/mods-enabled/ldap[8]: Instantiation failed for module "ldap"
root@ipa.server:/root :
Radius Service not starting at boot
-
- Posts: 1
- Joined: 2017/08/23 07:11:48
Re: Radius Service not starting at boot
Have you issued the command,
if not issue it as root to have the service start on boot.
Code: Select all
#systemctl enable radiusd