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

Re: OpenLDAP 2.1.3 and Berkeley DB 4.0.14



Allan:
I did as what you suggested:
    1) look at RedHat RPM installation and find tcp warppers in /usr/include
and /usl/lib
    2) edit file /etc/hosts.allow to add a line 127.0.0.1 localhost and
other hosts via DNS
    3) use the following config command:

     env CPPFLAGS="-I/data/db-4.0.14/include -I/usr/include"
            LDFLAGS="-L/data/db-4.0.14/lib -L/usr/lib"
            ./configure --prefix=/data/openldap-2.1.3
                             --srcdir=/home/xyz/src/openldap-2.1.3
                             --with-wrappers

I was stuck at the same place when running "make test" with the error:
    ldap-bind: Can't contact LDAP server (81)
    Test failed

Could some one help? Thanks.


----- Original Message -----
From: "Alan Sparks" <asparks@doublesparks.net>
To: <batien.duong@dbgroups.com>
Cc: <openldap-software@OpenLDAP.org>
Sent: Friday, July 26, 2002 2:43 PM
Subject: 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>
>
>