Home > Oracle > EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet

EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet

if you encounter the following status


C:\Documents and Settings\SYSMAN>emctl status agent
Oracle Enterprise Manager 10g Release 10.2.0.2.0.
Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.

Agent Version : 10.2.0.2.0
OMS Version : 10.2.0.2.0
Protocol Version : 10.2.0.2.0
Agent Home : D:\oracle\agent10g
Agent binaries : D:\oracle\agent10g
Agent Process ID : 4008
Agent URL : <a href="http://usnapipca20.nalco.one.net:3872/emd/main/">http://USNAPIPCA20.Nalco.One.Net:3872/emd/main/</a>
Repository URL : <a href="http://usnapoems11.nalco.one.net:1159/em/upload/">http://usnapoems11.nalco.one.net:1159/em/upload/</a>
Started at : 2007-06-07 13:55:38
Started by user : SYSTEM
Last Reload : 2007-06-07 13:57:53
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 173
Size of XML files pending upload(MB) : 30.52
Available disk space on upload filesystem : 11.07%
Last attempted heartbeat to OMS : 2007-06-07 17:12:30
Last successful heartbeat to OMS : unknown

Agent is Running and Ready

to fix it do the following

– emctl stop agent
– delete all files in $AGENT_HOME/sysman/emd/upload and $AGENT_HOME/sysman/emd/state
– emctl clearstate agent (this should delete all state files but sometimes it is not enough, but I experienced that it is better to use this command after deletion of the files)
– emctl secure agent (and specify the password on demand)
– emctl start agent

 

If you get the following errors in the emagent.trc file


2012-02-02 10:22:49,970 Thread-58 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"

do the following

Login to Grid Console as sysman user

Navigate to Setup > Agents > [Click on problematic Agent name].

In Agent home page click on “Resycnhronize” Button on right hand top of the page. Choose the ‘Unblock Agent’ option and click [Continue].

Ensure that the Agent is up and running when attempting the Re-synchronization.

Once the re-sycnchronization is completed successfully, the Agent should be able to communicate with the OMS:

[oracle@wndavmhb2o 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

Advertisements
Categories: Oracle
  1. Lajand76@hotmail.com
    September 19, 2012 at 2:40 pm

    Thanks a lot. Your trick worked for me after a wild goose chase from other sites.

    • mikey
      September 19, 2012 at 5:08 pm

      no worries bud , i glad you sorted your problem out

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: