update to r313530 corrupts OpenLDAP MDB:

From: O. Hartmann <o.hartmann_at_walstatt.org>
Date: Mon, 13 Feb 2017 06:25:01 +0100
On last friday, I upfated a server to CURRENT:
FreeBSD 12.0-CURRENT #49 r313530: Fri Feb 10 00:43:50 CET 2017

after that and a reboot, OpenLDAP wasn't working anymore and quit service with
a error report like:

mdb_db_open: database "dc=something,dc=here"
cannot be opened: Bad File Desciptor (9). Restore from backup!

(I recall this from memory, after dealing with another update of the sources,
the error changed).

Now I receive the error shown below when trying to start OpenLDAP. What
happened here? Is FreeBSD killing MDB databases of LDAP now?

589f8451 mdb_db_open: database "dc=something,dc=here"
cannot be opened: File exists (17). Restore from backup!

Is there any hope of recovering the DB? Or is the advice "Restore from backup!"
bad omen?


Kind regards and thanks in advance,

Oliver
Received on Mon Feb 13 2017 - 04:25:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:10 UTC