Hi all, I installed freeradius-3.0.4-6.el7 on Centos 7.1 to replace our existing freeradius-2.1.12-6. I am having difficulty enabling LDAP. LDAP in our existing freeradius-2.1.12-6 works like a charm, but as soon as I enable LDAP in /sites-available/inner-tunnel radiusd won't start. I have linked ldap in /mods-available. ldap -> /etc/raddb/mods-available/ldap # diff inner-tunnel inner-tunnel.ORIG 227,229c224,226 < Auth-Type LDAP { < ldap < } ---
# Auth-Type LDAP { # ldap # }
Here is relevant error messages. # systemctl status radiusd.service -l radiusd.service - FreeRADIUS high performance RADIUS server. Loaded: loaded (/usr/lib/systemd/system/radiusd.service; disabled) Active: failed (Result: exit-code) since Wed 2015-10-07 10:20:41 PDT; 10min ago Process: 17895 ExecStart=/usr/sbin/radiusd -d /etc/raddb (code=exited, status=0/SUCCESS) Process: 18504 ExecStartPre=/usr/sbin/radiusd -C (code=exited, status=1/FAILURE) Process: 18500 ExecStartPre=/bin/chown -R radiusd.radiusd /var/run/radiusd (code=exited, status=0/SUCCESS) Main PID: 17897 (code=exited, status=0/SUCCESS) Oct 07 10:20:41 ccndev4.triumf.ca systemd[1]: Starting FreeRADIUS high performance RADIUS server.... Oct 07 10:20:41 ccndev4.triumf.ca systemd[1]: radiusd.service: control process exited, code=exited status=1 Oct 07 10:20:41 ccndev4.triumf.ca systemd[1]: Failed to start FreeRADIUS high performance RADIUS server.. Oct 07 10:20:41 ccndev4.triumf.ca systemd[1]: Unit radiusd.service entered failed state. # journalctl -xn -- Logs begin at Sat 2015-10-03 09:04:12 PDT, end at Wed 2015-10-07 10:30:01 PDT. -- Oct 07 10:20:01 ccndev4.triumf.ca systemd[1]: Starting Session 735 of user root. -- Subject: Unit session-735.scope has begun with start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- Unit session-735.scope has begun starting up. Oct 07 10:20:01 ccndev4.triumf.ca systemd[1]: Started Session 735 of user root. -- Subject: Unit session-735.scope has finished start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- Unit session-735.scope has finished starting up. -- The start-up result is done. Oct 07 10:20:01 ccndev4.triumf.ca CROND[18463]: (root) CMD (/usr/lib64/sa/sa1 1 1) Oct 07 10:20:41 ccndev4.triumf.ca systemd[1]: Starting FreeRADIUS high performance RADIUS server.... -- Subject: Unit radiusd.service has begun with start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- Unit radiusd.service has begun starting up. Oct 07 10:20:41 ccndev4.triumf.ca systemd[1]: radiusd.service: control process exited, code=exited status Oct 07 10:20:41 ccndev4.triumf.ca systemd[1]: Failed to start FreeRADIUS high performance RADIUS server.. -- Subject: Unit radiusd.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- Unit radiusd.service has failed. -- The result is failed. Oct 07 10:20:41 ccndev4.triumf.ca systemd[1]: Unit radiusd.service entered failed state. Oct 07 10:30:01 ccndev4.triumf.ca systemd[1]: Starting Session 736 of user root. -- Subject: Unit session-736.scope has begun with start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- Unit session-736.scope has begun starting up. Oct 07 10:30:01 ccndev4.triumf.ca systemd[1]: Started Session 736 of user root. -- Subject: Unit session-736.scope has finished start-up Any ideas? Many thanks in advance, Hossein Rafighi -- _____ _____ _____ _ _ _ _ ____ Hossein Rafighi |_ _|| _ \ |_ _|| | | || \_/ || __|TRIUMF, 4004 Wesbrook Mall | | | |_| ) | | | | | || || |__ Vancouver BC, Canada, V6T 2A3 | | | _ / | | | \_/ || \_/ || __|Voice: (604) 222-1047 | | | | \ \ _| |_ | || | | || | Fax: (604) 222-1074 |_| |_| \_\|_____| \___/ |_| |_||_| Website: http://www.triumf.ca