--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.
--Quanah
-- Quanah Gibson-Mount Principal Software Developer ITS/Shared Application Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html
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
--On Saturday, October 28, 2006 1:01 PM -0700 Craig White craigwhite@azapple.com wrote:
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
None of that answers why the problem occurred, which is what he is asking. And quite frankly, I've no idea, except maybe the hard drive is starting to fail. I've been using back-bdb with BDB since OpenLDAP 2.1, and never seen the issue he has.
--Quanah
-- Quanah Gibson-Mount Principal Software Developer ITS/Shared Application Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html
openldap-software@openldap.org