My Oracle Support Banner

ORA-2014 adding a new 12c master database to a replication group from an 11g Master Definition Site (Doc ID 2081354.1)

Last updated on AUGUST 03, 2021

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 to 12.1.0.2 [Release 12.1]
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

Adding a new 12c Master Database from an 11.2.0.4 Master Definition Site fails
with the following error:

BEGIN
DBMS_REPCAT.ADD_MASTER_DATABASE(
gname => '"TEST_GRP"',
master => 'MASTER_NAME',
use_existing_objects => TRUE,
copy_rows => TRUE,
propagation_mode => 'ASYNCHRONOUS');
END;
/


BEGIN
*
ERROR at line 1:
ORA-02014: cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc.
ORA-02063: preceding line from DBLINK_MASTER_NAME
ORA-06512: at "SYS.DBMS_REPCAT_MAS", line 1260
ORA-06512: at "SYS.DBMS_REPCAT_MAS", line 2235
ORA-06512: at "SYS.DBMS_REPCAT", line 146
ORA-06512: at line 2

 The problem does not reproduce if the 12c database is the MDS or if the MDS and the MS are both 12c.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.