Join script errors

hi folks,

i recently upgraded my UCS Server to 5.0.2 and noticed, that 3 join script were not able to execute successfully. (to be honest, it is the first time i noticed that missing scripts, but i am not sure if it is from this version upgrade)

is this a problem? do i need to fix something?

Missing scripts:
30univention-monitoring-client
31univention-monitoring-ad-connector
33univention-portal

And the join-logfile:

univention-run-join-scripts started
Mi 10. Aug 12:16:56 CEST 2022

univention-join-hooks: looking for hook type "join/pre-joinscripts" on cloud.ad.example.de
Found hooks:

RUNNING 30univention-monitoring-client.inst
2022-08-10 12:16:57.467286724+02:00 (in joinscript_init)
Object exists: cn=monitoring,dc=ad,dc=example,dc=de
Object exists: cn=ldapschema,cn=univention,dc=ad,dc=example,dc=de
Object exists: cn=ldapacl,cn=univention,dc=ad,dc=example,dc=de
No modification: cn=univention-monitoring,cn=ldapschema,cn=univention,dc=ad,dc=example,dc=de

No modification: cn=62univention-monitoring,cn=ldapacl,cn=univention,dc=ad,dc=example,dc=de

Waiting for activation of the extension object univention-monitoring: .......................................................INFO: No change of core data of object univention-monitoring.
INFO: No change of core data of object 62univention-monitoring.
ERROR: Primary Directory Node did not mark the extension object active within 180 seconds.
ERROR
ucs_registerLDAPExtension: registraton of /usr/lib/univention-monitoring-client/schema/univention-monitoring.schema failed.
30univention-monitoring-client.inst: LDAP Schema/ACL
EXITCODE=1
99ec9369-9ce1-416d-9dcd-16ada6ab920e

RUNNING 31univention-monitoring-ad-connector.inst
2022-08-10 12:20:00.734309369+02:00 (in joinscript_init)
unknown module monitoring/alert.

Available Modules are:
appcenter/app
computers/computer
computers/domaincontroller_backup
computers/domaincontroller_master
computers/domaincontroller_slave
computers/ipmanagedclient
computers/linux
computers/macos
computers/memberserver
computers/trustaccount
computers/ubuntu
computers/windows
computers/windows_domaincontroller
container/cn
container/dc
container/ou
dhcp/dhcp
dhcp/host
dhcp/pool
dhcp/server
dhcp/service
dhcp/shared
dhcp/sharedsubnet
dhcp/subnet
dns/alias
dns/dns
dns/forward_zone
dns/host_record
dns/ns_record
dns/ptr_record
dns/reverse_zone
dns/srv_record
dns/txt_record
groups/group
kerberos/kdcentry
mail/domain
mail/folder
mail/lists
mail/mail
nagios/nagios
nagios/service
nagios/timeperiod
networks/network
policies/admin_container
policies/desktop
policies/dhcp_boot
policies/dhcp_dns
policies/dhcp_dnsupdate
policies/dhcp_leasetime
policies/dhcp_netbios
policies/dhcp_routing
policies/dhcp_scope
policies/dhcp_statements
policies/ldapserver
policies/maintenance
policies/masterpackages
policies/memberpackages
policies/nfsmounts
policies/policy
policies/printserver
policies/pwhistory
policies/registry
policies/release
policies/repositoryserver
policies/repositorysync
policies/share_userquota
policies/slavepackages
policies/umc
portals/all
portals/category
portals/entry
portals/folder
portals/portal
saml/idpconfig
saml/serviceprovider
settings/cn
settings/data
settings/default
settings/directory
settings/extended_attribute
settings/extended_options
settings/ldapacl
settings/ldapschema
settings/license
settings/lock
settings/packages
settings/portal
settings/portal_all
settings/portal_category
settings/portal_entry
settings/printermodel
settings/printeruri
settings/prohibited_username
settings/sambaconfig
settings/sambadomain
settings/service
settings/settings
settings/syntax
settings/udm_hook
settings/udm_module
settings/udm_syntax
settings/umc_operationset
settings/usertemplate
shares/print
shares/printer
shares/printergroup
shares/share
users/contact
users/ldap
users/passwd
users/self
users/user
uvmm/cloudconnection
uvmm/cloudtype
uvmm/info
uvmm/profile
31univention-monitoring-ad-connector.inst: UNIVENTION_ADCONNECTOR
EXITCODE=1
ba426fce-9c27-45fb-a390-07c591e54b06
RUNNING 33univention-portal.inst
2022-08-10 12:20:01.424646295+02:00 (in joinscript_init)
Object exists: cn=UMC,cn=univention,dc=ad,dc=example,dc=de
Object exists: cn=UMC,cn=policies,dc=ad,dc=example,dc=de
Object exists: cn=operations,cn=UMC,cn=univention,dc=ad,dc=example,dc=de
Object exists: cn=default-umc-all,cn=UMC,cn=policies,dc=ad,dc=example,dc=de
No modification: cn=Domain Admins,cn=groups,dc=ad,dc=example,dc=de
Object exists: cn=default-umc-users,cn=UMC,cn=policies,dc=ad,dc=example,dc=de
No modification: cn=Domain Users,cn=groups,dc=ad,dc=example,dc=de
Object exists: cn=ldapschema,cn=univention,dc=ad,dc=example,dc=de
Object exists: cn=ldapacl,cn=univention,dc=ad,dc=example,dc=de
Object exists: cn=udm_syntax,cn=univention,dc=ad,dc=example,dc=de
No modification: cn=univention-portal,cn=ldapschema,cn=univention,dc=ad,dc=example,dc=de

No modification: cn=62univention-portal,cn=ldapacl,cn=univention,dc=ad,dc=example,dc=de

No modification: cn=univention-portal,cn=udm_syntax,cn=univention,dc=ad,dc=example,dc=de

Waiting for activation of the extension object univention-portal: .......................................................INFO: No change of core data of object univention-portal.
INFO: No change of core data of object 62univention-portal.
INFO: No change of core data of object univention-portal.
ERROR: Primary Directory Node did not mark the extension object active within 180 seconds.
ERROR
ucs_registerLDAPExtension: registraton of /usr/lib/univention-portal/schema/univention-portal.schema failed.

EXITCODE=1
d1ba63f1-35c4-4959-bcd3-f448fee097d1
univention-join-hooks: looking for hook type "join/post-joinscripts" on cloud.ad.example.de
Found hooks:


Mi 10. Aug 12:23:06 CEST 2022
univention-run-join-scripts finished

thanks in advance for your help!

Hi,
I have exactly the same issue as @mkoetzing have.
Can anybody provide some advices, directions or solution to resolve this issue?

Hi,

I have the same problem, but only with
30univention-monitoring-client

EDIT:
I was able to solve the problem by deleting the LDAP entries that caused the error.

ldapdelete -x -D "cn=admin,$(ucr get ldap/base)" -y /etc/ldap.secret "cn=62univention-monitoring,cn=ldapacl,cn=univention,dc=int,dc=tux42,dc=ch"
ldapdelete -x -D "cn=admin,$(ucr get ldap/base)" -y /etc/ldap.secret "cn=univention-monitoring,cn=ldapschema,cn=univention,dc=int,dc=tux42,dc=ch"

After that univention-run-join-scripts could be executed again and the objects were created.

Best
AlteSockenSuppe

1 Like

I have the same problem after updating from version 4 to 5. And this on 3 machines. It is a fundamental problem.

Hi,

danke, @AlteSockenSuppe : hat bei mir ebenfalls geholfen das obige Problem von @mkoetzing zu lösen. Trat bei mir direkt nach clean-install des UCS 5.0 ISO-Images auf.

Mastodon