Hi Simon, can you check what the output of running freeradius -X is? That would provide you and us more information about what error you might have. Alex El 11/5/21 a las 10:02, SImon Dankau escribió:
Hello,
i am trying to set up a FreeRADIUS-Server with more than one virtual servers. One virtual server is for the WLAN-Connection for different users and the other virtual servers should be for our VPN-connection.
While restarting the freeradius.service i with two virtual servers i got the following message:
root@bkr-idm1:/etc/freeradius/3.0/sites-available# systemctl restart freeradius.service Job for freeradius.service failed because the control process exited with error code. See "systemctl status freeradius.service" and "journalctl -xe" for details.
The messages from journalctl -xe: root@bkr-idm1:/etc/freeradius/3.0/sites-available# journalctl -xe -- Unit freeradius.service has begun shutting down. Mai 11 09:30:36 bkr-idm1 systemd[1]: Stopped FreeRADIUS multi-protocol policy server. -- Subject: Unit freeradius.service has finished shutting down -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- Unit freeradius.service has finished shutting down. Mai 11 09:30:36 bkr-idm1 systemd[1]: Starting FreeRADIUS multi-protocol policy server... -- Subject: Unit freeradius.service has begun start-up -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- Unit freeradius.service has begun starting up. Mai 11 09:30:36 bkr-idm1 freeradius[2150]: FreeRADIUS Version 3.0.12 Mai 11 09:30:36 bkr-idm1 freeradius[2150]: Copyright (C) 1999-2016 The FreeRADIUS server project and contributors Mai 11 09:30:36 bkr-idm1 freeradius[2150]: There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A Mai 11 09:30:36 bkr-idm1 freeradius[2150]: PARTICULAR PURPOSE Mai 11 09:30:36 bkr-idm1 freeradius[2150]: You may redistribute copies of FreeRADIUS under the terms of the Mai 11 09:30:36 bkr-idm1 freeradius[2150]: GNU General Public License Mai 11 09:30:36 bkr-idm1 freeradius[2150]: For more information about these matters, see the file named COPYRIGHT Mai 11 09:30:36 bkr-idm1 freeradius[2150]: Starting - reading configuration files ... Mai 11 09:30:36 bkr-idm1 freeradius[2150]: Debugger not attached Mai 11 09:30:36 bkr-idm1 freeradius[2150]: Creating attribute Unix-Group Mai 11 09:30:36 bkr-idm1 freeradius[2150]: Creating attribute LDAP-Group Mai 11 09:30:36 bkr-idm1 freeradius[2150]: rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output Mai 11 09:30:36 bkr-idm1 freeradius[2150]: tls: Using cached TLS configuration from previous invocation Mai 11 09:30:36 bkr-idm1 freeradius[2150]: [/etc/freeradius/3.0/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay" found in filter list for realm "DEFAULT". Mai 11 09:30:36 bkr-idm1 freeradius[2150]: [/etc/freeradius/3.0/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay-USec" found in filter list for realm "DEFAULT". Mai 11 09:30:36 bkr-idm1 freeradius[2150]: rlm_mschap (mschap): authenticating by calling 'ntlm_auth' Mai 11 09:30:36 bkr-idm1 freeradius[2150]: rlm_ldap: libldap vendor: OpenLDAP, version: 20445 Mai 11 09:30:36 bkr-idm1 freeradius[2150]: rlm_ldap (ldap): Initialising connection pool Mai 11 09:30:36 bkr-idm1 freeradius[2150]: rlm_cache (cache_eap): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked Mai 11 09:30:36 bkr-idm1 freeradius[2150]: Ignoring "sql" (see raddb/mods-available/README.rst) Mai 11 09:30:36 bkr-idm1 freeradius[2150]: radiusd: #### Skipping IP addresses and Ports #### Mai 11 09:30:36 bkr-idm1 freeradius[2150]: Configuration appears to be OK Mai 11 09:30:36 bkr-idm1 freeradius[2150]: rlm_ldap (ldap): Removing connection pool Mai 11 09:30:36 bkr-idm1 systemd[1]: freeradius.service: Control process exited, code=exited status=1 Mai 11 09:30:36 bkr-idm1 systemd[1]: Failed to start FreeRADIUS multi-protocol policy server. -- Subject: Unit freeradius.service has failed -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- Unit freeradius.service has failed. -- -- The result is failed. Mai 11 09:30:36 bkr-idm1 systemd[1]: freeradius.service: Unit entered failed state. Mai 11 09:30:36 bkr-idm1 systemd[1]: freeradius.service: Failed with result 'exit-code'.
The configuration of my virtual servers and the clients.conf should be ok. While configuring the virtual servers i got a few error messages from the command journalctl -xe. If i just use one virtual server everthing works fine.
A little bit of helf would be appreciated.
Regards,
Simon Dankau - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Alejandro Perez-Mendez Technical Specialist (AAA), Trust & Identity Skype alejandro_perez_mendez jisc.ac.uk Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under company number. 05747339, VAT number GB 197 0632 86. Jisc’s registered office is: 4 Portwall Lane, Bristol, BS1 6NB. T 0203 697 5800. Jisc Services Limited is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under company number 02881024, VAT number GB 197 0632 86. The registered office is: 4 Portwall Lane, Bristol, BS1 6NB. T 0203 697 5800. Jisc Commercial Limited is a wholly owned Jisc subsidiary and a company limited by shares which is registered in England under company number 09316933, VAT number GB 197 0632 86. The registered office is: 4 Portwall Lane, Bristol, BS1 6NB. T 0203 697 5800. For more details on how Jisc handles your data see our privacy notice here: https://www.jisc.ac.uk/website/privacy-notice