Wednesday, June 13, 2007

Quick steps to fix OMS agent problem

Some time when communication between OMS agent and OMS server is interrupted. You have problem to sync up the connection. Common problem/error include,

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

when run
emctl upload

run
emctl status agent

you will get following lines in result,

Last attempted heartbeat to OMS : 2007-06-07 17:12:30
Last successful heartbeat to OMS : unknown

The quick way to clear the problem is going through following steps:
  1. emctl stop agent
  2. delete all files in $AGENT_HOME/sysman/emd/upload and AGENT_HOME/sysman/emd/state
  3. emctl clearstate agent
  4. emctl secure agent
  5. emctl start agent

3 comments:

Anonymous said...

Works great! Thanks a lot!

Anonymous said...

Neither emctl secure agent nor emctl start agent are good syntax (I get the long usage message). So how can I trust the steps?

Yingkuan Liu said...

Of course you need to make sure you are running this against OEM agent installation.
I am pretty sure the syntax is correct.

Otherwise you can check what usage message says.