Brett @Google wrote:
@(#) $OpenLDAP: slapd 2.4.X (Jan 24 2009 20:46:12) $ xxxxxxxx@suse:/home/xxxxxxxx/keep-ldap/openldap-src-RE24/servers/slapd ldap_pvt_gethostbyname_a: host=suse, r=0 daemon_init: ldap://localhost:9013/ daemon_init: listen on ldap://localhost:9013/ daemon_init: 1 listeners to open... ldap_url_parse_ext(ldap://localhost:9013/) daemon: bind(7) failed errno=98 (Address already in use) daemon: IPv6 socket() failed errno=97 (Address family not supported by protocol) slap_open_listener: failed on ldap://localhost:9013/ slapd stopped. connections_destroy: nothing to destroy.
IPV6 is disabled on this host, although the configure by default tries to use it. will try again with --disable-ipv6
IMHO if ipv6 is supported in the binary, but not enabled in the OS, i would think the code would deal with this gracefully..
This is probably simple to duplicate, compile on a system with IPV6, disable ipv6 and run make test..
Why did the first two instances of slapd in this test start successfully? Seems you have a flaky environment, or some other process is actually occupying port 9013 already.
It is certainly unrelated to the original subject of this thread.
On Sat, Jan 24, 2009 at 9:54 PM, Brett @Google <brett.maxfield@gmail.com mailto:brett.maxfield@gmail.com> wrote:
sorry go that back the front, got 1 success and 1 failure on SuSE 10.3 x86_64 SuSE 11.0 i686 tests still running.. On Sat, Jan 24, 2009 at 9:51 PM, Brett @Google <brett.maxfield@gmail.com <mailto:brett.maxfield@gmail.com>> wrote: "make test" works fine on SuSE 10.3 x86_64 .. using default os's bdb 4.5 and also specifically against bdb 4.7 + patches on SuSE 11.0 i686 using bdb 4.7 + patches.. "make test" fails at test047: >>>>> Starting test047-ldap ... running defines.sh Starting slapd on TCP/IP port 9011... Using ldapsearch to check that slapd is running... Using ldapadd to populate the database... Starting slapd on TCP/IP port 9012... Using ldapsearch to check that slapd is running... Using ldapadd to populate the database... Starting slapd on TCP/IP port 9013... Using ldapsearch to check that slapd is running... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... ldapsearch failed (255)! ./scripts/test047-ldap: line 138: kill: (19224) - No such process >>>>> ./scripts/test047-ldap failed (exit 255) make[2]: *** [hdb-yes] Error 255 make[2]: Leaving directory `/home/maxfieb/keep-ldap/openldap-src-RE24/tests' make[1]: *** [test] Error 2 make[1]: Leaving directory `/home/maxfieb/keep-ldap/openldap-src-RE24/tests' make: *** [test] Error 2 Cheers Brett http://www.agaveblue.org/projects/x10/download.html