Freeradius cannot start after doing full upgrade to 21.0.6

sudo systemctl start freeradius
Job for freeradius.service failed because the control process exited with error code.
See "systemctl status freeradius.service" and "journalctl -xe" for details.
journalctl -xe
12 10:20:05 dell-e7470 systemd[1]: Starting FreeRADIUS high performance RADIUS server…
░░ Subject: A start job for unit freeradius.service has begun execution
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ A start job for unit freeradius.service has begun execution.
░░
░░ The job identifier is 6882.
Jun 12 10:20:05 dell-e7470 systemd[1]: freeradius.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ An ExecStartPre= process belonging to unit freeradius.service has exited.
░░
░░ The process’ exit code is ‘exited’ and its exit status is 1.
Jun 12 10:20:05 dell-e7470 systemd[1]: freeradius.service: Failed with result ‘exit-code’.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ The unit freeradius.service has entered the ‘failed’ state with result ‘exit-code’.
Jun 12 10:20:05 dell-e7470 systemd[1]: Failed to start FreeRADIUS high performance RADIUS server…
░░ Subject: A start job for unit freeradius.service has failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ A start job for unit freeradius.service has finished with a failure.
░░
░░ The job identifier is 6882 and the job result is failed.
Jun 12 10:20:05 dell-e7470 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=freeradius>
Jun 12 10:20:05 dell-e7470 kernel: audit: type=1130 audit(1623518405.420:503): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unc>

linelog log_accounting {
filename = “/var/log/radius/linelog-accounting”
escape_filenames = no
syslog_severity = “info”
permissions = 384
format = “”
reference = “Accounting-Request.%{%{Acct-Status-Type}:-unknown}”
}
instantiate {
}

Instantiating module “IPASS” from file /etc/raddb/mods-enabled/realm
Instantiating module “suffix” from file /etc/raddb/mods-enabled/realm
Instantiating module “bangpath” from file /etc/raddb/mods-enabled/realm
Instantiating module “realmpercent” from file /etc/raddb/mods-enabled/realm
Instantiating module “ntdomain” from file /etc/raddb/mods-enabled/realm
Instantiating module “mschap” from file /etc/raddb/mods-enabled/mschap
rlm_mschap (mschap): using internal authentication

Instantiating module “preprocess” from file /etc/raddb/mods-enabled/preprocess
reading pairlist file /etc/raddb/mods-config/preprocess/huntgroups
reading pairlist file /etcsudo systemctl start freeradius
Job for freeradius.service failed because the control process exited with error code.
See "systemctl status freeradius.service" and "journalctl -xe" for details.
journalctl -xe
12 10:20:05 dell-e7470 systemd[1]: Starting FreeRADIUS high performance RADIUS server…
░░ Subject: A start job for unit freeradius.service has begun execution
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ A start job for unit freeradius.service has begun execution.
░░
░░ The job identifier is 6882.
Jun 12 10:20:05 dell-e7470 systemd[1]: freeradius.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ An ExecStartPre= process belonging to unit freeradius.service has exited.
░░
░░ The process’ exit code is ‘exited’ and its exit status is 1.
Jun 12 10:20:05 dell-e7470 systemd[1]: freeradius.service: Failed with result ‘exit-code’.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ The unit freeradius.service has entered the ‘failed’ state with result ‘exit-code’.
Jun 12 10:20:05 dell-e7470 systemd[1]: Failed to start FreeRADIUS high performance RADIUS server…
░░ Subject: A start job for unit freeradius.service has failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ A start job for unit freeradius.service has finished with a failure.
░░
░░ The job identifier is 6882 and the job result is failed.
Jun 12 10:20:05 dell-e7470 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=freeradius>
Jun 12 10:20:05 dell-e7470 kernel: audit: type=1130 audit(1623518405.420:503): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unc>

linelog log_accounting {
filename = “/var/log/radius/linelog-accounting”
escape_filenames = no
syslog_severity = “info”
permissions = 384
format = “”
reference = “Accounting-Request.%{%{Acct-Status-Type}:-unknown}”
}
instantiate {
}

Instantiating module “IPASS” from file /etc/raddb/mods-enabled/realm
Instantiating module “suffix” from file /etc/raddb/mods-enabled/realm
Instantiating module “bangpath” from file /etc/raddb/mods-enabled/realm
Instantiating module “realmpercent” from file /etc/raddb/mods-enabled/realm
Instantiating module “ntdomain” from file /etc/raddb/mods-enabled/realm
Instantiating module “mschap” from file /etc/raddb/mods-enabled/mschap
rlm_mschap (mschap): using internal authentication

Instantiating module “preprocess” from file /etc/raddb/mods-enabled/preprocess
reading pairlist file /etc/raddb/mods-config/preprocess/huntgroups
reading pairlist file /etc/raddb/mods-config/preprocess/hints

Instantiating module “logintime” from file /etc/raddb/mods-enabled/logintime
Instantiating module “eap” from file /etc/raddb/mods-enabled/eap
Linked to sub-module rlm_eap_md5
rlm_eap (EAP): Failed to link rlm_eap_leap: /usr/lib/freeradius/rlm_eap_leap.so: cannot open shared object file: No such file or dir
ectory
/etc/raddb/mods-enabled/eap[14]: Instantiation failed for module “eap”/raddb/mods-config/preprocess/hints

Instantiating module “logintime” from file /etc/raddb/mods-enabled/logintime
Instantiating module “eap” from file /etc/raddb/mods-enabled/eap
Linked to sub-module rlm_eap_md5
rlm_eap (EAP): Failed to link rlm_eap_leap: /usr/lib/freeradius/rlm_eap_leap.so: cannot open shared object file: No such file or dir
ectory
/etc/raddb/mods-enabled/eap[14]: Instantiation failed for module “eap”

When pasting terminal output, highlight it and use the Preformatted text </> button.

Alternatively, add three backticks ` above and below the text:

```
text
```

Please edit your post accordingly.

2 Likes

Thank you Yochanan. It looks like someone has fixed it for me.

The latest FreeRADIUS 3.0.22 (and later) will no longer support LEAP. Commenting out the LEAP section in the eap configuration file will fix the problem.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.