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

Re: make test fails: getaddrinfo ai_addr is NULL?



Stig Venaas wrote:

slap_get_listener_addresses: getaddrinfo ai_addr is NULL?
slapd stopped.
connections_destroy: nothing to destroy.


Which getaddrinfo() implementation is this? If Linux, what version of the GNU C library? Have you installed some other library containing getaddrinfo(), for example BIND? In my opinion, your getaddrinfo() is broken.


It is in fact a Linux system. BIND is installed on the system, but that doesn't
seem to be the problem. A `ldd servers/slapd/slapd` returns:
dirkjf@tux:~/openldap-2.0.18$ ldd servers/slapd/slapd
libdb-3.2.so => /usr/lib/libdb-3.2.so (0x40018000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40090000)
libdl.so.2 => /lib/libdl.so.2 (0x400bd000)
libc.so.6 => /lib/libc.so.6 (0x400c1000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


As far as the versions go:
glibc-2.2.2
bind-8.2.3

If you want me to perform some further tests to give you more information
just ask.

 Dirk-Jan