Oracle 10.2.0.4和10.2.0.5 中 OEM bug 8350262

 

. Bug 问题表现

       2011年安装Oracle 10.2.0.4 10.2.0.5 版本时,在配置OEM的时候会报错。 忽略这个错误后,DB 可以成功创建或者升级。

 

       MOS 上关于这个bug的说明,参考:[ID 1222603.1]

      

       bug 的表现为DBCADBUA 配置失败:

 

       Database Configuration Assistant (DBCA) and Database Upgrade Assistant (DBUA) will report the following error in the console:

Could not complete the Enterprise Manager configuration.
Enterprise manager configuration failed due to the following error –
Error starting Database Control

 

       Enterprise Manager Configuration Assistant (EMCA) will write errors similar to those below to the emca.log file:

CONFIG: Securing Database Control completed successfully .
Jan 2, 2011 7:22:47 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Jan 2, 2011 7:22:47 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Jan 2, 2011 7:22:47 PM oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
CONFIG: Value for env var 'ORACLE_HOSTNAME' is '', discarding the same
CONFIG: Returning env array from cache
Jan 2, 2011 7:22:47 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /myhost/bin/emctl start dbconsole
Jan 2, 2011 7:27:26 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 1
Jan 2, 2011 7:27:26 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
https://myhost:5501/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control
............................................................................................. failed.
------------------------------------------------------------------
Logs are generated in directory /myhost/sysman/log
Jan 2, 2011 7:27:26 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /myhost/bin/emctl start dbconsole
Jan 2, 2011 7:27:26 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Error starting Database Control
Refer to the log file at /myhost/dbua/d4/upgrade/emConfig.log for more details.
Jan 2, 2011 7:27:26 PM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Error starting Database Control
at oracle.sysman.emcp.EMDBPostConfig.performUpgrade(EMDBPostConfig.java:763)
at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:232)
at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:193)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:184)
at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:436)
at oracle.sysman.assistants.util.em.EMConfigStep.executeImpl(EMConfigStep.java:140)
at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
at oracle.sysman.assistants.util.step.BasicStep.callStep(BasicStep.java:251)
at oracle.sysman.assistants.dbma.backend.EMConfigStep.executeStepImpl(EMConfigStep.java:104)
at oracle.sysman.assistants.dbma.backend.SummarizableStep.executeImpl(SummarizableStep.java:175)
at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2488)

at java.lang.Thread.run(Thread.java:534)


The EMCA console will display output similar to the following:

aime@myhost09 db_1]$ bin/emca -config dbcontrol db -repos recreate -cluster
STARTED EMCA at Jan 11, 2011 4:11:01 PM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.

Enter the following information:
Database unique name: catest
Database Control is already configured for the database catest
You have chosen to configure Database Control for managing the database catest

This will remove the existing configuration and the default settings and perform a fresh configuration
Do you wish to continue? [yes(Y)/no(N)]: Y
Listener port number: 1521
Cluster name: mycluster
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):

........

Jan 11, 2011 4:18:05 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
Jan 11, 2011 4:19:31 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Jan 11, 2011 4:28:38 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Error starting Database Control
Refer to the log file at /myhost/oracle/product/10.2.0/db_1/cfgtoollogs/emca/catest/emca_2011-01-11_
04-11-01-PM.log for more details.
Could not complete the configuration. Refer to the log file at /myhost/oracle/product/10.2.0/db_
1/cfgtoollogs/emca/catest/emca_2011-01-11_04-11-01-PM.log for more details.

 

 

.  Oracle 对这个bug原因的说明:

       In Enterprise Manager Database Control with Oracle Database 10.2.0.4 and 10.2.0.5, the root certificate used to secure communications via the Secure Socket Layer (SSL) protocol will expire on 31-Dec-2010 00:00:00. The certificate expiration will cause errors if you attempt to configure Database Control on or after 31-Dec-2010. Existing Database Control configurations are not impacted by this issue.

       If you plan to configure Database Control with either of these Oracle Database releases, Oracle strongly recommends that you apply Patch 8350262 to your Oracle Home installations before you configure Database Control. Configuration of Database Control is typically done when you create or upgrade Oracle Database, or if you run Enterprise Manager Configuration Assistant (EMCA) in standalone mode.


Note the following:

       1The issue impacts configuration of Database Control with Oracle Database 10.2.0.4 and 10.2.0.5 only. It does not impact database creation or upgrade.

       2The issue does not impact existing Database Control configurations.

       3Application of Patch 8350262 does not require any database downtime

 

 

 

这个Patch 不受平台限制。

 

 

. 解决该问题步骤

       如果是在创建实例之前就把该patch给打上了,那么在创建OEM的时候不会受影响。

      

       如果是已经报错了,解决步骤如下:

 

For Single Instance

1. 使用Opatch 安装Patch 8350262

2. force stop the Database Control (dbconsole) process using the killDBConsole script bundled with the patch. Note that the dbconsole process cannot be stopped using the emctl stop dbconsole command, as EMCTL is unable to connect to the process.

       1Set the ORACLE_HOME and ORACLE_SID environment variables.

       2Execute <PATCH_HOME>/killDBConsole.

       --windows 平台省略这一步

3.  Re-secure Database Control with the following command:
       <ORACLE_HOME>/bin/emctl secure dbconsole -reset

4.  Re-start Database Control with the following command:
       <ORACLE_HOME>/bin/emctl start dbconsole

 

 

For RAC Instance

1. 使用Opatch 安装Patch 8350262, 在一个节点安装就ok了。

2.  force stop the Database Control (dbconsole) process by executing the killDBConsole script bundled with the patch on each node in the cluster

       在所有节点执行

       1Set the ORACLE_HOME and ORACLE_SID environment variables.

       2Execute <PATCH_HOME>/killDBConsole.

       --windows 平台省略这一步

3. Re-secure Database Control on the first cluster node with the following command:
       <ORACLE_HOME>/bin/emctl secure dbconsole -reset

4. Re-secure Database Control on the remaining cluster nodes with the following command. Note that the -reset switch is not included with this command:
       <ORACLE_HOME>/bin/emctl secure dbconsole

5.  Re-start Database Control by executing the following command on each node in the cluster:
       <ORACLE_HOME>/bin/emctl start dbconsole

 

 

 

 

 

-------------------------------------------------------------------------------------------------------

Blog http://blog.csdn.net/tianlesoftware

Email: dvd.dba@gmail.com

DBA1 群:62697716();   DBA2 群:62697977()   DBA3 群:62697850()  

DBA 超级群:63306533();  DBA4 群: 83829929  DBA5群: 142216823   

DBA6 群:158654907  聊天 群:40132017   聊天2群:69087192

--加群需要在备注说明Oracle表空间和数据文件的关系,否则拒绝申请

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/464875.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

C语言不调用库函数画直线

昨天写了一个代码&#xff0c;使用C语言画三角形&#xff0c;既然写了那个&#xff0c;那就继续画一条直线&#xff0c;这个也很有意思。C语言不调用库函数画一个三角形直线的方程是如下图所示— — 斜率的范围(-∞,∞)既然知道公式了&#xff0c;我们就直接上代码吧&#xff0…

Shell教程

shell编程 shell历史执行脚本基本语法 变量文件名代换Globbing命令代换算术代换转义字符单引号双引号Shell脚本语法 条件测试条件分支 ifthenelifelseficaseesac循环 fordodonewhiledodonebreak和continue位置参数和特殊变量输入输出 echo管道tee文件重定向函数Shell脚本调试方…

澄海口袋机器人_汕头澄海三名11岁小学生发明功夫茶机器人

“工夫茶机器人”由三个11岁的小学生发明。“工夫茶机器人”大洋网讯 潮汕人爱喝工夫茶&#xff0c;可冲泡工夫茶容易烫手且费时&#xff0c;如何优雅地泡一杯工夫茶&#xff1f;来自汕头澄海的三名11岁小学生给出了自己的答案&#xff1a;只要按下按钮或下达声控指令&#xff…

POS机C井例子代码(2)

详细代码 using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.Text; namespace POS机C井例子代码 { /// <summary> /// Form2 的摘要说明。 /// </summa…

尘埃落定,初心未改——一个大学生的电子大赛感悟

大家好&#xff0c;我是写代码的篮球球痴这篇文章是一位参加电子竞赛的总结文章&#xff0c;分享给大家。也欢迎更多的读者给我投稿&#xff0c;采纳后会有礼物赠送。01.一腔热血定乾坤2020年&#xff0c;怀着一腔热血踏入大学。比起高中那个被学业充斥的时代&#xff0c;迈入大…

ik分词和jieba分词哪个好_Python 中文 文本分析 实战:jieba分词+自定义词典补充+停用词词库补充+词频统计...

&#xfeff;最近项目需要&#xff0c;实现文本的词频分析&#xff0c;折腾了几天才完成任务&#xff0c;有点成就感&#xff0c;最后整理总结一下这部分的内容&#xff0c;希望更多同僚受益。一.使用前准备环境&#xff1a;Python3.6安装结巴&#xff1a;pip install jiaba下载…

基于智能手机Android平台音乐播放器全程开发实战

基于android开发的智能手机平台的应用越来越多,目前也是一块比较热门的技术,本项目为基于android系统的音乐播放器项目,学习本项目的目的是为了让学员尽快掌握android领域的小应用的开发.项目从需求分析起步,完善了音乐播放器的所有功能,课程讲解深刻。 项目描述: 1、支持音乐在…

RAC集群故障恢复CRS-4047,CRS-4000

知识点&#xff1a; RAC是real application clusters的缩写&#xff0c;译为“实时应用集群”&#xff0c;是高可用性的一种&#xff0c;也是Oracle数据库支持网格计算环境的核心技术。 主要作用&#xff1a; (1)多节点负载均衡; (2)提供高可用&#xff1a;故障容错和无缝切换功…

急用物料怎么办???

咱们硬件工程师&#xff0c;一般都属于研发部。既然是研发&#xff0c;那么就具有一点研究的性质&#xff0c;有可能遇到预想不到的问题&#xff0c;在解决这些问题的过程中&#xff0c;难免会突然要用到一些器件。这时问题就来了&#xff0c;公司没有这个器件啊&#xff0c;但…

python 分位数计算代码_Python数据分析第十一节 数据运算

数据运算不仅仅是加减乘除的基本运算&#xff0c;还要包括数据的比较&#xff0c;汇总和相关性的计算等等&#xff0c;这一节我们将计算的问题帮大家汇总出来&#xff5e;目录一. 加减乘除运算二. 比较运算三. 汇总运算count 非空值计数sum 求和其他(均值&#xff0c;最大最小值…

熊猫“大虾”-03/07/2011开始修炼

终于准备好把日常的一些学习的过程记录下来&#xff0c;对于每一个新手&#xff0c;学习才能使我们进步&#xff0c;我也会好好的打理我的51cto Blog&#xff0c;多写写一些实际学习的过程&#xff0c;与大家一起分享、一起交流、一起学习、一起进步&#xff0c;感谢Blog的前辈…

自己动手写一个 strace

这次主要分享一下一个动手的东西&#xff0c;就是自己动手写一个 strace 工具。用过 strace 的同学都知道&#xff0c;strace 是用来跟踪进程调用的 系统调用&#xff0c;还可以统计进程对 系统调用 的统计等。strace 的使用方式有两种&#xff0c;如下&#xff1a;strace 执行…

在Asp.net网页中使用接口

在开发Asp.net时&#xff0c;我们会经常有应用MasterPage或是WebUserControl。这样会遇上一个问题&#xff0c;需要在aspx去找MasterPage或是WebUserControl内的对象&#xff0c;或是从aspx传值给它们。比如一个WebUserControl被aspx调用之后&#xff0c;它产生的ID会随着aspx的…

xss绕过尖括号和双括号_xss挑战平台练习

-------------------------XSS挑战之旅-------------------------最近在学习xss&#xff0c;找到了一个xss练习平台&#xff0c;在线地址&#xff1a;http://test.xss.tv/实验环境也可以本地搭建&#xff0c;不过需要phpmysql的环境&#xff1a;xss通关小游戏&#xff1a;https…

18.设计模式

单例模式 保证类在内存中只有一个对象使用原则 私有构造方法(不让其它类来创建本类对象) 在本类中创建一个本类对象或向外提供一个创建本类对象的共有方法编码方式 饿汉模式 class Singleton { //1,私有构造函数 private Singleton(){} //2,创建本类对象 private static Single…

上世纪八九十年代的收录放音机拆解

头条看到刘工发的收录放音机美图&#xff0c;发上来大家回忆下&#xff0c;大家跟这些老古董有什么故事&#xff1f;推荐阅读&#xff1a;专辑|Linux文章汇总专辑|程序人生专辑|C语言我的知识小密圈关注公众号&#xff0c;后台回复「1024」获取学习资料网盘链接。欢迎点赞&…

String in Java

转载于:https://www.cnblogs.com/ywxt/p/java_string.html

mysql性能测试

1.测试环境 服务器:CPU:2GHZ,内存:4G,物理机系统:centos 5 32位网络:100Mbps 局域网客户端:CPU:2GHZ,内存:4G系统:centos 5 32位数据量:1000万条记录mysql版本:5.1.51-log测试方法:把mysql挂到DNS软件后面&#xff0c;用bind的测试工具querypref测试测试时&#xff0c;启动五个…

dfs hdfs 修改文件名称_CDH6.3.2生产更换HDFS 数据目录

事情是这样的&#xff0c;楼主刚入职一家新公司&#xff0c;刚开始搭建的集群时ecs只有一个系统盘&#xff0c;集群安装完成运行几天后&#xff0c;分分钟就要爆了&#xff0c;于是申请增加磁盘&#xff0c;就有了下面的操作&#xff0c;生怕操作失误&#xff0c;集群挂了&…

在知乎上泡了这么久,工作、工资、生活还是没有起色是什么原因?

陆游同学在八百多年前就回答了这个问题&#xff1a;纸上觉来终觉浅&#xff0c;绝知此事要躬行。重新解读一遍题主的问题&#xff0c;题主其实想表达的是&#xff1a;泡知乎这么久了生活都没有起色&#xff0c;我TM这么辛苦虔诚地天天泡知乎有毛用&#xff1f;而我们都知道人生…