oralce11g agent与oms无法连接

2台服务器,一台装GC,另一台安装agent后,发现启动运行都是正常的,但是oms就是找不到agent主机


oracle@devdb1 bin]$ ./emctl status agent

Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0 
Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version     : 11.1.0.1.0
OMS Version       : 11.1.0.1.0
Protocol Version  : 11.1.0.0.0
Agent Home        : /u01/app/oracle/product/middleware/agent11g
Agent binaries    : /u01/app/oracle/product/middleware/agent11g
Agent Process ID  : 15993
Parent Process ID : 15960
Agent URL         : http://devdb1:3872/emd/main/
Repository URL    : https://oms:7799/em/upload/
Started at        : 2015-08-11 21:01:32
Started by user   : oracle
Last Reload       : 2015-08-11 21:05:23
Last successful upload                       : (none)
Last attempted upload                        : (none)
Total Megabytes of XML files uploaded so far :     0.00
Number of XML files pending upload           :       41
Size of XML files pending upload(MB)         :    14.62
Available disk space on upload filesystem    :    27.21%
Last attempted heartbeat to OMS              : 2015-08-11 21:05:42
Last successful heartbeat to OMS             : unknown

---------------------------------------------------------------

从上面可以看出 虽然agent正常运行,但是无法连接到oms


[oracle@devdb1 bin]$ ./emctl secure agent
Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0 
Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
Agent successfully stopped...   Done.
Securing agent...   Started.
Enter Agent Registration Password : 
Agent successfully restarted...   Done.
Securing agent...   Failed.

------------------------------------------------------


[oracle@rac1 ~]$ $AGENT_HOME/bin/emctl upload agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.  
Copyright (c) 1996, 2009 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet.

---------------------------------------------------------------------------------------------------------------

oracle@devdb1 bin]$ ./emctl verifykey
Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0 
Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.


-----------------------------------------------------
verifykey: Successfully Completed communication with agent 
EMD pingOMS error: SSL handshake failure between OMS https://oms:7799/em/upload/ and Agent , err -10


----------------------------------------------------------------------------------------------------------------------------------------

最后发现是SSH握手失败,而造成握手失败的原因是,2台服务器的日期不一起,修改日期后,通信正常了。


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值