Listner Corrupt cache

Hello, I’v a problem with listener cache:

Distributor ID: Univention
Description: Univention Corporate Server 4.4-4 errata642 (Blumenthal)
Release: 4.4-4 errata642

/usr/lib/nagios/plugins/check_univention_replication
CRITICAL: no change of listener transaction id for last 0 checks (nid=415746 lid=415682)

/usr/share/univention-directory-notifier/univention-translog check

nothing, no error.

tail -1 /var/log/univention/listener.log
24.07.20 20:47:05.612 LISTENER ( ERROR ) : Corrupt cache

what can I do?

thnx.

ok solved with Recreate listener cache

now slapd dies continuously i think there is corrupt mdb file:

slapcat > ucs.ldif

5f1b3ade The first database does not allow slapcat; using the first available one (2)
5f1b3adf ch_malloc of 10648517296 bytes failed
slapcat: …/…/…/…/servers/slapd/ch_malloc.c:57: ch_malloc: Assertion `0’ failed.
Aborted

how to repair the mdb file?

thnx a lot.

Hello again, is there any doc about restore the ldap from backup file (/var/univention-backup/ldap*ldif)?

thnx.

Hello, If I do the following:

# systemctl stop slapd univention-directory-notifier univention-directory-listener univention-directory-policy samba-ad-dc
# mv /var/lib/univention-ldap/ldap /var/lib/univention-ldap/ldap.error
# mkdir /var/lib/univention-ldap/ldap
# slapadd -q -n 2 -l ldap*ldif
# chown -R openldap.openldap /var/lib/univention-ldap/ldap
# systemctl start slapd univention-directory-notifier univention-directory-listener univention-directory-policy samba-ad-dc

and knowing that there have been no changes since the last backup, do I have any chance that the restore will work?

thnx.

Hello, The procedure described works correctly :partying_face:

Mastodon