On Sat, 25 Jun 2005, Howard Chu wrote: > I haven't seen this problem at all. Of course, I'm using BDB 4.2 now. > > Dusty Doris wrote: > > I am having problems indexing entryCSN. It appears whenever I shutdown > > slapd and then restart it, my bdb database is getting corrupt. I am > > running freebsd 5.4 with openldap 2.3.4 and bdb 4.3.28. This happens with > > both bdb and hdb backends, I haven't tried any others. > > > > Here is what happens. > > > > First, I turn up slapd and do an import of 4 entries (keeping it small for > > testing). Then I shutdown slapd (using the startup script). When I > > restart slapd, it shows that slapd is started in the logs, however, the > > process isn't actually running. Then when I try to start again I get bdb > > errors in the logfile. A db_recover isn't enough to fix the db. > > > In OpenLDAP 2.3, the db_recover step is run automatically as needed, > when slapd starts. You should not be running it manually. >
I didn't realize that, that's nice. Must have been what it meant by attempting recovery in the logs. Anyway, the problem still occurs regardless of whether or not I run it manually.
