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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle 最新PSU (Doc ID 2118136.2)Oracle
- 【MOS】Creating a PDB ... Fails With ORA-17630 (文件 ID 2090019.1)AI
- expdp/impdp變慢 (Doc ID 2469587.1)
- Reading and Understanding Systemstate Dumps (Doc ID 423153.1)
- Oracle 下載最新psu (Doc ID 2118136.2)Oracle
- RMAN -- Frequently Asked Question (FAQ) (Doc ID 469777.1)
- How to Collect Diagnostics for Database Hanging Issues (Doc ID 452358.1)Database
- PRCT-1011 : Failed to run "oifcfg" (Doc ID 1380183.1)AI
- RMAN restore fails with ORA-01180: can not create datafile 1 (文件 ID 1265151.1)RESTAI
- [轉帖]Release Schedule of Current Database Releases (Doc ID 742060.1)Database
- 【CURSOR】How to Monitor and tune Open and Cached Cursors (Doc ID 1430255.1)
- OMS
- oracle11g: Scheduler Maintenance Tasks or Autotasks (Doc ID 756734.1)OracleAINaN
- 【DBA】Relinking Oracle Home 常見問題 (Doc ID 2048232.1)Oracle
- How To Replicate Data from Oracle to Postgres Using GoldenGate (Doc ID 1544137.1OracleGo
- Physical Standby Switchover_status Showing Not Allowed. (Doc ID 1392763.1)
- patch_id,version, action ,status,action_time,description
- checked屬性值是true還是checked
- 11g-Reduce Transportable Tablespace Downtime using XTTS (Doc ID 1389592.1)TTS
- 11g RAC叢集下agent的作用和說明
- Can GoldenGate Replicate An Oracle Table That Contains Only CLOB Column(s)? (Doc ID 971833.1)GoOracleAI
- 【DATAGUARD】Data Guard 12C 新特性:Far Sync Standby (Doc ID 2179719.1)
- 【GRID】Grid Infrastructure 啟動的五大問題 (Doc ID 1526147.1)ASTStruct
- 12c DG新特性 - Active Data Guard Far Sync (Doc ID 2179719.1)
- OMS Log Files 位置
- ORA-04063: package body SYS.DBMS_REGISTRY_SYS has errors (Doc ID 2165402.1)PackageError
- Yet Another Problem
- Linux7安裝11g 86%報錯:Error in invoking target 'agent nmhs'LinuxError
- 【RAC】Oracle 12c以及以上版本的diagsnap是什麼? (Doc ID 2469643.1)Oracle
- 【ASM】ORA-27504 ORA-27300 ORA-27303 while starting ASM (Doc ID 2281441.1)ASMWhile
- Yet Another Permutation ConstructiveStruct
- Kibana server is not ready yetServer
- Yet Another Intro for SymbolSymbol
- CSS :default與:checked 區別CSS
- 【Oracle】Linux7安裝11g 86%報錯:Error in invoking target 'agent nmhs' of makefileOracleLinuxError
- Yet another intro for localStorage and sessionStorageSession
- Yet Another Intro to Event LoopOOP
- Upload Files
- JavaScript 獲取 checked 屬性值JavaScript