On 04 May 2014, at 9:04 PM, Graham Leggett <minfrin(a)sharp.fm> wrote:
serverc insists the following over and over and over:
[04/May/2014:22:00:54 +0200] NSMMReplicationPlugin - replica_replace_ruv_tombstone:
failed to update replication update vector for replica o=Foo,c=ZA: LDAP error - 1
Looking in the source, we find this message thrown as follows:
slapi_pblock_get(pb, SLAPI_PLUGIN_INTOP_RESULT, &rc);
if (rc != LDAP_SUCCESS)
{
if ((rc != LDAP_NO_SUCH_OBJECT && rc != LDAP_TYPE_OR_VALUE_EXISTS) ||
!replica_is_state_flag_set(r, REPLICA_IN_USE))
{
slapi_log_error(SLAPI_LOG_FATAL, repl_plugin_name,
"replica_replace_ruv_tombstone: "
"failed to update replication update vector for replica %s: LDAP
"
"error - %d\n", (char*)slapi_sdn_get_dn (r->repl_root), rc);
}
}
LDAP error "1" is LDAP_OPERATIONS_ERROR, which seems to be the ldap equivalent
of "an error has occurred". There seems to be some kind of mechanism where a
reason string is made available by the underlying code, but this is ignored by the above
code, and the real reason for the error is lost.
Regards,
Graham
--