重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 3054|回复: 3
打印 上一主题 下一主题

[认证考试] EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet

[复制链接]
跳转到指定楼层
楼主
发表于 2019-3-23 18:45:40 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Enterprise Manager 11.1 Agent Upload is Failing With: ERROR-Agent is blocked. Blocked reason is: Agent is out-of-sync with repository (文档 ID 1362430.1)


Applies to:  
Enterprise Manager Base Platform - Version 11.1.0.1 to 11.1.0.1 [Release 11.1]

Information in this document applies to any platform.

Symptoms
Enterprise Manager 11.1.0.1.0 Grid Control Agent fails to upload with the below error:

<PATH>\agent11g\BIN>emctl upload agent
Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet. If this issue persists check trace files for ping to OMS related errors.


  • emagent.trc shows:

2011-09-27 11:09:13,387 Thread-3800 ERROR pingManager: Did not receive valid response to ping "ERROR-Agent is blocked. Blocked reason is: Agent is out-of-sync with repository. This most likely means that the agent was reinstalled or recovered. Please contact an EM administrator to unblock the agent by performing an agent resync from the console. Please contact EM adminstrator to unblock the agent"


  • Login to the grid console >> Setup >> Agents >> Navigate to the problematic agent home page >>

"Upload metric data" button is greyed out.


  • Agent Resynchronization (Setup >> Agents >> Navigate to the problematic agent home page >> Click on Agent resynchronization)  returns:

oracle.sysman.emSDK.emd.comm.CommException: IOException in reading Response :: Connection reset


  • Testing the patching setup (setup >> patching setup >> <enter agent url under " Test URL">/click on test) works correctly.

  • From the OMS box  it is possible to ping the Agent box without any problem

  • The following errors are seen in the $<oms instance home>/gc_inst/em/EMGC_OMS1/sysman/log/emoms.trc:

2011-09-27 13:17:42,866 [EMUI_13_17_40_/console/admin/rep/emdConfig/emdTargetsMain$target=<TARGET_NAME>$type=oracle*_emd] ERROR emdConfig.EmdConfigTargetsData getEmdTargetsList.2043 - IOException in reading Response :: Connection reset
oracle.sysman.emSDK.emd.comm.CommException: IOException in reading Response :: Connection reset
at oracle.sysman.emSDK.emd.comm.EMDClient.parseResponseStream(EMDClient.java:2861)
at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:2578)
at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:2511)
at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:2456)
at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:2405)
at oracle.sysman.emSDK.emd.comm.EMDClient.getMetadataTypes(EMDClient.java:658)


Cause
This issue is logged as an unpublished bug.

Solution
1. Stop the agent:
<AGENT_HOME>/BIN> emctl stop agent


2. Secure the agent which will generate a new key:
<AGENT_HOME>/BIN> emctl secure agent


3.  Start the agent:
<AGENT_HOME>/BIN> emctl start agent


4. Login to the grid console >> Setup >> Agents >> Navigate to the problematic agent home page >> Click on Agent resynchronization

5. Once the Agent resynchronization succeeds,  perform an agent upload:
<AGENT_HOME>/BIN> ./emctl upload




分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

沙发
 楼主| 发表于 2019-3-23 18:46:58 | 只看该作者
在重启客户端遇到这个问题:

通过以下方式处理解决:
Login to the grid console >> Setup >> Agents >> Navigate to the problematic agent home page >> Click on Agent resynchronization
回复 支持 反对

使用道具 举报

板凳
 楼主| 发表于 2019-3-23 19:12:09 | 只看该作者
[oracle@ocm1 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  : 4082
Parent Process ID : 4062
Agent URL         : https://ocm1.sztech.com:1830/emd/main/
Repository URL    : https://ocm2.sztech.com:4900/em/upload
Started at        : 2019-03-23 18:53:40
Started by user   : oracle
Last Reload       : 2019-03-23 19:03:57
Last successful upload                       : 2019-03-23 19:08:29
Total Megabytes of XML files uploaded so far :     2.27
Number of XML files pending upload           :        0
Size of XML files pending upload(MB)         :     0.00
Available disk space on upload filesystem    :    78.62%
Last successful heartbeat to OMS             : 2019-03-23 19:08:19
---------------------------------------------------------------
Agent is Running and Ready
回复 支持 反对

使用道具 举报

地板
 楼主| 发表于 2019-3-23 19:12:30 | 只看该作者
[oracle@ocm2 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  : 4635
Parent Process ID : 4615
Agent URL         : https://ocm2.sztech.com:3872/emd/main/
Repository URL    : https://ocm2.sztech.com:4900/em/upload
Started at        : 2019-03-23 18:55:37
Started by user   : oracle
Last Reload       : 2019-03-23 19:01:05
Last successful upload                       : 2019-03-23 19:08:22
Total Megabytes of XML files uploaded so far :     4.47
Number of XML files pending upload           :        0
Size of XML files pending upload(MB)         :     0.00
Available disk space on upload filesystem    :    66.18%
Last successful heartbeat to OMS             : 2019-03-23 19:08:15
---------------------------------------------------------------
Agent is Running and Ready
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-30 15:08 , Processed in 0.088381 second(s), 19 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表