oracle10.2.0.5漏洞,Oracle10.2.0.4和10.2.0.5中OEMbug8350262

5268f80b9b1e01f982625ef6fac83ca1.png

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

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.

does not require any database downtime

359e28909abea29754f8d92329df2bee.gif

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

For Single Instance:

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.

3. Re-secure Database Control with the following command:

/bin/emctl secure dbconsole -reset

4.Re-start Database Control with the following command:

/bin/emctl start dbconsole

For RAC Instance:

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

在所有节点执行

3. Re-secure Database Control on the first cluster nodewith the following command:

/bin/emctl secure dbconsole -reset

4. Re-secure Database Control on the remaining cluster nodeswith the following command. Note that the -reset switch is not included with this command:

/bin/emctl secure dbconsole

/bin/emctl start dbconsole

logo.gif

1428d0e076c3959ab11d28a39bc84fab.png

5268f80b9b1e01f982625ef6fac83ca1.png

本条技术文章来源于互联网,如果无意侵犯您的权益请点击此处反馈版权投诉

本文系统来源:php中文网

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值