On Fri, 2005-12-09 at 19:08 +0530, sandeep wrote: > Hi > > My BDB database have problem and slapd is not running . > I had a power failure before the last reboot. > is there any way to repair it ? > > Your reply is very much important. > > see the output: > > [root@ncins1 ~]# /usr/sbin/slapd -u ldap -h "ldap:///" -d 128 > @(#) $OpenLDAP: slapd 2.2.13 (Aug 19 2004 21:22:15) $ > > root@porky.build.redhat.com:/usr/src/build/440386-i386/BUILD/openldap-2.2.13/openldap-2.2.13/build-servers/servers/slapd > bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003) > bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003) > bdb_db_init: Initializing BDB database stop slapd (check with ps auxw | grep slapd) % cd $DIRECTORY_CONTAINING_THE_BDB_DATABASE % db_recover might also be % db4.2_recover then try % slapcat if that produces any reasonable output, start slapd. regards Udo Rader -- bestsolution.at EDV Systemhaus GmbH http://www.bestsolution.at
Attachment:
signature.asc
Description: This is a digitally signed message part