emca -config dbcontrol db -repos create failed with SEVERE: Error creating the repository (Doc ID 833116.1)

Last updated on DECEMBER 02, 2014

Applies to:

Enterprise Manager Base Platform - Version 10.2.0.2 to 11.2.0.2 [Release 10.2 to 11.2]
Information in this document applies to any platform.
Checked for relevance on 08-Mar-2013


Symptoms

while creating the dbcontrol repository

$emca -config dbcontrol db -repos create

would lead to the following error

<timestamp> oracle.sysman.emcp.EMConfig perform
    SEVERE: Error creating the repository
    Refer to the log file at 
    <ORACLE_HOME>/cfgtoollogs/emca/orcl/emca_<timestamp>.log for
    more details.
    Could not complete the configuration. Refer to the log file at 
    <ORACLE_HOME>/cfgtoollogs/emca/orcl/emca_<timestamp>.log for
    more details.

Checking the following log file <ORACLE_HOME>/cfgtoollogs/emca/emca_repos_*<timestamp>.log, the following error is found:

[21-05-2009 17:39:18] Could not connect to
    SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=<host_name>)(PORT=5501)))(CONNECT_DATA=(SERVICE_NAME=orcl))): ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach)

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