> On 06.07.2018, at 16:25 , Howard Chu <[email protected]> wrote: > > BÖSCH Christian wrote: >>> On 06.07.2018, at 15:35 , Howard Chu <[email protected]> wrote: >>> >>> BÖSCH Christian wrote: >>>> Hi, >>>> I have 2 nodes in multimaster setup. >>>> Node1 doesn’t startup anymore and crashes. >>>> In debug mode the last lines are: >>>> 5b3f6b78 <= index_entry_del( 1121725, "uid=jst9897,ou=ais2ldap,o=abc.at >>>> <http://abc.at>" ) success >>>> ./../../../libraries/liblmdb/mdb.c:5276: Assertion 'NUMKEYS(mp) > 1' >>>> failed in mdb_page_search_root() >>>> Abort >>>> What does that mean, and what to do to get online again and have the DB in >>>> sync with Node2? >>> >>> Sounds like the DB is corrupted. What happened on the system prior to your >>> attempt to restart slapd? >> There was a script running which deleted all child entries in a subtree >> (~3000 entries). During that slapd crashed. >> I rebooted the server, but slapd doesn’t startup again. > > What version of OpenLDAP?
2.4.43 >> >>> It may be possible to resume from the previous snapshot of the DB, but most >>> likely you'll be better of reloading a slapcat from the other master. >> Can I delete the files data.mdb and lock.mdb in the db directory, do a >> slapcat on node2 and with that output file a slapadd on node1? >> Would this be the recommended approach? > > Yes. > > -- > -- Howard Chu > CTO, Symas Corp. http://www.symas.com <http://www.symas.com/> > Director, Highland Sun http://highlandsun.com/hyc/ > <http://highlandsun.com/hyc/> > Chief Architect, OpenLDAP http://www.openldap.org/project/ > <http://www.openldap.org/project/>
smime.p7s
Description: S/MIME cryptographic signature
