[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
missing entry in slapcat backup
- To: openldap-technical@openldap.org
- Subject: missing entry in slapcat backup
- From: Meike Stone <meike.stone@googlemail.com>
- Date: Thu, 24 Jan 2013 15:29:04 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=CiS1QVOpH8T+1hoUksLaCsDWPlr/QgwtFuGmjZCQpgw=; b=XLUQ8mEbRiJ0HbCKtNITrQmSgpF/el5SZ7Xb5Il0gkKE26TdtgAUCC2SUvCCz4lpIg FDcYNcxOtro+INSyd2nDCs7gra/EunzIQA9dhxTaUw3Ow/Xea4BYIM3bsCJg5vxKEguH h2o1bu3gP6t2EWt7XXcNSUbYXM81vYl6WL/US7sbkyVT7S9xNR19CtO3hGY2Z4sVc1Ti jGEQybCYXb048eEAq/JrjghdDMDLltThFMZjzM9rvVf50S6phrdkzJkNkjm5c37ARLE+ bLvjVn8yjJjSJRZNgGCHnpz76g63U2jmjFJc0wCxJXbuy4hu1UyoH/G0M7UvfKfGUr69 ErIQ==
Hello dear List,
I tried to import a slapcat backup from our production machine in a
test environment and got following message:
debld02:~ # time slapadd -w -q -f /etc/openldap/slapd.conf -l /backup.ldif
50f98421 mdb_monitor_db_open: monitoring disabled; configure monitor
database to enable
-#################### 100.00% eta none elapsed 09m18s spd 4.6 M/s
Closing DB...Error, entries missing!
entry 1156449: ou=a,ou=b,ou=c,ou=root
First I did not noticed this message, but now I see the database is
broken, because the node "ou=a" is missing.
So my questions:
- What ist the origin for such orphaned nodes (In MMR, it happens and
I see a few glue records, but in my backup this one node is complete
missing...)?
- How can I prevent from such entires and how can I recognize them
without importing?
- How can I remove this entry (esp. in production DB without
downtime), because a delete show following messages:
~ # ldapdelete -x -h localhost -w password -D cn=admin,ou=root
'cn=cname,ou=a,ou=b,ou=c,ou=root'
ldap_delete: Other (e.g., implementation specific) error (80)
additional info: could not locate parent of entry
and if I try to add this missing node, then I get:
ldapadd -x -h localhost -w password -D"cn=admin,ou=root" -f test.ldif
adding new entry ou=a,ou=b,ou=c,ou=root
ldap_add: Already exists (68)
Thanks for help
Meike