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

Re: OpenLDAP won't start





--On Wednesday, May 04, 2005 12:29 PM +0200 Casper Angelo <c.angelo@ofir.com> wrote:

I have a problem with OpenLDAP (2.2.23) on Debian - it won't start, and
I dont seem to get any understandable error :-/ It worked fine until a
couple of days ago. It's in a replication chain, so I suspect that it
recieved som kind of malformed entry from its master.

Just starting it with

   #/etc/init.d/slapd start

Starts the process, but it just goes to 99.9% cpu usage and stays there,
and nothing else happens. I tried waiting to see if it just spend a lot
of time initializing the dbd, but after it ran unchanged for over an
hour i stopped it.

Running slapd in debug mode:

   #slapd -d 1

Shows me that the schemas are loaded properly, and the debug output
stops with this:

------------ begin
slapd startup: initiated.
backend_statup: starting "o=Ofir"
bdb_db_open: dbenv_open(/var/lib/ldap)

------------ end

And after that - nothing but 99.9% load


#lsof -i tcp:ldap

Shows nothing, and thereby reveals that there is no listening ldap

Did you have an unclean shutdown of your slapd process? You may want to try running db_recover in the database directory while slapd is stopped, and then restart slapd.


--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html