[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Reindex failed on MDB backend (cn=config)
- To: openldap-technical@openldap.org
- Subject: Reindex failed on MDB backend (cn=config)
- From: Pieter Baele <pieter.baele@gmail.com>
- Date: Tue, 10 Jul 2012 08:26:02 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=HLdguetLm6ZOe9PyJCZhvryHhwJaEgQHhbCO4Ndtedg=; b=nbn+kCGgOaZBp0CWGe4RpBCIENPsA+fkmEWmOTTrofdZupAKo7PKkve8hvcE4HlxnO 56QPMyilGs5KXczH27DcYsexDe3kq6A7psw/ybqRttZijj74dDaEYTdYamPZ7F1I0DMF eC/DeVtrsk4PbZHzK3Apq/dh3AgnG78mRrqks5KXMll0dv8vpox5l2R2EORoH0q7XFM0 hrqnOSzEctH++Te8DDl4vB8U3Fp1F8KdLpOilw+5Vxoid8lia9yM4lAeKK6o5+ai+sNC 2SJPRZF4yCKxvnfDpXmMeep6J6Dl+sbX3ENGqtIX1tzElvgg/CSAIrq7x0TNUV1b9JCo nenw==
I added some indexes on a mdb database (Mirror) using ADS, and then tried to reindex using the LTB init script.
service slapd reindex
slapd: [INFO] Using /etc/default/slapd for configuration
slapd: [INFO] Launching OpenLDAP database reindexing...
slapindex: ./../../../libraries/libmdb/mdb.c:1361: mdb_page_touch: Assertion `mp->mp_p.p_pgno != np->mp_p.p_pgno' failed.
slapd: [ALERT] OpenLDAP database reindexing failed
I don't have additional details, because only Stats2 and Sync loglevel is enabled, and I already recovered.
My question:
how do I add indexes correctly so this doesn't happen again? directly with the use of an ldif file?
Note: I want to use MDB in production, because our db will be small (never above 2GB, or 128TB ;-) )
Any recommendations?
Sincerely, PieterB