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

Re: error with slapcat



On Sat, 2006-10-28 at 11:42 -0700, Quanah Gibson-Mount wrote:
> 
> --On Saturday, October 28, 2006 7:47 PM +0200 Mohamed AR 
> <midomath@gmail.com> wrote:
> 
> >
> > I'm using BDB
> > I need to know is this problem related to openldap or bdb
> > and what cause of this problem
> > I restored my data from backup and now it's working
> 
> If you wish continued help, please keep replies to the list.
> 
> Frankly, you supplied no information that helps one determine the cause of 
> the problem.  I understand you are using sleepycat BDB as your database 
> software.  Which OpenLDAP database backend are you using?  See the 
> "database XXX" part of slapd.conf.  It would be one of ldbm, bdb, or hdb.
> 
> 
> In any case, you are using ancient versions of the OpenLDAP software, with 
> many known (and since fixed) bugs.  2.2.13 had many serious problems, 
> including security holes.  You really should be upgrade to at least 2.2.30.
----
Assumptions:
 - red hat based system (RHEL 4.x - CentOS 4.x)
 - data by default is located /var/lib/ldap
 - data by default is bdb

su - 
cd /var/lib/ldap
/sbin/service ldap stop
/usr/sbin/slapd_db_recover
/sbin/service/ldap start

Then you should be able to slapcat

Craig