During the upgrade of the initialdata, when running the db load (ucybdbld) utility, the load fails and throws an error:
U00000002 EXISTS
or
U00000002 VORHANDEN
This can happen during an upgrade when the db load of UC_UPD.TXT is attempting to load an object into client 0 that was already created, but has a different oh_idnr than it should. For example, if a 21.0.0 system has UC_TRUSTEDCERTS created in client 0, an object that was not introduced until 21.0.7, but was created for some reason, it will be created something like oh_idnr 103180. When the initialdata load for version 21.0.7 or higher is run, the load will:
Get the to the UC_TRUSTEDCERTS object which has a "reserved" oh_idnr of 50051
See if an object with oh_idnr 50051 already exists
Since it does not, it will attempt to insert an object called UC_TRUSTEDCERTS and oh_idnr 50051 into the system
Since an object called UC_TRUSTEDCERTS already exists, a database=4 trace on the load will show an error:
U00003592 UCUDB - Status: '' Native error: '1' Msg: 'ORA-00001: unique constraint (UK_OH_NAME) violated'
The best way to resolve this issue is to restore the database to a working version/backup, log into client 0, and rename the object that shows up in the database=4 traces. This can be found by: