Recreate the EM repository.

本文记录了Oracle Enterprise Manager 10g (EM 10g) Database Control在启动失败后进行故障排查及配置重建的过程,包括停止和重新创建EM库,调整监听端口,并成功启动EM控制台。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

$ emctl status dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0
Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
http://rac01-ud-us-eqx:1158/em/console/aboutApplication
EM Daemon is not running.
------------------------------------------------------------------
Logs are generated in directory /opt/app/oracle/product/10.2.0/db_1/rac03-ud-us-eqx_RPTS3/sysman/log
$ emctl start dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0
Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
http://rac01-ud-us-eqx:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ............................................................................................. failed.
------------------------------------------------------------------
Logs are generated in directory /opt/app/oracle/product/10.2.0/db_1/rac03-ud-us-eqx_RPTS3/sysman/log

$ emca -config dbcontrol db -repos recreate

STARTED EMCA at Feb 11, 2011 1:49:01 AM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.

Enter the following information:
Database SID: RPTS3
Database Control is already configured for the database RPTS3
You have chosen to configure Database Control for managing the database RPTS3
This will remove the existing configuration and the default settings and perform a fresh configuration
Do you wish to continue? [yes(Y)/no(N)]: yes
Listener port number: 1521
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
-----------------------------------------------------------------

You have specified the following settings

Database ORACLE_HOME ................ /opt/app/oracle/product/10.2.0/db_1

Database hostname ................ rac03-ud-us-eqx
Listener port number ................ 1521
Database SID ................ RPTS3
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............

-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: yes
Feb 11, 2011 1:49:26 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /opt/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/RPTS/emca_2011-02-11_01-49-01-AM.log.
Feb 11, 2011 1:49:30 AM oracle.sysman.emcp.util.PortManager isPortInUse
WARNING: Specified port 5540 is already in use.
Feb 11, 2011 1:49:30 AM oracle.sysman.emcp.util.PortManager isPortInUse
WARNING: Specified port 5520 is already in use.
Feb 11, 2011 1:49:30 AM oracle.sysman.emcp.util.PortManager isPortInUse
WARNING: Specified port 1158 is already in use.
Feb 11, 2011 1:49:30 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Feb 11, 2011 1:49:35 AM oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
Feb 11, 2011 1:58:25 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Feb 11, 2011 1:58:25 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...


Feb 11, 2011 2:16:46 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Feb 11, 2011 2:16:56 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Feb 11, 2011 2:18:40 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Feb 11, 2011 2:18:40 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is http://rac03-ud-us-eqx:1158/em <<<<<<<<<<<
Enterprise Manager configuration completed successfully
FINISHED EMCA at Feb 11, 2011 2:18:40 AM

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值