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: > > [EMAIL PROTECTED] ~]# /usr/sbin/slapd -u ldap -h "ldap:///" -d 128 > @(#) $OpenLDAP: slapd 2.2.13 (Aug 19 2004 21:22:15) $ > > [EMAIL > PROTECTED]:/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
signature.asc
Description: This is a digitally signed message part
