[Date Prev][Date Next]
RE: Problems with starting openldap
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
@(#) $OpenLDAP: slapd 2.1.8 (Sam Nov 16 20:35:11 CET 2002) $
daemon_init: listen on ldap:///
daemon_init: 1 listeners to open...
slap_get_listener_addresses: getaddrinfo ai_addr is NULL?
connections_destroy: nothing to destroy.
Any more hints/suggestions?
Thanks Peter anyway.