The coracleanup returns "Registration Failed" message.

Document ID : KB000028837
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

The corautil.log or corautil.log.n(n=numeric) in the $NX_ROOT\bin directory might have like the following log.

Exception:  Duplicate ErrorReason A subschema passed in the same properties with different source UUIDs Old UUID <EXISTED UUID1> New UUID <EXISTED UUID2> __FILE__ coraapi.cpp __LINE__ 5087__DATE__ May 17 2012 __TIME__ 02:38:28

The following SQL query will show you the records that the above error log mentions.

select serial_number, resource_tag, host_name, dns_name,mac_address, resource_name from ca_owned_resource where own_resource_uuid like 0x<EXISTED UUID1> or own_resource_uuid like 0x<EXISTED UUID2>

 

 Solution:

Those two records have the duplicated key on the CORA rule. In order to avoid the problem, it is necessary to modify the existed configuration item without duplicate key. The TEC463228 will provide the PDF material of the CORA rule. Please check it and modify the value on the CI detail screen so as not to duplicate the key.

After fixing the duplication, the problem will not occur by the next coracleanup execution.