Pages

Tuesday 3 January 2012

AGENT UNABLE TO UPLOAD FILES TO GRID REPOSITORY

When a grid control agent was installed during a RAC setup an error showed up at the end of the agent configuration assistant.




The agent was started successfully, but it was not possible to force the agent to have the XML files uploaded to the grid server, it was when the dreaded error "EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet.." showed up.



The problem basically was due to a password typing error during the configuration phase.





The Troubleshooting Procedure Outline was:



Setup the Agent Home environment

export AGENT_HOME=/u01/app/oracle/pruduct/10.2.0/agent10g

export PATH=$AGENT_HOME/bin:$PATH



Startup the Agent

emctl start agent



Clear the Agent status

emctl clearstate agent



Reset Credentials

emctl secure agent



Retry and verify synchronization operations

emctl upload agent

emctl status agent





###

### EM Agent Troubleshooting log

###



$ export AGENT_HOME=/u01/app/oracle/product/10.2.0/agent10g

$ export PATH=$AGENT_HOME/bin:$PATH



$ # Start agent

$ emctl start agent

Oracle Enterprise Manager 10g Release 10.2.0.1.0.

Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.

Starting agent ......... started.

$

$

$ # Trying to force XML files uploading

mct$ emctl upload agent

Oracle Enterprise Manager 10g Release 10.2.0.1.0.

Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.

---------------------------------------------------------------

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





$ # Clear EM Agent status

$ emctl clearstate agent

Oracle Enterprise Manager 10g Release 10.2.0.1.0.

Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.

EMD clearstate completed successfully





$ # Configuring OMS Credentials

$ emctl secure agent

Oracle Enterprise Manager 10g Release 10.2.0.1.0.

Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.

Enter Agent Registration password : *******

Agent successfully stopped... Done.

Securing agent... Started.

Requesting an HTTPS Upload URL from the OMS... Done.

Requesting an Oracle Wallet and Agent Key from the OMS... Done.

Check if HTTPS Upload URL is accessible from the agent... Done.

Configuring Agent for HTTPS in CENTRAL_AGENT mode... Done.

EMD_URL set in /u01/app/oracle/product/10.2.0/agent10g/eg6881.us.oracle.com/sysm

an/config/emd.properties

Securing agent... Successful.

Agent successfully restarted... Done.





$ # Retrying operations

$ emctl status agent

Oracle Enterprise Manager 10g Release 10.2.0.1.0.

Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.

---------------------------------------------------------------

Agent Version : 10.2.0.1.0

OMS Version : 10.2.0.1.0

Protocol Version : 10.2.0.0.0

Agent Home : /u01/app/oracle/product/10.2.0/agent10g/eg6881.us.oracle.com

Agent binaries : /u01/app/oracle/product/10.2.0/agent10g

Agent Process ID : 5307

Parent Process ID : 5260

Agent URL : https://eg6881.us.oracle.com:3872/emd/main

Repository URL : https://eg6876.us.oracle.com:1159/em/upload

Started at : 2008-07-22 15:40:37

Started by user : oracle

Last Reload : 2008-07-22 15:40:37

Last successful upload : 2008-07-22 15:40:58

Total Megabytes of XML files uploaded so far : 0.79

Number of XML files pending upload : 18

Size of XML files pending upload(MB) : 1.86

Available disk space on upload filesystem : 27.54%

Last successful heartbeat to OMS : 2008-07-22 15:40:43

---------------------------------------------------------------

Agent is Running and Ready





$ emctl upload agent

Oracle Enterprise Manager 10g Release 10.2.0.1.0.

Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.

---------------------------------------------------------------

EMD upload completed successfully





$ emctl status agent

Oracle Enterprise Manager 10g Release 10.2.0.1.0.

Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.

---------------------------------------------------------------

Agent Version : 10.2.0.1.0

OMS Version : 10.2.0.1.0

Protocol Version : 10.2.0.0.0

Agent Home : /u01/app/oracle/product/10.2.0/agent10g/eg6881.us.oracle.com

Agent binaries : /u01/app/oracle/product/10.2.0/agent10g

Agent Process ID : 5307

Parent Process ID : 5260

Agent URL : https://eg6881.us.oracle.com:3872/emd/main

Repository URL : https://eg6876.us.oracle.com:1159/em/upload

Started at : 2008-07-22 15:40:37

Started by user : oracle

Last Reload : 2008-07-22 15:40:37

Last successful upload : 2008-07-22 15:41:13

Total Megabytes of XML files uploaded so far : 2.65

Number of XML files pending upload : 1

Size of XML files pending upload(MB) : 0.03

Available disk space on upload filesystem : 27.54%

Last successful heartbeat to OMS : 2008-07-22 15:40:43

---------------------------------------------------------------

Agent is Running and Ready


---------------------------------------------------------------------------------------
HOME
http://koenigocm.blogspot.in/

INSTALL AGENT USING RUNINSTALLER
http://koenigocm.blogspot.in/search/label/INSTALL%20AGENT%20USING%20RUNINSTALLER

INSTALL AGENT USING DEPLOY AGENT METHOD
 http://koenigocm.blogspot.in/search/label/INSTALL%20AGENT%20USING%20DEPLOY%20AGENT%20METHOD

 INSTALL AGENT USING NFS
 http://koenigocm.blogspot.in/search/label/INSTALL%2010.2.0.5%20AGENT%20USING%20NFS



No comments: