Monthly Archives: April 2015

oracle 11g- emctl start dbconsole fails on standalone grid

When trying to start dbconsole, I got below error on my linux server

bash-3.00$emctl start dbconsole

Oracle Enterprise Manager 11g Database Control Release 11.2.0.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.

Starting Oracle Enterprise Manager 11g Database Control…………….
………………………………………………………………………………… failed.

Please verify the targets.xml file and notice all the information are correct. If no values in it, then copy the information”agentseed”, EMD_URL and host from your emd.properties file(located under $ORACLE_HOME/<instance name>/sysman/config directory) and add in the targets.xml.

E.g:

<Targets AGENT_SEED=”259930272″>
<Target TYPE=”oracle_emd” NAME=”oracle.test.com:1158″/>
<Target TYPE=”host” NAME=”oracle.test.com”/>
</Targets>

Then, please ensure that database and listener is up and running and run the below commands from oracle Grid home bin directory (e.g in my case /u01/app/oracle/product/11.2.0/grid/bin

emctl stop dbconsole
emca -repos drop
emca -repos create
emca -config dbcontrol db

Leave a comment

Filed under Oracle