emctl start dbconsole启动失败的解决办法

emctl start dbconsole启动失败的解决办法
故障现象:
启动emctl start dbconsole报错,解决办法:
启动数据库,执行
$oracle@wonder:~> emca -config dbcontrol db -repos recreate

oracle@wonder:~> emca -config dbcontrol db -repos recreate

STARTED EMCA at Dec 7, 2006 9:59:57 PM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle.  All rights reserved.

Enter the following information:
Database SID: orcl
Database Control is already configured for the database orcl
You have chosen to configure Database Control for managing the database orcl
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
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 ................ /home/oracle/u01/app/oracle

Database hostname ................ wonder.site
Listener port number ................ 1521
Database SID ................ orcl
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............

-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: yes
Dec 7, 2006 10:00:16 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /home/oracle/u01/app/oracle/cfgtoollogs/emca/orcl/emca_2006-12-07_09-59-57-PM.log.
Dec 7, 2006 10:00:17 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Dec 7, 2006 10:00:21 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /home/oracle/u01/app/oracle/bin/emctl stop dbconsole
Dec 7, 2006 10:00:21 PM oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
Dec 7, 2006 10:01:45 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Dec 7, 2006 10:01:46 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Dec 7, 2006 10:04:27 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Dec 7, 2006 10:04:35 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Dec 7, 2006 10:06:15 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Dec 7, 2006 10:06:15 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is http://wonder.site:1158/em <<<<<<<<<<<
Enterprise Manager configuration completed successfully
FINISHED EMCA at Dec 7, 2006 10:06:15 PM

重新访问 http://wonder.site:1158/em,好使。

 

你可能感兴趣的:(Oracle技术)