[Pkg-openldap-devel] Bug#598361: Bug#598361: slapd: slapcat gives "unclean shutdown detected; attempting recovery" after squeeze upgrade

Matthijs Möhlmann matthijs at cacholong.nl
Tue Sep 28 15:03:25 UTC 2010


On 09/28/2010 04:45 PM, Walton, Bryan K wrote:
> On Tue, 2010-09-28 at 15:58 +0200, Matthijs Mohlmann wrote:
>
>> Do you before you backup, shutdown the slapd process ?
>>
>> /etc/init.d/slapd stop
>> slapcat ...
>> /etc/init.d/slapd start
>>
>> If you don't, then this is probably the reason for this error.
>
> Hi Matthijs,
>
> Thanks for the reply.  You are correct.  If I shutdown slapd first, no
> error is generated.  I can start doing this.  However, I didn't think
> this was necessary.  From the slapcat man page:
>
> "For some backend types, your slapd(8) should not be running (at least,
> not in read-write mode) when you do this to ensure consistency of the
> database. It is always safe to run slapcat  with the slapd-bdb(5),
> slapd-hdb(5), and slapd-null(5) backends."
>
> Is this no longer accurate?
>
> -Bryan
>

Bryan:
Asking one of the OpenLDAP developers.

Quanah, can you comment on this ?

Regards,

Matthijs Mohlmann





More information about the Pkg-openldap-devel mailing list