It seems you are right. I did try db_recover, after that slapcat runs, but the data is not complete. Furthermore my slapd doesn't start anymore after the recover. Is there anything else I could try to get my data ?
Marcella
-----Ursprüngliche Nachricht----- Von: Aaron Richton [mailto:richton@nbcs.rutgers.edu] Gesendet: Mittwoch, 14. Februar 2007 14:34 An: Voigtländer, Marcella HTK Cc: openldap-software@openldap.org Betreff: Re: slapcat hangs without error message
There's a chance your bdb might be corrupt. Stop slapd, run db_recover, and try the slapcat again (with slapd still stopped). Assuming you can get a decent slapcat out of that, the next step would be use it to upgrade to 2.3.33. I believe that 2.2.23 isn't safe to slapcat hot, so you won't be able to accomplish your backup goal without the upgrade.
On Wed, 14 Feb 2007, Voigtlaender@hansenet.com wrote:
Hi,
I am running a slapd 2.2.23 (debian package) with a bdb Backend on a Debian Sarge system. I want to use slapcat for backing up
my database,
but it does never dump the complete data. After running a
while it just
stops and is doing nothing anymore. I am a bit nervous
right now, is
there another way to get a ldif dump, or some way of
debugging to find
the error ? I did try slapcat -d 256, but that did not show
anything
unnormal, it just stopped.
Thank you,
Marcella