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

标题: EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet [打印本页]

作者: 郑全    时间: 2019-3-23 18:45
标题: EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet
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.



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"



"Upload metric data" button is greyed out.



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





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





作者: 郑全    时间: 2019-3-23 18:46
在重启客户端遇到这个问题:

通过以下方式处理解决:
Login to the grid console >> Setup >> Agents >> Navigate to the problematic agent home page >> Click on Agent resynchronization
作者: 郑全    时间: 2019-3-23 19:12
[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
[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




欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2