2 Replies Latest reply: Dec 4, 2012 5:39 AM by 977684 RSS

    ORA-01507: database not mounted when attempting to run emca

    977684
      All,

      I'm working on a renamed host attempting to drop and create the repository so that I can get the Oracle Enterprise Manager running on this host. In doing so, I was able to successfully drop the repository with the following command:
      ./emca -deconfig dbcontrol db -repos drop
      My issue surfaces when i now try to create the repository as follows:
      ./emca -config dbcontrol db -repos create
      .
      .
      .
      Dec 3, 2012 5:55:11 PM oracle.sysman.emcp.EMConfig perform
      SEVERE: No value was set for the parameter DBID.

      The above output was on my screen. When I check the emca logfile, I found the following:

      Dec 3, 2012 5:54:44 PM oracle.sysman.emcp.DatabaseChecks checkDataGuardEnabled
      CONFIG: ORA-01507: database not mounted
      .
      .
      .
      Dec 3, 2012 5:55:11 PM oracle.sysman.emcp.DatabaseChecks getDbid
      CONFIG: ORA-01507: database not mounted

      Does anyone have any input as to what could be the problem?

      Thanks in advance!