Creating DBConsole for RAC Database using EMCA Fails with "SEVERE: Dbcontrol Repository already exists" if the SCAN Listener port is Incorrect (Doc ID 2135384.1)

Last updated on JULY 08, 2017

Applies to:

Enterprise Manager for Oracle Database - Version 11.2.0.1 to 11.2.0.4 [Release 11.2]
Information in this document applies to any platform.

Symptoms

When attempting to configure the DBConsole for RAC Database the following error occurs:

SEVERE: Dbcontrol Repository already exists. Fix the error(s) and run EM Configuration Assistant again in standalone mode.

-  Following this procedure does not help:

<Document 1593394.1> : Creating Database Control Using emca Fails with Error: Dbcontrol Repository already exists

-  There are no objects from the previously configured DBConsole setup in the database.
-  After enabling DEBUG level tracing for emca using the steps in <Note 330689.1> : How to Trace / Debug the EMCA Tool in 10g and 11g, and attempting to re-configure the dbconsole for the RAC database, the emca*<timestamp>.log reports:

May 5, 2016 2:37:00 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineRemotely
CONFIG: SQLEngine created successfully and connected
May 5, 2016 2:37:00 PM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
WARNING: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
May 5, 2016 2:37:00 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Scan Listener is not up or database service is not registered with it. Start the Scan Listener and register database service and run 
EM Configuration Assistant again .
Refer to the log file at /u01/oracle/EBSRAC/cfgtoollogs/emca/ORCL/emca_2016_05_05_14_34_57.log for more details.
May 5, 2016 2:37:00 PM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Scan Listener is not up or database service is not registered with it. 
Start the Scan Listener and register database service and run EM Configuration Assistant again .
at oracle.sysman.emcp.ParamsManager.checkListenerStatusForDBControl(ParamsManager.java:3342)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:207)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:160)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:599)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1482)

-  The SCAN listener however is running.

Changes

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms