##########################
## Error
##########################
OMS version not checked yet.
### Full Error
no_sid @ hostp16:/u01/app/oracle/product/11.2/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.
##########################
# Error Occurred
##########################
Error occured while trying to upload the Agent in 11.1.0.1.0 version of agent
##########################
## Command Executed
##########################
emctl upload agent
##########################
## Issue Description.
##########################
### 11.1.0.1.0
#########################################
# Happened When....
#########################################
Enterprise Manager Grid Agent was installed already on this server, and due to some situation, Agent software was de-installed and it was installed back.
After this Agent Upload to OMS is not working.
#########################################
# Upload of Agent
#########################################
no_sid @ hostp16:/u01/app/oracle/product/11.2/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.
#########################################
# Status of Agent
#########################################
Agent is Up and Running but uploading is not happening.
no_sid @ hostp16:/u01/app/oracle/product/11.2/agent11g/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/11.2/agent11g
Agent binaries : /u01/app/oracle/product/11.2/agent11g
Agent Process ID : 25235
Parent Process ID : 25200
Agent URL : https://hostp16:3872/emd/main/
Repository URL : https://oemp02:1159/em/upload
Started at : 2013-11-20 04:44:02
Started by user : oracle
Last Reload : 2013-11-20 04:44:02
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 27
Size of XML files pending upload(MB) : 5.23
Available disk space on upload filesystem : 66.16%
Last attempted heartbeat to OMS : 2013-11-20 04:49:26
Last successful heartbeat to OMS : unknown
---------------------------------------------------------------
Agent is Running and Ready
no_sid @ hostp16:/u01/app/oracle/product/11.2/agent11g/bin
#########################################
# EM Agent Trace Info..
#########################################
no_sid @ hostp16:/u01/app/oracle/product/11.2/agent11g/sysman/log
> vi emagent.trc
no_sid @ hostp16:/u01/app/oracle/product/11.2/agent11g/sysman/log
2013-11-20 04:58:11,039 Thread-896039232 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"
##########################
## Solution
##########################
Login to EM Grid console,
Setup >> Agents >> hostp16 >>
Now Agent STatus will show as " Agent Unreachable, Agent is Blocked "
Click on "Upload Metric Data" from Upload TAB and it has given failure Message.
Now we have to do Resync of Agent,
Agent Resynchronization (Setup >> Agents >> hostp16 >> Click on Agent resynchronization),
click continue, Once it completes, again click "Upload Metric Data".
Now we can see Agent is uploading DAta's successfully.
no_sid @ hostp16:/u01/app/oracle/product/11.2/agent11g/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/11.2/agent11g
Agent binaries : /u01/app/oracle/product/11.2/agent11g
Agent Process ID : 30627
Parent Process ID : 30594
Agent URL : https://hostp16:3872/emd/main/
Repository URL : https://oemp02:1159/em/upload
Started at : 2013-11-20 04:58:03
Started by user : oracle
Last Reload : 2013-11-20 05:06:11
Last successful upload : 2013-11-20 05:06:43
Total Megabytes of XML files uploaded so far : 0.93
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 : 2013-11-20 05:06:51
---------------------------------------------------------------
Agent is Running and Ready
no_sid @ hostp16:/u01/app/oracle/product/11.2/agent11g/bin
no_sid @ hostp16:/u01/app/oracle/product/11.2/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 completed successfully
no_sid @ hostp16:/u01/app/oracle/product/11.2/agent11g/bin
2 comments:
Solved a similar problem with the help of the above article
Great. Happy Learning!!!
Post a Comment