oracle11g 重新配置em
OS:
ORACLE-LINUX 5.7
DB:
11.2.0.3
[oracle@b28-122 ~]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.3.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory /u01/oracle/product/11.2.0/db_1/b28-122.jd.com_yoon/sysman/log
[oracle@b28-122 ~]$ emctl stop dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.3.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
Stopping Oracle Enterprise Manager 11g Database Control ...
... Stopped.
[oracle@b28-122 ~]$ emca -deconfig dbcontrol db
STARTED EMCA at Nov 19, 2013 10:18:08 PM
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003, 2011, Oracle. All rights reserved.
Enter the following information:
Database SID: yoon
Do you wish to continue? [yes(Y)/no(N)]: y
Nov 19, 2013 10:18:16 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/oracle/cfgtoollogs/emca/yoon/emca_2013_11_19_22_18_08.log.
Nov 19, 2013 10:18:16 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Enterprise Manager configuration completed successfully
FINISHED EMCA at Nov 19, 2013 10:18:31 PM
[oracle@b28-122 ~]$ emca -repos drop
STARTED EMCA at Nov 19, 2013 10:18:45 PM
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003, 2011, Oracle. All rights reserved.
Enter the following information:
Database SID: yoon
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
----------------------------------------------------------------------
WARNING : While repository is dropped the database will be put in quiesce mode.
----------------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: y
Nov 19, 2013 10:19:08 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/oracle/cfgtoollogs/emca/yoon/emca_2013_11_19_22_18_45.log.
Nov 19, 2013 10:19:08 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ...
Nov 19, 2013 10:20:38 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Enterprise Manager configuration completed successfully
FINISHED EMCA at Nov 19, 2013 10:20:38 PM
[oracle@b28-122 ~]$ emca -repos create
STARTED EMCA at Nov 19, 2013 10:21:41 PM
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003, 2011, Oracle. All rights reserved.
Enter the following information:
Database SID: yoon
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: y
Nov 19, 2013 10:21:56 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/oracle/cfgtoollogs/emca/yoon/emca_2013_11_19_22_21_41.log.
Nov 19, 2013 10:21:56 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Nov 19, 2013 10:26:39 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Enterprise Manager configuration completed successfully
FINISHED EMCA at Nov 19, 2013 10:26:39 PM
[oracle@b28-122 ~]$ emca -config dbcontrol db
STARTED EMCA at Nov 19, 2013 10:27:06 PM
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003, 2011, Oracle. All rights reserved.
Enter the following information:
Database SID: yoon
Listener port number: 1521
Listener ORACLE_HOME [ /u01/oracle/product/11.2.0/db_1 ]:
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 ................ /u01/oracle/product/11.2.0/db_1
Local hostname ................ b28-122.jd.com
Listener ORACLE_HOME ................ /u01/oracle/product/11.2.0/db_1
Listener port number ................ 1521
Database SID ................ yoon
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: y
Nov 19, 2013 10:27:42 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/oracle/cfgtoollogs/emca/yoon/emca_2013_11_19_22_27_05.log.
Nov 19, 2013 10:27:47 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) ...
Nov 19, 2013 10:28:57 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Nov 19, 2013 10:28:59 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
Nov 19, 2013 10:29:11 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Nov 19, 2013 10:29:11 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Nov 19, 2013 10:30:01 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Nov 19, 2013 10:30:01 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is <<<<<<<<<<<
Nov 19, 2013 10:30:05 PM oracle.sysman.emcp.EMDBPostConfig invoke
WARNING:
************************ WARNING ************************
Management Repository has been placed in secure mode wherein Enterprise Manager data will be encrypted. The encryption key has been placed in the file: /u01/oracle/product/11.2.0/db_1/b28-122.jd.com_yoon/sysman/config/emkey.ora. Ensure this file is backed up as the encrypted data will become unusable if this file is lost.
***********************************************************
Enterprise Manager configuration completed successfully
FINISHED EMCA at Nov 19, 2013 10:30:05 PM
[oracle@b28-122 ~]$ set ORACLE_SID=yoon
[oracle@b28-122 ~]$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.3.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
- An instance of Oracle Enterprise Manager 11g Database Control is already running.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28939273/viewspace-1061512/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle重新配置emOracle
- ORACLE_HOSTNAME 未定義,em重新配置Oracle
- 設定ORACLE11G的EMOracle
- 配置oracle11g EM db controlOracle
- asm重新配置ASM
- 重新配置Domino ServerServer
- 安裝Oracle11g r2 找不到檔案 applications\em.earOracleAPP
- 重新配置OpenFire資料庫資料庫
- 安裝時Oracle11g r2 找不到檔案 applications\em.earOracleAPP
- (EM演算法)The EM Algorithm演算法Go
- EM
- 解除安裝與重新配置GPCC
- Oracle DBConsole重新配置Oracle
- aix刪除網路卡並重新配置AI
- 【EM】重新建立EM Database ControlDatabase
- 重新配置 11gR2 Grid InfrastructureASTStruct
- ORACLE EM recreateOracle
- windows drop emWindows
- 重建oracle EMOracle
- em 和 remREM
- rem與em的區別||結合使用rem與emREM
- oracle EM 優化Oracle優化
- em,rem和vhREM
- oracle 重建EM databaseOracleDatabase
- oracle em 修改埠Oracle
- 04EM演算法-EM演算法收斂證明演算法
- Oracle 19C EMOracle
- px em rem 探討REM
- CSS中強大的EMCSS
- oracle EM配置命令解析Oracle
- EM 失效的處理
- EM和動態ip
- Oracle中EM的配置Oracle
- 重灌 ORACLE 10.2.0.1.0 EMOracle
- 03EM演算法-EM演算法流程和直觀案例演算法
- 重新配置與解除安裝11gR2 Grid InfrastructureASTStruct
- 重新配置與解除安裝 11gR2 Grid InfrastructureASTStruct
- 10G 重新配置Enterprise Manager(刪除repository)