https://bugs.openldap.org/show_bug.cgi?id=9772
--- Comment #10 from stefan@kania-online.de --- I add the access-config-log.ldif to the first ldap-server and the change in the configuration was replicated to all other ldap-server. Then I did a: --------- ldapmodify -x -D cn=admin,cn=config -w secret -f /home/ansible/access-log-config-overly.ldif -H ldap://ldap01 --------- to add the overlay and the server crashes: ----------- Jan 05 17:37:46 ldap01 kernel: slapd[3254]: segfault at 48 ip 00007f7f376e3ad1 sp 00007f572e7fab68 error 4 in libc-2.31.so[7f7f375a9000+14b000] Jan 05 17:37:46 ldap01 kernel: Code: 84 00 00 00 00 00 0f 1f 00 31 c0 c5 f8 77 c3 66 2e 0f 1f 84 00 00 00 00 00 89 f9 48 89 fa c5 f9 ef c0 83 e1 3f 83 f9 20 77 1f <c5> fd 74 0f c5 fd d7 c1 85 c0 0f 85 df 00 00 00 48 83 c7 20 83 e1 Jan 05 17:37:46 ldap01 systemd[1]: symas-openldap-server.service: Main process exited, code=killed, status=11/SEGV Jan 05 17:37:46 ldap01 systemd[1]: symas-openldap-server.service: Failed with result 'signal' ----------- After a few seconds the other 3 ldap servers are chrashing with the same error.
Trying to restart slapd shows the following error: -------------
Jan 05 17:44:48 ldap03 systemd[1]: symas-openldap-server.service: Main process exited, code=killed, status=6/ABRT Jan 05 17:44:48 ldap03 slapd[3170]: slapd: accesslog.c:1603: accesslog_response: Assertion `0' failed. Jan 05 17:44:48 ldap03 slapd[3170]: syncrepl_entry: rid=004 be_add olcDatabase={2}mdb,cn=config (68) Jan 05 17:44:48 ldap03 systemd[1]: symas-openldap-server.service: Failed with result 'signal'. Jan 05 17:44:48 ldap03 slapd[3170]: conn=-1 op=0 accesslog_response: the op had a CSN assigned, if you're replicating the accesslog at (null), you might lose changes ------------- Either a new bug or I did something wrong in my ldif to add the overlay.
BTW doing the modify to add the overlay is replicated to all ldap server, that's why all servers chrashes. I will add the actual configuration in attachment "slapcat-with-overlay.txt" it's with the overlay configured.