[Pkg-openldap-devel] Bug#598361: slapd: slapcat gives "unclean shutdown detected; attempting recovery" after squeeze upgrade
Walton, Bryan K
bryan-walton at uiowa.edu
Tue Sep 28 14:45:42 UTC 2010
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
More information about the Pkg-openldap-devel
mailing list