现在的位置: 首页 > 综合 > 正文

修改IP后,重新config EM

2012年05月12日 ⁄ 综合 ⁄ 共 2710字 ⁄ 字号 评论关闭

C:\Documents and Settings\Administrator>emca -deconfig dbcontrol db -repos drop

STARTED EMCA at Jul 28, 2009 9:21:30 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: mest
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: y
Jul 28, 2009 9:21:49 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at c:\oracle\product\10.2.0\db_1\cfgtoollog
s\emca\mest\emca_2009-07-28_09-21-30-AM.log.
Jul 28, 2009 9:21:53 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Jul 28, 2009 9:22:39 AM oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
Jul 28, 2009 9:26:05 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Enterprise Manager configuration completed successfully
FINISHED EMCA at Jul 28, 2009 9:26:06 AM

C:\Documents and Settings\Administrator>emca -config dbcontrol db -repos create

STARTED EMCA at Jul 28, 2009 9:29:30 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: mest
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 ................ c:\oracle\product\10.2.0\db_1

Database hostname ................ mes-db2
Listener port number ................ 1521
Database SID ................ mest
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............

-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: y
Jul 28, 2009 9:29:56 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at c:\oracle\product\10.2.0\db_1\cfgtoollog
s\emca\mest\emca_2009-07-28_09-29-30-AM.log.
Jul 28, 2009 9:30:05 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Jul 28, 2009 9:37:48 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Jul 28, 2009 9:37:58 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Jul 28, 2009 9:38:38 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Jul 28, 2009 9:38:38 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is http://mes-db2:1158/em <<<<<<<<<<<

Enterprise Manager configuration completed successfully
FINISHED EMCA at Jul 28, 2009 9:38:38 AM

C:\Documents and Settings\Administrator>

抱歉!评论已关闭.