11g Agent Upload Fails with "OMS version not checked Yet". (Doc ID 1265052.1)
11g Agent Upload Fails with "OMS version not checked Yet". (Doc ID 1265052.1)
In this Document
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. Symptoms11.1.0.1 Agent fails to upload to OMS with following error message :
EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet. If this issue persists check trace files for ping to OMS related errors.
Cause
The repository URL is incorrect.
From
EMD_URL=http://agent.machine.com:3872/emd/main
REPOSITORY_URL=https://oms.machine.com:7799/em/upload
From
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 : /oracle/product/em/agent11g Agent binaries : /oracle/product/em/agent11g Agent Process ID : 811074 Parent Process ID : 983100 Agent URL : http://agent.machine.com:3872/emd/main/ Repository URL : https://oms.machine.com:7799/em/upload/ Started at : 2010-11-08 13:21:43 Started by user : oracle Last Reload : 2010-11-08 13:21:43 Last successful upload : (none) Last attempted upload : (none) Total Megabytes of XML files uploaded so far : 0.00 Number of XML files pending upload : 68 Size of XML files pending upload(MB) : 33.09 Available disk space on upload filesystem : 16.71% Last attempted heartbeat to OMS : 2010-11-08 13:37:20 Last successful heartbeat to OMS : unknown --------------------------------------------------------------- Agent is Running and Ready => The REPOSITORY_URL is using HTTPS and the EMD_URL is using HTTP.
Both should be HTTPS if the agent was secured successfully.
=> Furthermore, the port specified in the REPOSITORY_URL is incorrect. This is not the correct HTTPS upload port.
To check this, you need to get the OMS HTTPS upload secured port, launch this command on the OMS machine :
Oracle Enterprise Manager 11g Release 1 Grid Control
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved. Enter Enterprise Manager Root (SYSMAN) Password : Console Server Host : omsmachine.domain HTTP Console Port : 7788 HTTPS Console Port : 7799 HTTP Upload Port : 4889 HTTPS Upload Port : 4900 OMS is not configured with SLB or virtual hostname Agent Upload is unlocked. OMS Console is unlocked. Active CA ID: 1
Solution
Important : This note only applies in the case described in the CAUSE section => REPOSITORY_URL is incorrect
$
Note : If it fails for any reason (OMS locked...), continue anyway with next steps.
2. Stop the Agent and Backup the 3. Check REPOSITORY_URL parameter Ensure that the emctl unsecure agent command has changed (in case of success of the command) - the protocol from HTTPS to HTTP - the port was changed from the HTTPS upload secure port to the HTTP unsecured upload port. To get the HTTP and HTTPS upload ports, you need to launch that command : % cd ./emctl status oms -details The following output is shown :
Oracle Enterprise Manager 11g Release 1 Grid Control
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved. Enter Enterprise Manager Root (SYSMAN) Password : Console Server Host : omsmachine.domain HTTP Console Port : 7788 HTTPS Console Port : 7799 HTTP Upload Port : 4889 HTTPS Upload Port : 4900 OMS is not configured with SLB or virtual hostname Agent Upload is unlocked. OMS Console is unlocked. Active CA ID: 1 The correct HTTPS upload port is 4900. The correct HTTP upload port is 4889.
Important :
- If the unsecure agent command has failed for any reason in step 1, or - if the REPOSITORY_URL parameter does not reflect the attended HTTP protocol, and HTTP upload port's value => then proceed with the manual update (see step 4 ). Otherwise, go on Step 5.
4. Update the and - appropriate HTTP upload port is specified in REPOSITORY_URL : So, change REPOSITORY_URL parameter : From https://oms.machine.com: http://oms.machine.com:
Examples :
1) HTTPS Upload port specified was not the correct port and HTTPS protocol is used in REPOSITORY_URL and not in EMD_URL : Change REPOSITORY_URL From https://oms.machine.com:7799/em/upload to http://oms.machine.com:4889/em/upload 2) Correct HTTPS upload secured port is used but, HTTPS is used in REPOSITORY_URL and not in EMD_URL property : Change REPOSITORY_URL From https://oms.machine.com:4890/em/upload to http://oms.machine.com:4889/em/upload 5. Check the OMS Hostname Ensure that the OMS Hostname is well exactly the same as returned in the emctl status oms -details command in Console Server Host parameter.For example, if the Console Server Host parameter has the hostname in the short format (without domain), then the REPOSITORY_URL parameter in emd.properties should also refer to the OMS hostname in the same manner. If the OMS hostname is in the long format (with domain name), then it should be reflected in REPOSITORY_URL.
6. Check emdWalletSrcUrl parameter
Ensure that the emdWalletSrcUrl parameter contains well the correct OMS hostname (same check as step5), and the correct HTTPS upload port (collected in step 3 using emctl status oms -details command ): emdWalletSrcUrl=https://oms.machine.com:
Example :
emdWalletSrcUrl=https://oms.machine.com:4890/em/wallets/emd 7. Re-secure the agent, then test the status and the upload commands to ensure that everything is working well :
$cd
$./emctl secure agent $./emctl upload $./emctl status agent
Note: For Windows platform, the commands are the same, launched from DOS Windows command window.
Note :
The same issue happens for 10g Agents. The solution is similar, please refer and apply the 10g note : Document:422922.1 Agent Upload to OMS Fails if the OMS is Locked in Secure Mode and Agent is not Secured |
|
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-1251914/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Agent Upload to OMS Fails if OMS Locked in Secure,Agent isn't Secured_422922.1AI
- Agent to OMS Communi Fails if Agent is 'Blocked' in 10.2.0.5 Grid Cons_799618.1AIBloC996
- OMS to Agent Comm Fails if IP Address of the Grid Ag Machine is Changed-605009.1AIMac
- Agent to OMS Communi Fails if Agent's REPOSITORY_URL Para has Incorrect_737373.1AI
- GC 11g install fails at OMS config stage-Wrong WLS version used_1135493.1GCAI
- RMAN 11g Import catalog fails RMAN-6429 (Doc ID 457392.1)ImportAI
- EM 12c推送Agent出錯 - OMS_HOST and EM_UPLOAD_PORT is not availableAI
- windows下部署12c oms agent 及清除agentWindows
- Remote Diagnostic Agent (RDA) - RAC Cluster Guide (Doc ID 359395.1)REMGUIIDE
- SQLNET.ALLOWED_LOGON_VERSION (Doc ID 755605.1)SQLGo
- Cluster Verification Check Fails With exectask: not found (Doc ID 1271177.1)AI
- OPEN RESETLOGS FAILS WITH ORA-01577 (Doc ID 953293.1)AI
- Remote Diagnostic Agent (RDA) - Getting Started (Doc ID 314422.1)REM
- OPatch Fails With "OUI-67028:Inventory load failed" (Doc ID 1185246.1)AIUI
- EM GC11.1.0.1 Agent Startup on AIX Fails with Error: nmectl_validate_1386861.1GCAIError
- Agent Startup Fails When the Repository DB Does Not Support TZ of Agent-332131.1AI
- Restore Controlfile from SBT Tape Fails RMAN-6172 (Doc ID 1314134.1)RESTAI
- Install GC Agent 11.1.0.1 fails at Config Agent File secure.log_1273470.1GCAI
- GC Agent Startup Fails on AIX due to Invalid Timezone Setting at OS_825933.1GCAI
- 11g New Feature: Health monitor (Doc ID 466920.1)
- GC 11.1 Install fails at Agent CA while Securing Agent in secure.log_1118270.1GCAIWhile
- RMAN RAC Archivelog Restore Fails with RMAN-20242 (Doc ID 180169.1)HiveRESTAI
- Stopping of RAC Service fails with PRCR-1065 ,CRS-2675 (Doc ID 1599332.1)AI
- OMS Startup Fails during Repository Connection Attempt due to_310772.1AI
- 【GC】重新配置Agent以應對 OMS伺服器的變化GC伺服器
- Automatic Start GC Agent 10.2.0.5 via gcstartup Script fails with sudo_789363.1GCAI
- 11g feature: Flashback Data Archive Guide. (Doc ID 470199.1)HiveGUIIDE
- Database Startup Fails with ORA-01113, ORA-01110 errors (Doc ID 146039.1)DatabaseAIError
- OMS CA:10.2.0.1.0 GC Install Fails with "Error processing emkey-353131.1GCAIError
- GC 10.2.0.1 OMS和Agent連線失敗後的處理過程GC
- EM 12c Cloud Control - Agent Unreachable : Received Key Mismatch from OMS - 3Cloud
- EM 12c Cloud Control - Agent Unreachable : Received Key Mismatch from OMS - 2Cloud
- EM 12c Cloud Control - Agent Unreachable : Received Key Mismatch from OMS - 1Cloud
- (oracle Agent出現以下錯誤) Emd upload error:uploadXMLFiles skipp...OracleErrorXML
- jQuery :checkedjQuery
- Agent Install Fails with Error 'OUI-25031' Due to Environment Settings_380507.1AIErrorUI
- Problem: 10.2 Agent Install On Rac Fails With 'Exceptionmessage=Prkc-1002'AIException
- IDBDatabase.versionDatabase