[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Crash recovery question





--On Monday, May 09, 2005 9:52 PM +0100 Tom Brown <tom.brown@goodtechnology.com> wrote:

Hi

My box sufferred a kernel panic and this appears to have resulted in my
openldap db being corrupted. Does anyone know the syntax of any tools i
can use to recover the db to a consistent state?

Hi Tom,

You haven't specified the version of OpenLDAP or what database backend you are using. *If* you are using the BDB backend, and OpenLDAP 2.1 or later, you can use db_recover. That should restore the DB to the last point the log files have checkpointed at.

--Quanah


-- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin