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

RE: Problems with starting openldap



Hello,

I have tried the following command
but it did not work out either :-(

>I had similar problems. With my system (Linux 2.4.x with glibc 2.2.2),
the reason were different implementations of the   >getaddrinfo()
function in 2 librararies (IIRC: libc and libbind).

>I help myself by not letting configure search for getaddrinfo:
>  ac_cv_lib_bind_res_query=no \
>  ac_cv_lib_bind___res_query=no \
>  ./configure  [ ....your paramters here ... ]

>With that trick the problem has disappeared in all OpenLDAP versions I
used (ranging from 2.0.23 to 2.1.8).

When I try to start my server it says:

# /usr/local/openldap-2.18/libexec/slapd -4 -n ldap://127.0.0.1 -d -1 -f
/usr/local/openldap-2.18/etc/openldap/slapd.conf
@(#) $OpenLDAP: slapd 2.1.8 (Sam Nov 16 20:35:11 CET 2002) $
        root@server:/home/werner/ldap/openldap-2.1.8/servers/slapd
daemon_init: <null>
daemon_init: listen on ldap:///
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap:///)
slap_get_listener_addresses: getaddrinfo ai_addr is NULL?
slapd stopped.
connections_destroy: nothing to destroy.

Any more hints/suggestions?

Thanks Peter anyway.

Bye,
Werner.