在ORLE5.4上安装Grid Control 10.2.0.3时遇到OUI-25031错误

今天在ORLE5.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
--&gt 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”继续,安装成功.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/618537/viewspace-691407/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/618537/viewspace-691407/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值