Univention Bugzilla – Bug 52498
Termination of udm-cli "sometimes" fails in ucs_registerLDAPExtension
Last modified: 2020-12-15 16:09:19 CET
Sometimes the termination of the udm-cli process during the LDAP registration of an udm module fails. As some join script want to use those modules after the registration, this can break the join process. See also Bug #50671. directory-manager-cmd.log 14.12.20 11:11:07.154 DEBUG_INIT 14.12.20 11:18:03.316 DEBUG_INIT So udm-cli is started 11:11:07, probably by some license management hooks listener.log: 14.12.20 11:11:06.459 LISTENER ( PROCESS ) : updating 'cn=admin,cn=license,cn=univention,dc=mydomain,dc=intranet' command d 14.12.20 11:11:06.460 LISTENER ( PROCESS ) : updating 'cn=admin,cn=license,cn=univention,dc=mydomain,dc=intranet' command a Object created: cn=univentionblog,cn=portal,cn=univention,dc=mydomain,dc=intranet 14.12.20 11:11:07.384 LISTENER ( PROCESS ) : updating 'cn=univentionblog,cn=portal,cn=univention,dc=mydomain,dc=intranet' command a config-registry.replog: 2020-12-14 11:11:06: set uuid/license=b9f27172-1db2-4a56-8e27-3c3f3041b609 old:[Previously undefined] 2020-12-14 11:11:06: set license/base='UCS Core Edition' old:UCS Core Edition But it is not restarted during the join process (at least i can't see DEBUG_INIT in the log file around 11:13:02) and the udm call fails. appcenter.log 3742 packages 20-12-14 11:13:02 [ INFO]: Waiting for activation of the extension object office365/ad-connection: OK^M 3742 packages 20-12-14 11:13:02 [ INFO]: Waiting for file /usr/share/univention-office365/handler.d/ad-connection.py: OK^M 3742 packages 20-12-14 11:13:02 [ INFO]: Terminating running univention-cli-server processes.^M 3742 packages 20-12-14 11:13:02 [ INFO]: Object created: cn=office365,dc=mydomain,dc=intranet^M 3742 packages 20-12-14 11:13:02 [ INFO]: Object created: cn=profiles,cn=office365,dc=mydomain,dc=intranet^M 3742 packages 20-12-14 11:13:02 [ INFO]: Object created: cn=ad-connections,cn=office365,dc=mydomain,dc=intranet^M 3742 packages 20-12-14 11:13:03 [ INFO]: unknown module office365/profile.^M 3742 packages 20-12-14 11:13:03 [ INFO]: ^M 3742 packages 20-12-14 11:13:03 [ INFO]: Available Modules are:^M 3742 packages 20-12-14 11:13:03 [ INFO]: appcenter/app^M