Re: [suse-sles-e] LDAP won't start

From: Ralf Haferkamp (rhafer_at_suse.de)
Date: Wed Jun 07 2006 - 10:56:21 CEST


From: Ralf Haferkamp <rhafer@suse.de>
Date: Wed, 7 Jun 2006 10:56:21 +0200
Message-Id: <200606071056.21668.rhafer@suse.de>
Subject: Re: [suse-sles-e] LDAP won't start

On Monday 05 June 2006 13:12, Thijs Hakkenberg wrote:
> Hans du Plooy schreef:
> > Hi guys,
> >
> > After a power outage, on our SLES9SP3 server LDAP won't start. This is
> > all the log say:
> >
> > Jun 5 10:41:12 hercules slapd[7700]: @(#) $OpenLDAP: slapd 2.2.24 (Nov
> > 17 2005 20:57:08) $
> > abuild@levi:/usr/src/packages/BUILD/openldap-2.2.24/servers/slapd
> >
> I had similar problems. I've fixed it with this solution:
> http://lists.suse.com/archive/suse-slox-e/2003-Feb/0098.html
This solution (switching from bdb to ldbm) was meant only for the SLES8 (on
which the SLOX product was based) openldap packages. With the SLES9 openldap
packages there I see no need to switch to ldbm. bdb gives you much better
performance and reliability. However after an unclean shutdown of slapd when
bdb is used you need to execute "db_recover -h <your_database_directory>".
On SLES9 it is possible to have db_recover running from the init script before
each start of the server daemon. Just add "yes" to OPENLDAP_RUN_DB_RECOVER
in /etc/sysconfig/openldap/.

Btw, OpenLDAP 2.3.X does detect itself if it was shutdown uncleanly and then
does the db_recover step itself. SLES9 packages (unsupported) of OpenLDAP
2.3.X are available from ftp://ftp.suse.com/pub/projects/OpenLDAP/ or it
mirrors.

-- 
Ralf Haferkamp
SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg
T: +49-911-74053-0
F: +49-911-74053575 - Ralf.Haferkamp@suse.com
---------------------------------------------------------------------
To unsubscribe, e-mail: suse-sles-e-unsubscribe@suse.com
For additional commands, e-mail: suse-sles-e-help@suse.com


This archive was generated by hypermail 2.1.7 : Wed Jun 07 2006 - 10:56:26 CEST