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

在RHEL5.4上安装Grid Control 10.2.0.3时到OMS配置时,遇到错误: Configuration assistant quot;OMS Configurationquot; failed

在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”继续,安装成功.

linux

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至253000106@qq.com举报,一经查实,本站将立刻删除。

发布者:PHP中文网,转转请注明出处:https://www.chuangxiangniao.com/p/1934964.html

(0)
上一篇 2025年2月22日 22:39:46
下一篇 2025年2月22日 22:40:38

AD推荐 黄金广告位招租... 更多推荐

相关推荐

  • Redhat Enterprise Edition 5安装Oracle 11g

    Redhat Enterprise Edition 5安装Oracle 11g 系统安装:     选择尽量多的开发软件,X Windows为必需。 一.创建必要的用户,组和目录    #mkdir -p /u01/Oracle    #g…

    数据库 2025年2月23日
    100
  • Oracle存储过程的格式

    存储过程在程序中是常用的,在项目中我也经常写一些,但是犯了一个错误是,我老是把sql语句的过程,写成一长串sql语句,然后按正 存储过程在程序中是常用的,在项目中我也经常写一些,但是犯了一个错误是,我老是把sql语句的过程,写成一长串sql…

    数据库 2025年2月23日
    100
  • Oracle Manager Server安装配置

    安装oms服务在登陆到oms之前,你必须首先安装oms服务。 启动Oracle universal installer,查看已安装产品,展开oracle主目录–or 安装oms服务在登陆到oms之前,你必须首先安装oms服务。 …

    数据库 2025年2月23日
    100
  • Oracle正常启动OEM或OMS关键

    能否正常启动OEM或OMS关键有以下两点: 第一.Oracle的系统服务是否开启; 第二.登录时用的用户名和口令是否正确。 那么先针 能否正常启动OEM或OMS关键有以下两点: 第一.Oracle的系统服务是否开启; 第二.登录时用的用户名…

    数据库 2025年2月23日
    100
  • Oracle常用sql语法集合

    表: select * from cat; select * from tab; select table_name from user_tables; 视图: select text from u 表:   select * from c…

    数据库 2025年2月23日
    100
  • Oracle中的数据类型和表的管理

    日期类型 date 包含年月日和时分秒 timestamp 这是Oracle9i对date数据类型的扩展 (时间戳)date类型的时间更精确 图片类 日期类型   date 包含年月日和时分秒   timestamp 这是Oracle9i对…

    数据库 2025年2月23日
    100
  • Oracle 11g ASM数据库升级compatible

    我的数据库(asm存储)是11.1升级 11.2的。今天在做延迟段创建时报一定要升级到11.2才能应用此功能。查看我的实例的compatible是 我的数据库(asm存储)是11.1升级 11.2的。 今天在做延迟段创建时报一定要升级到11…

    数据库 2025年2月23日
    100
  • Oracle 生成序列号存储过程

    项目中经常要根据年月日规则生成序列号,简单写了个存储过程可根据需要扩展 一、序列号存储表 — Create tablecreate table SYS_ 项目中经常要根据年月日规则生成序列号,简单写了个存储过程可根据需要扩展 一…

    数据库 2025年2月23日
    100
  • Oracle 10g 监听器启动后停止的解决办法

    今天遇到了监听器启动问题,问题原因是原先机器装Oracle的时候没有问题,后来更改机器名后,监听器就再无法启动了,问题定位是由 oracle 10g 监听器启动后停止的解决办法 [日期:2011-11-29]来源:Linux社区 作者:ti…

    数据库 2025年2月23日
    100
  • Oracle物理读与逻辑读

    Physical Reads(物理读): 逻辑读内容在内存中,不需要读硬盘。 计算公式可以如下:Physical Reads = db block gets + consist Physical Reads(物理读): 逻辑读内容在内存中,…

    数据库 2025年2月23日
    100

发表回复

登录后才能评论