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

Re: RE24 connection code reworking



@(#) $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..

On Sat, Jan 24, 2009 at 9:54 PM, Brett @Google <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> 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


On Sat, Jan 24, 2009 at 3:43 AM, Quanah Gibson-Mount <quanah@zimbra.com> wrote:
RE24 has had some code reworking in the connections area, due to some race conditions that were being triggered.  It would be useful if people could test current RE24 to see if they encounter issues.  There are still a number of outstanding issues that need to be resolved before 2.4.14 will be released, but I'd appreciate a head start on making sure that at least make test is passing for folks with this new code in place.  So far, it does for both Howard and I, but Michael Ströder has reported failures in his OpenSuSE builds that we can't reproduce.

Thanks,
Quanah

--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration