Quanah Gibson-Mount wrote:
--On Thursday, August 13, 2009 7:44 AM -0400 William Jojo
> 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:
--- ./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 )
- if ( setsockopt( s, SOL_TCP, TCP_KEEPCNT,
+ if ( setsockopt( s, SOL_SOCKET, TCP_KEEPCNT,
sizeof(ld->ld_options.ldo_keepalive_probes) ) == AC_SOCKET_ERROR )
@@ -179,7 +179,7 @@
if ( ld->ld_options.ldo_keepalive_interval > 0 )
- if ( setsockopt( s, SOL_TCP, TCP_KEEPINTVL,
+ if ( setsockopt( s, SOL_SOCKET, TCP_KEEPINTVL,
sizeof(ld->ld_options.ldo_keepalive_interval) ) == AC_SOCKET_ERROR )
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
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?
Principal Software Engineer
Zimbra :: the leader in open source messaging and collaboration