Quanah Gibson-Mount wrote:
--On Thursday, August 13, 2009 7:44 AM -0400 William Jojo w.jojo@hvcc.edu wrote:
Offending line:
if ( setsockopt( s, SOL_TCP, TCP_KEEPIDLE,
The SOL_TCP option is not defined on AIX. Can this be applied to SOL_SOCKET which is defined?
Howard has fixed this, and it is synced to RE24. Please try again on AIX to confirm. There'll be more sync's coming soon, so just confirmation on this for the moment. Thanks. :)
Ok, this patch should finish the issue:
<snip> --- ./libraries/libldap/os-ip.c.old 2009-08-14 07:56:15.000000000 -0400 +++ ./libraries/libldap/os-ip.c 2009-08-14 07:56:46.000000000 -0400 @@ -162,7 +162,7 @@ if ( ld->ld_options.ldo_keepalive_probes > 0 ) { #ifdef TCP_KEEPCNT - if ( setsockopt( s, SOL_TCP, TCP_KEEPCNT, + if ( setsockopt( s, SOL_SOCKET, TCP_KEEPCNT, (void*) &ld->ld_options.ldo_keepalive_probes,
sizeof(ld->ld_options.ldo_keepalive_probes) ) == AC_SOCKET_ERROR ) { @@ -179,7 +179,7 @@ if ( ld->ld_options.ldo_keepalive_interval > 0 ) { #ifdef TCP_KEEPINTVL - if ( setsockopt( s, SOL_TCP, TCP_KEEPINTVL, + if ( setsockopt( s, SOL_SOCKET, TCP_KEEPINTVL, (void*) &ld->ld_options.ldo_keepalive_interval,
sizeof(ld->ld_options.ldo_keepalive_interval) ) == AC_SOCKET_ERROR ) { </snip>
Also, on test test058-syncrepl-asymmetric I have seen (since 2.4.15 - and reported by others):
... Using ldapsearch to check that central master received second site1 backend... Waiting 1 seconds for syncrepl to receive changes... Waiting 2 seconds for syncrepl to receive changes... Waiting 3 seconds for syncrepl to receive changes... Waiting 4 seconds for syncrepl to receive changes... Waiting 5 seconds for syncrepl to receive changes... ERROR: Second site1 backend not replicated to central master ... Found 2 errors
Exiting with a false success status for now
./scripts/test058-syncrepl-asymmetric completed OK for hdb.
Should this just be ignored?
Cheers, Bill
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc
Zimbra :: the leader in open source messaging and collaboration