[Pkg-openldap-devel] Bug#593550: Bug#593550: A fix
Michael Rasmussen
mir at datanom.net
Thu Aug 19 20:41:51 UTC 2010
On Thu, 19 Aug 2010 09:19:55 -0700
Quanah Gibson-Mount <quanah at zimbra.com> wrote:
>
> What version was being migrated from (i.e., what version of BDB was openldap linked against?). If it was prior to BDB 4.8, then you have to do a slapcat/slapadd of the database (I assume that's already being done), but before that, it is critical to completely checkpoint the database via db_recover (one of the steps taken above).
>
I think this is the key question. Apparently the db-tools cannot handle
a migration from <= 4.7 to 4.8 in which case the only reliable way to
do this is slapcat/slapadd.
Luckily the ldap database on this machine is only running in
development mode so it doesn't matter whether it is nuked or not. For a
Lenny->Squeeze upgrade this situation is totally unacceptable so this
needs to be fixed in a way to have the slapcat/sladadd done
automatically or thorough instructions must be presented to the user to
do this manually.
I did not do slapcat/slapadd prior to the upgrade so down slapcat gives
this output every time:
slapcat
hdb_db_open: database "dc=datanom,dc=net": unclean shutdown detected;
attempting recovery.
hdb_db_open: database "dc=datanom,dc=net": recovery skipped in
read-only mode. Run manual recovery if errors are encountered.
--
Hilsen/Regards
Michael Rasmussen
Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
Choose a data representation that makes the program simple.
- The Elements of Programming Style (Kernighan & Plaugher)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-openldap-devel/attachments/20100819/ba840cd7/attachment.pgp>
More information about the Pkg-openldap-devel
mailing list