Hello, the univention-directory-notifier die with:
2019-06-20 13:08:37,487:CRITICAL:ldap_search(reqSession=0,cn=translog): No such object
Traceback (most recent call last):
File "/usr/share/univention-directory-notifier/univention-translog", line 1178, in <module>
exit(main())
File "/usr/share/univention-directory-notifier/univention-translog", line 398, in main
return opt.func(opt) or 0
File "/usr/share/univention-directory-notifier/univention-translog", line 442, in import_all
with Index(opt.translog_file) as index, Translog(opt.translog_file, index) as translog, ldapi(opt) as ld:
File "/usr/share/univention-directory-notifier/univention-translog", line 284, in __enter__
assert last <= rec.tid, (last, rec.tid)
AssertionError: (293192, 0)
It sounds like your transaction log file is corrupt, or at least it contains lines where the running number isn’t correct (it should be the previous running number +1, but it seems to be 0 for at least one line). See this article for ways to debug transaction log problems.
Waiting for activation of the extension object msgpo:…ERROR: Master did not mark the extension object active within 180 seconds.
ERROR
ucs_registerLDAPExtension: registraton of /usr/share/univention-s4-connector/ldap/msgpo.schema failed.
$ univention-directory-listener-ctrl status
Listener status:
run: univention-directory-listener: (pid 12146) 46102s, normally down
Current Notifier ID on "ucsdc.mydomain.it"
**326**
Last Notifier ID processed by local Listener:
**291135**
Last transaction processed:
326 cn=container/msgpo,cn=udm_module,cn=univention,dc=mydomain,dc=it m
The current notifier ID is lower than the last notifier ID processed by the listener? That’s not good. With each change to the LDAP the notifier ID is incremented, and the listener then retrieves those changes by comparing its ID with the new notifier ID and fetching only the needed changes. This also means that the notifier ID is normally always >= the listener ID (if they’re equal, all pending changes have been processed by the listener).
This isn’t the case for you, and that means that something’s seriously broken in your setup, e.g. the whole transaction logging is off. I would expect to see serious issues such as existing transactions being overwritten, the listener not ever retrieving those changes (because its ID is so much higher than the notifier’s ID)…
I honestly don’t think I can help you simply via the forum. If you have a valid license (and are thereby entitled to support) I highly suggest contacting their support. If you don’t, you might want to think about purchasing a license or support.