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

Re: OpenLDAP not listening on port 389

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

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