The error looks like this:
Refer to the log file at
D:\Programs\oracle\product\10.2.0\db\cfgtoollogs\emca\orcl\emca_2008-04-16_04-18-02-PM.log
for more details.Apr 16, 2008 4:18:28 PM oracle.sysman.emcp.EMConfig
performCONFIG: Stack Trace: oracle.sysman.emcp.exception.EMConfigException:
Error creating the repository at
oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:194) at
oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:124) at
oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142) at
oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479) at
oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123) at
oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463) at
oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
Then the following commands in %ORACLE_HOME%/bin might help resolve the problem:
Stop you dbconsole service.
emctl status dbconsole
emctl stop dbconsole
Now start the Oracle EM dbconsole Build Script
emca -repos (re)create
emca -config dbcontrol db