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

Re: OpenLDAP 2.1.3 and Berkeley DB 4.0.14



Is there a chance you've compiled with TCP wrappers support?  You may have
to add an entry to your /etc/hosts.allow file for service 'slapd',
allowing localhost (and other network addresses as desired) to get in.

Happened to me.  Failed test 1 off the bat.  Realized it when I saw the
"connection refused" message in the tests/test-db/master.log file.

HTH.
-Alan

BaTien Duong said:
> Thanks for general information about installation issues of OpenLDAP
> 2.1.3 and Berkeley DB 4.0.14. I return to tackle this issue and get
> another road block.
>
> Environment: RedHat Linux 7.3 and 7.2 on Intel
> BDB configured with --prefix=/data/db-4.0.14
> OpenLDAP 2.1.3 is configured as following:
>
>     env CPPFLAGS=-I/data/db-4.0.14/include
>            LDFLAGS=-L/data/db-4.0.14/lib
>            ./configure --prefix=/data/openldap-2.1.3
>                             --srcdir=/home/xyz/src/openldap-2.1.3
>
> The configuration runs without any error of BerkeleyDB version
> imcompatible. So do make depend and make.
>
> However, in the make test, I got the error: Can't contact Ldap server -
> test failed. I remember to read somewhere about extra required
> information, otherwise the slapd will not start. Could someone point me
> to the right info and/or give me a quick solution.
>
> Thanks. This is a great community


===========
Alan Sparks, UNIX/Linux Systems Administrator
<asparks@doublesparks.net>