应用范围
企业管理器网格控制,版本号:10.1.0.2到11.1.0.1版本
本文适用于任何操作系统平台。
故障症状
代理启动失败,状况如下:
cd /bin
emctl start agent
Oracle Enterprise Manager 10g Release 10.2.0.2.0.
Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
Starting agent ....... failed.
Failed to initialize the Target Manager.
/sysman/log/emagent.trc日志文件内容:
Thread-4143859936 ERROR TargetManager: nmeetm_loadTargets:/sysman/emd/targets.xml does not exist
Thread-4143859936 ERROR main: failed to initialize TargetManager
故障原因
代理的home目录丢失了配置文件:/sysman/emd/targets.xml
此文件对于代理的正常运作至关重要。
故障解决
解决方案1:
1. 从早期的备份中取出targets.xml文件,添加到home目录中。
2. 然后启动代理。
解决方案2:
按照如下步骤重新创建targets.xml文件:
Note 303105.1: Grid Control Target Maintenance: How To Recreate the Targets.xml File in Grid Control 10.1.x
Note 365252.1: Grid Control Target Maintenance: How To Recreate the Targets.xml File in Grid Control 10.2.x Using 'agentca' Commands
按此操作后,启动代理。
参考资料
NOTE:365252.1 - Grid Control Target Maintenance: How To Recreate the Targets.xml File in Grid Control 10.2.x Using 'agentca' Commands
相关产品
* Enterprise Management > Enterprise Manager Consoles, Packs, and Plugins > Enterprise Manager Grid Control > Enterprise Manager Grid Control
关键字
EMCTL START AGENT; TARGETS.XML; ENTERPRISE MANAGER; STARTUP FAILS; CONFIGURATION FILE; GRID CONTROL