重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 3904|回复: 1
打印 上一主题 下一主题

安装grid control到配置oms报oui-25031错误

[复制链接]
跳转到指定楼层
楼主
发表于 2014-2-11 17:33:01 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

Configuration assistant "OMS Configuration" failed
-----------------------------------------------------------------------------
The "/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.

 

 

这个OUI-25031错误是Oracle的一个BUG,只要安装时候的系统日期晚于2010-12-21都会出现,我是在Windows2003上安装GC 10g也碰到这个问题。在网上狂搜后,发现基本有两个解决办法:

(1)安装时修改系统时间使其早于2010-12-31
(2)不退出安装,打补丁patch 8430622后,接着安装,网上有详细教程,这也是2011OCM考试新增的项目,安装grid control时候打补丁

由于网上找不到for windows2003的patch 8430622,只找到Linux,于是我采用的是第一种方法,步骤如下:退出安装,Uninstall所有刚才的安装,重启后修改系统日期到2009-5-14,断网线,然后重新安装grid control,到OMS configuation那里就成功过去了。
用这个方法GC安装成功后就能把时间改回去,插上网线,服务也能启动,在浏览器也能看到,使用上暂时没有发现问题,如果有我会继续跟进。

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

沙发
 楼主| 发表于 2014-2-11 17:39:52 | 只看该作者
以下给出网上在Linux上打补丁patch 8430622解决的方法,此方法我没有验证过:
http://space.itpub.net/618537/viewspace-691407
http://orax.blog.sohu.com/165798145.html
======================================================
今天在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
--> 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”继续,安装成功.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-5-15 00:28 , Processed in 0.090711 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表