ITPub博客

首页 > 数字化转型 > ERP > EM 12c Cloud Control - Agent Unreachable : Received Key Mismatch from OMS - 1

EM 12c Cloud Control - Agent Unreachable : Received Key Mismatch from OMS - 1

原创 ERP 作者:tolywang 时间:2015-05-20 16:38:49 1 删除 编辑
环境为 EM Cloud Control 12c,测试MWaaS 。 同事在做完MWaaS中的profile创建, 发现Middleware的主机(target)
在OMS上显示的Agent状态是 unreachable , 查看状态发现 OMS 正常,其他几个target在OMS Console上显示也是正常
的, 没有出现 Agent Unreachable 的提示, 而且正常和不正常的几个target 都是在同一个网段,基本可以排除网络
问题,OMS Server问题也可以排除。 

1.  检查状态为 Agent Unreachable 的主机上的Agent状态

检查agent进程正常
cd  /u01/em12c/agent/agent_inst   (即cd  $AGENT_HOME)
$ ./emctl status  agent 
显示Heartbeat Status : OMS is unreachabled 

尝试重新启动Agent  
$ ./emctl stop   agent 
$ ./emctl start  agent 
$ ./emctl status  agent 
显示状态还是有问题。 


2.  通过 pingOMS 检查Agent与OMS的通信问题 
cd  /u01/em12c/agent/agent_inst   (即cd  $AGENT_HOME)
$ ./emctl  pingOMS 
EMD pingOMS error: Received Key Mismatch from OMS 

根据错误在Metalink上查找原因。通过Agent Unreachable 及 Received Key Mismatch from OMS 查找到解决方案:

"oracle.sysman.emSDK.agent.comm.exception.KeyMismatchException: agent key mismatch" error for 12c agent (文档 ID 1569471.1)

Cause 
The issue is due to secure key mismatch between agent and OMS.
 
Solution 
Issue the following commands for problematic agent from AGENT_HOME/bin: 
emctl stop agent
emctl secure agent
emctl start agent 
Now wait for 5 minutes and check the status of agent : emctl status agent

但是在执行后,等待 5 分钟,还是不行,显示是 Agent Unreachable 。 

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/35489/viewspace-1664166/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Oracle , MySQL, SAP IQ, SAP HANA, PostgreSQL, Tableau 技术讨论,希望在这里一起分享知识,讨论技术,畅谈人生 。

注册时间:2007-12-10

  • 博文量
    5595
  • 访问量
    14695403