FreeRadius service don´t start

Hi
I just installed UCS 4.3 with radius service.
However, it is not starting, the following error is displayed.
Does anyone have an idea of ​​what I need to do?

/ var / log / freeradius # cat radius.log
Fri May 25 18:31:51 2018: Info: Debugger not attached
Fri May 25 18:31:51 2018: Info: rlm_ldap: libldap vendor: OpenLDAP, version: 20445
Fri May 25 18:31:51 2018: Info: rlm_ldap (ldap): Opening additional connection (0), 1 of 32 pending slots used
Fri May 25 18:31:51 2018: Info: rlm_ldap (ldap): Opening additional connection (1), 1 of 31 pending slots used
Fri May 25 18:31:51 2018: Info: rlm_ldap (ldap): Opening additional connection (2), 1 of 30 pending slots used
Fri May 25 18:31:52 2018: Info: rlm_ldap (ldap): Opening additional connection (3), 1 of 29 pending slots used
Fri May 25 18:31:52 2018: Info: rlm_ldap (ldap): Opening additional connection (4), 1 of 28 pending slots used
Fri May 25 18:31:52 2018: Warning: [/etc/freeradius/3.0/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay" found in filter list for realm "DEFAULT".
Fri May 25 18:31:52 2018: Warning: [/etc/freeradius/3.0/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay-USec" found in filter list for realm "DEFAULT" .
Fri May 25 18:31:52 2018: Info: Loaded virtual server <default>
Fri May 25 18:31:52 2018: Warning: Ignoring "sql" (see raddb / mods-available / README.rst)
Fri May 25 18:31:52 2018: Info: Loaded virtual server inner-tunnel
Fri May 25 18:31:52 2018: Info: Loaded virtual server default
Fri May 25 18:31:52 2018: Error: Failed opening auth address :: port 1812 bound to server default: Address family not supported by protocol
Fri May 25 18:31:52 2018: Error: /etc/freeradius/3.0/sites-enabled/default[226]: Error binding to port for :: port 1812
Fri May 25 18:31:52 2018: Info: Debugger not attached
Fri May 25 18:31:52 2018: Info: rlm_ldap: libldap vendor: OpenLDAP, version: 20445
Fri May 25 18:31:52 2018: Info: rlm_ldap (ldap): Opening additional connection (0), 1 of 32 pending slots used
Fri May 25 18:31:52 2018: Info: rlm_ldap (ldap): Opening additional connection (1), 1 of 31 pending slots used
Fri May 25 18:31:52 2018: Info: rlm_ldap (ldap): Opening additional connection (2), 1 of 30 pending slots used
Fri May 25 18:31:52 2018: Info: rlm_ldap (ldap): Opening additional connection (3), 1 of 29 pending slots used
Fri May 25 18:31:52 2018: Info: rlm_ldap (ldap): Opening additional connection (4), 1 of 28 pending slots used
Fri May 25 18:31:52 2018: Warning: [/etc/freeradius/3.0/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay" found in filter list for realm "DEFAULT".
Fri May 25 18:31:52 2018: Warning: [/etc/freeradius/3.0/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay-USec" found in filter list for realm "DEFAULT" .
Fri May 25 18:31:52 2018: Info: Loaded virtual server <default>
Fri May 25 18:31:52 2018: Warning: Ignoring "sql" (see raddb / mods-available / README.rst)
Fri May 25 18:31:52 2018: Info: Loaded virtual server inner-tunnel
Fri May 25 18:31:52 2018: Info: Loaded virtual server default
Fri May 25 18:31:52 2018: Error: Failed opening auth address :: port 1812 bound to server default: Address family not supported by protocol
Fri May 25 18:31:52 2018: Error: /etc/freeradius/3.0/sites-enabled/default[226]: Error binding to port for :: port 1812

Best Regards,
Michael Voigt

Hey,

Looks like you disabled IPv6 support on your Linux server, e.g. by adding the kernel command line argument ipv6.disable=1 or via sysctl parameters. In that case you have two options:

  1. Re-enable IPv6 support.
  2. Change the Radius configuration not to listen on IPv6, but on IPv4 only. Do note that this requires changing the Univention templates the Radius configuration files are built from, with all the accompanying problems such as having to take extra manual care of modified templates during upgrades.

Kind regards,
mosu

Hi Mosu!
Really, you were right.
I had disabled ipv6 support
Thanks for the tip, this helped me sort it out.

Best Regards,
Michael Voigt

Glad I could help.

m.

Mastodon