I figured as much my FDS complains too about db verify. Even after initial import. <br><br>
<div><span class="gmail_quote">On 4/12/07, <b class="gmail_sendername">Noriko Hosoi</b> <<a href="mailto:nhosoi@redhat.com">nhosoi@redhat.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Thank you, Ville, for the test data.  I could reproduce the db_verify<br>problem.<br><br>I have good news and bad news. :)  Good news, first...  Your db is not
<br>corrupted.  The error report from verify-db.pl is bogus.<br><br>Bad news, next.  Please take a look at this bug.  We are going to<br>provide a fixed utility some time soon.<br><br>Summary: verify-db.pl (db_verify) does not work on a little endian machine
<br><br><a href="https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236256">https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236256</a><br><br>Sorry about this inconvenience, and thank you for reporting the problem!
<br>--noriko<br><br>Ville Silventoinen wrote:<br>> Hi Noriko,<br>><br>> sorry it took so long to reply, I've been busy with other work.<br>><br>> On Fri, 30 Mar 2007, Noriko Hosoi wrote:<br>><br>>> Ville Silventoinen wrote:
<br>>>> I asked my manager but he doesn't think it's a good idea for<br>>>> security reasons. The problem is that the data is our NIS<br>>>> mail.aliases and passwd, and we don't want to distribute them to the
<br>>>> internet. He suggested I'll modify the data, so I can send a sample<br>>>> to you. I'll do that next week.<br>>> That would be great. Thanks! I'm interested in what type of<br>>> characters your data contain. 
E.g., character set is UTF-8? Some of<br>>> your DNs could contain any special characters such as '\'? etc...<br>><br>> The character set should be plain ASCII. I created an imaginary<br>> mail.aliases
 file. You can download it from here:<br>><br>> <a href="http://www.ebi.ac.uk/systems-srv/mp/file-exchange/">http://www.ebi.ac.uk/systems-srv/mp/file-exchange/</a><br>><br>> Type in "fedorads" to the Pass Phrase input box and click Go. You
<br>> should see three files: mail.aliases, mail.aliases.ldif and 99user.ldif.<br>><br>> I can reproduce my problem with the above files, for example, I've<br>> tested like this:<br>><br>> 1. Delete existing ebiRoot database (you could use userRoot).
<br>> 2. Delete db/ebiRoot directory.<br>> 3. Create ebiRoot database.<br>> 4. Shutdown slapd.<br>> 5. Run db2index and verify-db.pl. No errors.<br>> 6. Start slapd.<br>> 7. Import mail aliases. I've tried with the Console and my own CLI,
<br>> which can import LDIF and add entries one-by-one. The method doesn't<br>> seem to matter.<br>> 8. Shutdown slapd.<br>> 9. Run db2index and verify-db.pl, verify gives errors:<br>><br>> Verify log files in db ... Good
<br>> Verify db/ebiRoot/ancestorid.db4 ...<br>> DB ERROR: db_verify: Page 2: out-of-order key at entry 254<br>> DB ERROR: db_verify: DB->verify: db/ebiRoot/ancestorid.db4:<br>> DB_VERIFY_BAD: Database verification failed
<br>> Secondary index file ancestorid.db4 in db/ebiRoot is corrupted.<br>> Please run db2index(.pl) for reindexing.<br>> Verify db/ebiRoot/objectclass.db4 ...<br>> DB ERROR: db_verify: Page 2: out-of-order key at entry 255
<br>> DB ERROR: db_verify: DB->verify: db/ebiRoot/objectclass.db4:<br>> DB_VERIFY_BAD: Database verification failed<br>> Secondary index file objectclass.db4 in db/ebiRoot is corrupted.<br>> Please run db2index(.pl) for reindexing.
<br>> Verify db/ebiRoot/nsuniqueid.db4 ... Good<br>> Verify db/ebiRoot/parentid.db4 ...<br>> DB ERROR: db_verify: Page 1: unsorted duplicate set in sorted-dup<br>> database<br>> DB ERROR: db_verify: DB->verify: db/ebiRoot/parentid.db4:
<br>> DB_VERIFY_BAD: Database verification failed<br>> Secondary index file parentid.db4 in db/ebiRoot is corrupted.<br>> Please run db2index(.pl) for reindexing.<br>> Verify db/ebiRoot/cn.db4 ...<br>> DB ERROR: db_verify: Page 10: out-of-order key at entry 249
<br>> DB ERROR: db_verify: DB->verify: db/ebiRoot/cn.db4: DB_VERIFY_BAD:<br>> Database verification failed<br>> Secondary index file cn.db4 in db/ebiRoot is corrupted.<br>> Please run db2index(.pl) for reindexing.
<br>> Verify db/ebiRoot/id2entry.db4 ... Good<br>> Verify db/ebiRoot/entrydn.db4 ... Good<br>> Verify db/ebiRoot/rfc822mailmember.db4 ...<br>> DB ERROR: db_verify: Page 2: unsorted duplicate set in sorted-dup<br>
> database<br>> DB ERROR: db_verify: Page 3: unsorted duplicate set in sorted-dup<br>> database<br>> DB ERROR: db_verify: DB->verify: db/ebiRoot/rfc822mailmember.db4:<br>> DB_VERIFY_BAD: Database verification failed
<br>> Secondary index file rfc822mailmember.db4 in db/ebiRoot is corrupted.<br>> Please run db2index(.pl) for reindexing.<br>><br>>> So, in your ldif data, the mail attribute also has this type of<br>>> value: "|/homes/majordom/wrapper 
stripmime.pl|/homes/majordom/wrapper<br>>> resend -l foobar-dev foobar-dev-outgoing"?<br>><br>> No, the People entries have a simpler mail value, like "<a href="mailto:foo@ebi.ac.uk">foo@ebi.ac.uk</a>
".<br>><br>>> And your mail index has the default indexing type: presence,<br>>> equality, and substring?<br>><br>> Yes.<br>><br>>> What type of indexing does the rfc822MailMember attribute have?
<br>><br>> I've tried without any indexing, with presence and equality and with<br>> presence, equality and substring. The above errors are from<br>> verify-db.pl when I have presence and equality indeces. If I have
<br>> presence, equality and substring, I get these errors for<br>> rfc822MailMember:<br>><br>> Verify db/ebiRoot/rfc822mailmember.db4 ...<br>> DB ERROR: db_verify: Page 13: unsorted duplicate set in sorted-dup
<br>> database<br>> DB ERROR: db_verify: Page 6: unsorted duplicate set in sorted-dup<br>> database<br>> DB ERROR: db_verify: Page 8: unsorted duplicate set in sorted-dup<br>> database<br>> DB ERROR: db_verify: Page 12: unsorted duplicate set in sorted-dup
<br>> database<br>> DB ERROR: db_verify: Page 3: unsorted duplicate set in sorted-dup<br>> database<br>> DB ERROR: db_verify: Page 7: unsorted duplicate set in sorted-dup<br>> database<br>> DB ERROR: db_verify: Page 10: unsorted duplicate set in sorted-dup
<br>> database<br>> DB ERROR: db_verify: Page 15: unsorted duplicate set in sorted-dup<br>> database<br>> DB ERROR: db_verify: Page 4: unsorted duplicate set in sorted-dup<br>> database<br>> DB ERROR: db_verify: Page 14: unsorted duplicate set in sorted-dup
<br>> database<br>> DB ERROR: db_verify: Page 5: unsorted duplicate set in sorted-dup<br>> database<br>> DB ERROR: db_verify: Page 9: unsorted duplicate set in sorted-dup<br>> database<br>> DB ERROR: db_verify: Page 11: unsorted duplicate set in sorted-dup
<br>> database<br>> DB ERROR: db_verify: DB->verify: db/ebiRoot/rfc822mailmember.db4:<br>> DB_VERIFY_BAD: Database verification failed<br>> Secondary index file rfc822mailmember.db4 in db/ebiRoot is corrupted.
<br>> Please run db2index(.pl) for reindexing.<br>><br>>> Have we already heard what platform you are running the FDS on?<br>><br>> CentOS release 4.4, Linux 2.6.9-42.ELsmp. Pentium III 2x1266MHz CPUs,<br>
> 2GB memory, SCSI disks. I'm using FDS 1.0.4.<br>><br>> I'm away this week Wed-Fri, so I'll get back to you next week.<br>><br>> Thanks for the help!<br>><br>> Ville<br>><br>> --<br>
> Fedora-directory-users mailing list<br>> <a href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a><br>> <a href="https://www.redhat.com/mailman/listinfo/fedora-directory-users">https://www.redhat.com/mailman/listinfo/fedora-directory-users
</a><br><br><br>--<br>Fedora-directory-users mailing list<br><a href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/fedora-directory-users">
https://www.redhat.com/mailman/listinfo/fedora-directory-users</a><br><br><br></blockquote></div><br>