Problem:
Your replication fails and you see this in notifier.log
univention-translog ldap: error: argument TID: Positive integer required
2025-04-07 18:16:50,385:WARNING:Transaction 2191914 is invalid
Traceback (most recent call last):
File "/usr/share/univention-directory-notifier/univention-translog", line 1443, in <module>
exit(main())
File "/usr/share/univention-directory-notifier/univention-translog", line 417, in main
return opt.func(opt) or 0
File "/usr/share/univention-directory-notifier/univention-translog", line 461, 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 293, in __enter__
[self.seek](http://self.seek)(last)
File "/usr/share/univention-directory-notifier/univention-translog", line 364, in seek
raise IndexError(tid)
IndexError: 2191914
Solution:
1.
Check for missing or corrupt entries in /var/lib/univention-ldap/notifiy/transaction
and use this script to find possible issues:
/usr/share/univention-directory-notifier/univention-translog check --skip-services
2.
Try to fix these found issues:
/usr/share/univention-directory-notifier/univention-translog --lenient check --skip-services --fix
3.
Check for missing entries in translog database:
ldapsearch -x -LLL -H ldapi:// -b reqSession=2191914,cn=translog
or use
/usr/share/univention-directory-notifier/univention-translog lookup 2191914
4.
Maybe feed the database with missing entries:
/usr/share/univention-directory-notifier/univention-translog load 2191914
5.
Check status of translog:
/usr/share/univention-directory-notifier/univention-translog stat
If everything looks fine here, restart the services:
systemctl restart slapd.service
systemctl restart univention-directory-notifier.service
systemctl restart univention-directory-listener.service