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

Re: incomplete slapcat



Quanah Gibson-Mount wrote:
--On Tuesday, October 03, 2006 3:35 PM -0700 Bryan Irvine <sparctacus@gmail.com> wrote:

On 10/3/06, Robert Petkus <rpetkus@bnl.gov> wrote:
Folks,
We had a major meltdown of LDAP this morning.  I understood why, but the
problem was restoring the database.  slapcat, no matter how invoked,
would simply not dump the full contents of the database.  I needed to do
a ldapsearch -L.  This one doesn't make sense to me -- any ideas??
openldap-2.3.24
db4-4.2.52

tried db4_recover yet?

Starting slapd would have run recovery. I thought running slapcat would too. But that's why I wanted to know what type of meltdown happened.

Not any more. Due to other complaints about slapcat unexpectedly leaving DB environment files owned by root or some other unintended userID, slapcat no longer performs recovery, it is strictly a read-only command. But yes, slapd would have run recovery if needed.


--
  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc
  OpenLDAP Core Team            http://www.openldap.org/project/