[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Corrupted database
- To: openldap-software@OpenLDAP.org
- Subject: Corrupted database
- From: Hardi Gunawan <hardigunawan@yahoo.com>
- Date: Sat, 20 Aug 2005 05:58:55 -0700 (PDT)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Bw67SdQwzIAb38dgikFi/WOHK1IaZkYhY7u7DgCyObo5HgRGkY5qRnXyBXaGjemjOAMytVt3i2cfPHN1NzFGVdtq16z4ZikfRCrG6Xlh2L8XShicre8OiKheriehI3dlEjjg7hB/t/kXnNoOB6Mm/KCdJ3miFpOGQLrSvTcYwns= ;
Hi,
It seems that my LDAP database is corrupted. I'm able
to do a search of (objectclass=*), but not
(objectclass=posixaccount), even though I'm sure that
it works previously.
Looking at the bdb files, it seems that a db_verify of
objectclass.bdb gives these errors:
slapd_db_verify objectClass.bdb
db_verify: Page 1: item 43 of unrecognizable type
db_verify: Page 1: item 47 of unrecognizable type
.
.
.
db_verify: Page 1: item 421 of unrecognizable type
db_verify: Page 1: gap between items at offset 2232
db_verify: Page 1: item order check unsafe: skipping
db_verify: DB->verify: objectClass.bdb: DB_VERIFY_BAD:
Database verification failed
I've tried to do a db_recover -v and it does not give
me any error message that the recover is not
successful.
What should I do to make the objectclass.bdb works? I
guess I can just do a full search (objectclass=*) and
dump out all the stuff and create a new database. But
is there any other way to recover?
Thanks.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com