在RHEL5.4上安裝Grid Control 10.2.0.3時遇到OUI-25031錯誤

來源:互聯網
上載者:User

在RHEL5.4上安裝Grid Control 10.2.0.3時到OMS配置時,遇到錯誤:
Configuration assistant "OMS Configuration" failed
-----------------------------------------------------------------------------
The "/opt/Oracle/OracleHomes/agent10g/cfgtoollogs/configToolFailedCommands" script. contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script. with passwords (if any) before executing the same.
.


一開始以為是agnet有問題,在網上找了一圈,有人說是由於安裝 Agent 時提供的 "Specify Agent Registration Password" 與實際的 OMS's  "Agent Registration Passwords" 不符造成的,準備按照他的方法先重設 Agent Registration Passwords


後來發現EM打不開,一看原來HTTP_Server沒有啟動
[oracle@cfbgc 8430622]$ cd /opt/oracle/OracleHomes/oms10g/opmn/bin/
[oracle@cfbgc bin]$ opmnctl status


Processes in Instance: EnterpriseManager0.cfbgc.localdomain
-------------------+--------------------+---------+---------
ias-component      | process-type       |     pid | status 
-------------------+--------------------+---------+---------
DSA                | DSA                |     N/A | Down   
HTTP_Server        | HTTP_Server        |   31667 | Down   
LogLoader          | logloaderd         |     N/A | Down   
dcm-daemon         | dcm-daemon         |     N/A | Down   
OC4J               | home               |   31668 | Alive  
OC4J               | OC4J_EM            |   31669 | Alive  
OC4J               | OC4J_EMPROV        |   31679 | Alive  
WebCache           | WebCache           |   24721 | Alive  
WebCache           | WebCacheAdmin      |   31681 | Alive  


啟動HTTP_Server
[oracle@cfbgc bin]$opmnctl startproc ias-component=HTTP_Server
Error
--> Process (pid=24140)
failed to start a managed process after the maximum retry limit
Log:
/u01/app/oracle/product/10.2.0GC/oms10g/opmn/logs/HTTP_Server~1


查看日誌
[error] mod_ossl: Init: Server ysoms01:1159: SSL setup failed: call to nzos_OpenWallet returned error 28750
[error] mod_ossl: Unknown error


Configuration assistant "OMS Configuration" failed
-----------------------------------------------------------------------------
The "/opt/oracle/OracleHomes/agent10g/cfgtoollogs/configToolFailedCommands" script. contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script. with passwords (if any) before executing the same.


是由於安裝 Agent 時提供的 "Specify Agent Registration Password" 與實際的 OMS's  "Agent Registration Passwords" 不符造成的


先重設 Agent Registration Passwords 後再點擊 "Retry" 按鈕重試

 


opmnctl startproc ias-component=HTTP_Server
[error] mod_ossl: Init: Server ysoms01:1159: SSL setup failed: call to nzos_OpenWallet returned error 28750
[error] mod_ossl: Unknown error

 


最後在網上查了下發現這是個bug,需要安裝patch 8430622
注意:升級的時候不要退出之前的安裝畫面
注意:Patch 8430622中描述的ORACLE_HOME在這裡指的是$OMS_HOME
先設定$ORACLE_HOME並停止oms
[oracle@cfbgc OPatch]$ echo $ORACLE_HOME
/opt/oracle/OracleHomes/db10g/
[oracle@cfbgc OPatch]$ export ORACLE_HOME=/opt/oracle/OracleHomes/oms10g/
[oracle@cfbgc OPatch]$ echo $ORACLE_HOME
/opt/oracle/OracleHomes/oms10g/
[oracle@cfbgc OPatch]$ cd ../bin/
[oracle@cfbgc bin]$ ./emctl stop oms
Oracle Enterprise Manager 10g Release 3 Grid Control 
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
Oracle Management Server is Down.


[oracle@cfbgc bin]$ cd /home/oracle/8430622/
[oracle@cfbgc 8430622]$ /opt/oracle/OracleHomes/oms10g/OPatch/opatch apply
Invoking OPatch 10.2.0.3.0


Oracle interim Patch Installer version 10.2.0.3.0
Copyright (c) 2005, Oracle Corporation.  All rights reserved..

 


Oracle Home       : /opt/oracle/OracleHomes/oms10g
Central Inventory : /opt/oracle/oraInventory
   from           : /etc/oraInst.loc
OPatch version    : 10.2.0.3.0
OUI version       : 10.2.0.3.0
OUI location      : /opt/oracle/OracleHomes/oms10g//oui
Log file location : /opt/oracle/OracleHomes/oms10g/cfgtoollogs/opatch/opatch2011-01-02_20-24-43PM.log


ApplySession applying interim patch '8430622' to OH '/opt/oracle/OracleHomes/oms10g'


OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.


Backing up files and inventory (not for auto-rollback) for the Oracle Home
Backing up files affected by the patch '8430622' for restore. This might take a while...
Backing up files affected by the patch '8430622' for rollback. This might take a while...


Patching component oracle.sysman.top.oms, 10.2.0.3.0...
Updating jar file "/opt/oracle/OracleHomes/oms10g/sysman/jlib/emagentSDK.jar" with "/sysman/jlib/emagentSDK.jar/oracle/sysman/eml/sec/util/RootCert.class"
ApplySession adding interim patch '8430622' to inventory


Verifying the update...
Inventory check OK: Patch ID 8430622 is registered in Oracle Home inventory with proper meta-data.
Files check OK: Files from Patch ID 8430622 are present in Oracle Home.


OPatch succeeded.
[oracle@cfbgc 8430622]$
[oracle@cfbgc oms10g]$ cd opmn/
[oracle@cfbgc opmn]$ cd bin/
[oracle@cfbgc bin]$ ./opmnctl stopall
opmnctl: stopping opmn and all managed processes...
[oracle@cfbgc bin]$ cd ..
[oracle@cfbgc opmn]$ cd ..
[oracle@cfbgc oms10g]$ cd bin/
[oracle@cfbgc bin]$ ./emctl secure oms -reset
Oracle Enterprise Manager 10g Release 3 Grid Control 
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
Enter Enterprise Manager Root Password : 輸入sys密碼:test123
Enter Agent Registration password : 輸入agent密碼:abc123
OPMN processes already stopped...   Done.
Securing central oms...   Started.
Checking Repository...   Done.
Checking Em Key...   Done.
Checking Repository for an existing Enterprise Manager Root Key...
WARNING! An Enterprise Manager Root Key already exists in
the Repository. This operation will replace your Enterprise
Manager Root Key.
All existing Agents that use HTTPS will need to be
reconfigured if you proceed. Do you wish to continue and
overwrite your Root Key
(Y/N) ?
Y
Are you sure ? Reset of the Enterprise Manager Root Key
will mean that you will need to reconfigure each Agent
that is associated with this OMS before they will be
able to upload any data to it. Monitoring of Targets
associated with these Agents will be unavailable until
after they are reconfigured.
(Y/N) ?
Y
Generating Enterprise Manager Root Key (this takes a minute)...   Done.
Fetching Root Certificate from the Repository...   Done.
Generating Registration Password Verifier in the Repository...   Done.
Generating Oracle Wallet Password for Enterprise Manager OMS...   Done.
Generating Oracle Wallet for Enterprise Manager OMS...   Done.
Generating Oracle Wallet for iAS HTTP Server...   Done.
Updating HTTPS port in emoms.properties file...   Done.
Generating HTTPS Virtual Host for Enterprise Manager OMS...   Done.
Securing central oms...   Ended.
[oracle@cfbgc bin]$
[oracle@cfbgc bin]$ pwd
/opt/oracle/OracleHomes/oms10g/bin
[oracle@cfbgc bin]$ ./emctl start oms
Oracle Enterprise Manager 10g Release 3 Grid Control 
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
opmnctl: opmn is already running
Starting HTTP Server ...
Starting Oracle Management Server ...
Checking Oracle Management Server Status ...
Oracle Management Server is Up.
[oracle@cfbgc bin]$
再次“Retry”繼續,安裝成功.

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.