Fixing OCI Base DB GI Precheck Error

Edson Edewor Aug 11, 2026, 4:00:02 PM

If you are upgrading an Oracle Cloud Infrastructure (OCI) Base Database Service operating system from Oracle Linux 7 to Oracle Linux 8, you might encounter a roadblock during Grid Infrastructure (GI) prechecks: 'DCS-10045: Validation error encountered: userNames are not unique' (or related DCS agent failures).

While standard DCS troubleshooting guides suggest restarting system services (‘systemctl restart initdcsagent’), this error often persists. In this blog, I’ll dive into why this happens after an OS upgrade and how to resolve it by cleaning up duplicate rows in the local MySQL metastore.

The error below is seen when the GI precheck process is executed.

Fixing OCI Base DB GI Precheck Error

 

Step-by-step procedure to resolve the DCS-10045 error

1. Connect to the MySQL instance on the DBCS

Switch to the root user, connect to local MySQL on port 3306 and switch to SQL mode.

Fixing OCI Base DB GI Precheck Error

2. Identify Duplicate Entries

Run a query to check for duplicate user records across SysInstance_id, userId, userName, and userRole.

If this returns rows with cnt > 1, duplicate records are causing the conflict.

Fixing OCI Base DB GI Precheck Error

3. Deduplicate using a Temporary Table

To remove duplicates safely within a single transaction:

Fixing OCI Base DB GI Precheck Error

Fixing OCI Base DB GI Precheck Error

4. Verify that the user has been created

Fixing OCI Base DB GI Precheck Error

5. Run the GI patch precheck again from the OCI console.

The precheck completes without any DCS-10045 error.

Fixing OCI Base DB GI Precheck Error

For more information, check out our Oracle Cloud Infrastructure Services, or contact us today, and one of our experts will be in touch.