(Answer) (Category) OpenLDAP Faq-O-Matic : (Category) OpenLDAP Software FAQ : (Category) Installation : (Category) Platform Hints : (Category) IBM AIX : (Answer) Problems with "make test"
On AIX 4.3 OpenLDAP will build with IPv6 support. One difference is that it uses getaddrinfo() instead of gethostbyname(). When running the tests, slapd will fail to start and the master.log file will contain:
   daemon: getaddrinfo failed: Host not found
even though it's only looking for "localhost".
The problem is actually not with the hostname, but with the port numbers. The test servers start with port number 9009 or 9010, and AIX getaddrinfo expects any passed in port numbers to correspond to a valid entry in /etc/services.
hyc@openldap.org
[Append to This Answer]
Previous: (Answer) AIX Linking Problems
Next: (Answer) New Item
This document is: http://www.openldap.org/faq/index.cgi?file=786
[Search] [Appearance]
This is a Faq-O-Matic 2.721.test.
© Copyright 1998-2013, OpenLDAP Foundation, info@OpenLDAP.org