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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- EM
- em 和 remREM
- rem與em的區別||結合使用rem與emREM
- oracle EM 優化Oracle優化
- 04EM演算法-EM演算法收斂證明演算法
- EM演算法1演算法
- Oracle 19C EMOracle
- px em rem 探討REM
- 03EM演算法-EM演算法流程和直觀案例演算法
- em字型大小參考物件物件
- 4.4 為CDB配置EM ExpressExpress
- 09_EM演算法演算法
- 淺談px,em與remREM
- em、rem、px、的區別REM
- 白話EM演算法演算法
- 隨機森林、EM、HMM、LDA隨機森林HMMLDA
- VMWARE複製虛擬機器之後,需重新配置網路卡(CENTOS 6)虛擬機CentOS
- Docker安裝Oracle11gDockerOracle
- Oracle11g解除安裝Oracle
- oracle11g dataguard切換Oracle
- CSS 小結筆記之emCSS筆記
- CSS px、em和rem單位CSSREM
- ORACLE 11G OCM備考之建立EM與EM登陸異常的處理Oracle
- oracle11g RAC新增節點Oracle
- SAS EM(六)時間序列理論
- css中的px、em、rem 詳解CSSREM
- px、em和rem實戰經驗REM
- readhalt7.4 安裝 oracle11gOracle
- Oracle11g 將於何時推出?Oracle
- oracle11G歸檔日誌管理Oracle
- oracle11g安裝和下載Oracle
- [論文解讀]Baidu Apollo EM Motion PlannerAI
- intel em64的一個解釋Intel
- 如何感性地理解EM演算法?演算法
- rem和em的用法,你弄懂了嗎?REM
- 三味Capsule:矩陣Capsule與EM路由矩陣路由
- redhat7.6安裝Oracle11G RACRedhatOracle
- RedHat上靜默安裝Oracle11gRedhatOracle
- CentOS 7.2靜默安裝Oracle11gCentOSOracle