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

RE: OpenLDAP not listening on port 389

Thanks for your reply. db_recover made no difference, slapd still finishes

slapd startup: initiated.
backend_startup: starting "dc=ukstokes,dc=com"
bdb_db_open: dbenv_open(/usr/local/openldap/var/openldap-data)

I will try with the different versions of Berkeley DB and OpenLDAP. Just so
you know, the reasons I chose those specific versions is I am trying to
configure a server for Open Exchange, and I know these versions are
compatible with it. Well, according to the HowTo's I am following anyway.


-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of Quanah
Sent: 24 February 2006 17:50
To: openldap-software@OpenLDAP.org
Cc: Ben Stokes
Subject: Re: OpenLDAP not listening on port 389 

--On Friday, February 24, 2006 2:31 PM +0000 Ben Stokes <ben@ukstokes.com> 

> I have installed OpenLDAP (openldap-stable-20050429.tgz) and Berkeley DB
> (db-4.3.28.NC.tar.gz) on Slackware 10.1. Initially it was working well
> and I added a few users, but for some reason now LDAP has stopped
> responding. Port 389 is closed - "netstat -aplunt | grep 389", shows
> nothing and I can't telnet to it. However if I do "ps aux | grep slapd" I
> can see it running.

As noted repeatedly on the list, you use BDB 4.3 with OpenLDAP at your own 
risk.  The recommended version of BDB to use with OpenLDAP is BDB 
4.2.52+patches.  I will also note that BDB 4.3.29 is the current BDB 4.3 
release (although I still wouldn't use it).  BDB 4.4.20+patches has shown 
good results so far in testing, but is not widely used at this time, if you 
don't want to use BDB 4.2.52.

I also note that the current stable release of OpenLDAP is 2.3.19, and the 
current release of OpenLDAP is 2.3.20.  2.2.26 is quite old, and the entire 
2.2 branch has been deprecated for some time.

In your case, I would try recovering the BDB database while slapd is 
stopped (see db_recover) command, and see if that allows slapd to fully 
start.  I would highly recommend upgrading your OL software to the current 
release (2.3.20) and using either BDB 4.2.52 or BDB 4.4.20.


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