Univention Bugzilla – Bug 45119
Job for univention-maintenance.service failed
Last modified: 2021-05-25 16:03:30 CEST
univention-maintenance seems to fail under 4.2 root@master:~# service univention-maintenance restart Job for univention-maintenance.service failed. See 'systemctl status univention-maintenance.service' and 'journalctl -xn' for details. root@master:~# journalctl -xn -- Unit univention-maintenance.service has begun starting up. Aug 02 11:16:50 master univention-maintenance[5076]: Checking network for Univention maintenance...ldap[master.schulen.xxx.univentiontest]...failed. Aug 02 11:16:50 master systemd[1]: univention-maintenance.service: control process exited, code=exited status=1 Aug 02 11:16:50 master systemd[1]: Failed to start LSB: Univention Updater. -- Subject: Unit univention-maintenance.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit univention-maintenance.service has failed. -- -- The result is failed. Aug 02 11:16:50 master systemd[1]: Unit univention-maintenance.service entered failed state. Aug 02 11:17:01 master CRON[5087]: pam_unix(cron:session): session opened for user root by (uid=0) Aug 02 11:17:02 master CRON[5091]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Aug 02 11:17:02 master CRON[5087]: pam_unix(cron:session): session closed for user root
*** Bug 47446 has been marked as a duplicate of this bug. ***
Quoting from Bug #47446 comment 0: > The service won't retry to start and will stay in it's failed state. > This happens because the service tries to reach servers by FQDN domains BEFORE bind9 (DNS) is running. It fails to resolve them and exits. This can be fixed by (somehow) adding DNS to the 'Required-Start' parameter of the service.
Created attachment 9788 [details] Wait for DNS server for maintenance
Fixed in UCS-5.0-0 with git:3870d57f7999 [5.0-0] 2cdccb2537 fixup! Bug #45119 up: Wait for DNS server for maintenance doc/changelog/changelog-5.0-0.xml | 3 +++ 1 file changed, 3 insertions(+) QA: reboot → systemctl status univention-maintenance.service → OKAY
OK - univention-maintenance.service after reboot OK - changelog
UCS 5.0 has been released: https://docs.software-univention.de/release-notes-5.0-0-en.html https://docs.software-univention.de/release-notes-5.0-0-de.html If this error occurs again, please use "Clone This Bug".