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

Quanah Gibson-Mount quanah at zimbra.com
Tue Sep 28 15:00:48 UTC 2010


--On Tuesday, September 28, 2010 9:45 AM -0500 "Walton, Bryan K" 
<bryan-walton at uiowa.edu> wrote:

> 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?

If you run db_recover while slapd is running, you'll likely corrupt your 
database.  However, it is perfectly fine to run slapcat while slapd is 
running.

--Quanah


--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration





More information about the Pkg-openldap-devel mailing list