EMCA Fails With Error "SEVERE: Error updating <ORACLE_HOME>/sysman/emd/targets.xml" (Doc ID 437224.1)

Last updated on AUGUST 22, 2013

Applies to:

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

Symptoms

Enterprise Manager 10g, Database Control is failing to be configured using emca with errors of the following form being reported in emca_<TIMESTAMP>.log:

<TIMESTAMP> oracle.sysman.emcp.EMAgentConfig updateTargets
SEVERE: No 
targets.xml file at 
<ORACLE_HOME>/sysman/emd/targets.xml
<TIMESTAMP> 
oracle.sysman.emcp.EMAgentConfig updateTargets
CONFIG: Stack 
Trace:
oracle.sysman.emSDK.conf.TargetAdditionException: No targets.xml file 
at
<ORACLE_HOME>/sysman/emd/targets.xml
at 
oracle.sysman.emSDK.conf.TargetInstaller.addTargetInt(TargetInstaller.java:1145)
...
<TIMESTAMP> 
oracle.sysman.emcp.EMConfig perform
SEVERE: Error updating <ORACLE_HOME>/sysman/emd/targets.xml
Refer to the log file at 
<ORACLE_HOME>/cfgtoollogs/emca/<ORACLE_SID>/emca_<TIMESTAMP>.log for more details.
<TIMESTAMP> oracle.sysman.emcp.EMConfig 
perform CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Error updating 
<ORACLE_HOME>/sysman/emd/targets.xml
at oracle.sysman.emcp.EMAgentConfig.updateAgentConfigFiles(EMAgentConfig.java:2604)
at oracle.sysman.emcp.EMAgentConfig.performConfiguration(EMAgentConfig.java:1196)



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