Univention Bugzilla – Bug 49269
Nagios is not always recognizing a drs repl failure
Last modified: 2021-08-30 17:53:53 CEST
Created attachment 9960 [details] nagios.log In a customers environment UCS 4.4-0 e33 the DRS replication was stalled due to an error in re-indexing a restored object. The 'samba-tool drs showrepl' clearly displayed an error while the nagios check stayed completely quite. ============================================================ root@SLAVE:~# samba-tool drs replicate -d1 $(hostname) "$(ucr get ldap/master)" "DC=domain,DC=tld" --full-sync --local Partition[DC=domain,DC=tld] objects[403] linked_values[0] Partition[DC=domain,DC=tld] objects[805] linked_values[0] Partition[DC=domain,DC=tld] objects[1207] linked_values[0] ../../ldb_key_value/ldb_kv_index.c:2338: unique index violation on objectSid in CN=laptop001,OU=Win10,OU=PC,OU=Company Computer,DC=domain,DC=tld, conficts with objectGUID 3f4932c4-e313-436e-a790-5b7a2cee1383 in @INDEX:OBJECTSID::AQUAAAAAAAUVAAAA/7qOp66+13vfhnwLpwgAAA== Failed to apply records: Failed to locally apply remote add of CN=laptop001,OU=Win10,OU=PC,OU=Company Computer,DC=domain,DC=tld: ../../ldb_key_value/ldb_kv_index.c:2506: Failed to re-index objectSid in CN=laptop001,OU=Win10,OU=PC,OU=Company Computer,DC=domain,DC=tld - ../../ldb_key_value/ldb_kv_index.c:2351: unique index violation on objectSid in CN=laptop001,OU=Win10,OU=PC,OU=Company Computer,DC=domain,DC=tld: Operations error Failed to commit objects: WERR_GEN_FAILURE ERROR(runtime): Error replicating DN DC=domain,DC=tld - (31, "Failed to process 'chunk' of DRS replicated objects: WERR_GEN_FAILURE")
Created attachment 9961 [details] drs_showrepl.log
Created attachment 9962 [details] log.samba