【EM】重新建立EM Database Control
SQL> select * from dba_roles where role like 'MGMT%';
ROLE PASSWORD
------------------------------ --------
MGMT_USER NO
SQL> select username,default_tablespace from dba_users where account_status='OPEN';
USERNAME DEFAULT_TABLESPACE
------------------------------
------------------------------
SYSTEM SYSTEM
SYS SYSTEM
SYSMAN SYSAUX
DBSNMP SYSAUX
MGMT_VIEW SYSTEM
5 rows selected.
SQL> drop role MGMT_USER;
Role dropped.
SQL> drop user MGMT_VIEW cascade;
User dropped.
SQL> drop user SYSMAN cascade;
User dropped
SQL> drop PUBLIC SYNONYM MGMT_TARGET_BLACKOUTS;
Synonym dropped.
SQL> drop public synonym SETEMVIEWUSERCONTEXT;
Synonym dropped.SQL> select tablespace_name,status from dba_tablespaces;
TABLESPACE_NAME STATUS
------------------------------ ---------
SYSTEM ONLINE
UNDOTBS1 ONLINE
SYSAUX ONLINE
TEMP ONLINE
USERS ONLINE
7 rows selected.
SQL> select tablespace_name,file_name from dba_temp_files;
no rows selectedSQL> alter tablespace temp add tempfile '/u01/app/oracle/oradata/ORCL/tempfile01.dbf' size 50M autoextend on;
Tablespace altered.
SQL> select tablespace_name,file_name from dba_temp_files;
TABLESPACE_NAME FILE_NAME
------------------------------ ------------------------------
TEMP /u01/app/oracle/oradata/ORCL/tempfile01.dbf
好了 ,現在可以重新建立了。注意,還是要執行清除操作。
[oracle@db-dest ~]$ emca -config dbcontrol db -repos create
STARTED EMCA at Apr 28, 2013 5:21:58 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
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 ................ /u01/app/oracle/products/10.2.0.1/db_1
Database hostname ................ db-dest.ocmu.org
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)]: Y
Apr 28, 2013 5:22:15 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/products/10.2.0.1/db_1/cfgtoollogs/emca/ORCL/emca_2013-04-28_05-21-58-PM.log.
Apr 28, 2013 5:22:18 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Apr 28, 2013 5:29:03 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Apr 28, 2013 5:29:23 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Apr 28, 2013 5:31:13 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Apr 28, 2013 5:31:13 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is <<<<<<<<<<<
Enterprise Manager configuration completed successfully
FINISHED EMCA at Apr 28, 2013 5:31:14 PM
紅色部分是需要設定的,還有sys,dbsnmp,sysman的密碼,看到藍色部分,說明重新建立成功了。
這時,可以進行訪問了。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26812308/viewspace-762396/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- EM
- Oracle 19c Database Configure the HTTPS Port for EM ExpressOracleDatabaseHTTPExpress
- ORACLE 11G OCM備考之建立EM與EM登陸異常的處理Oracle
- 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
- CSS 小結筆記之emCSS筆記
- CSS px、em和rem單位CSSREM
- SAS EM(六)時間序列理論
- css中的px、em、rem 詳解CSSREM
- px、em和rem實戰經驗REM
- [論文解讀]Baidu Apollo EM Motion PlannerAI
- intel em64的一個解釋Intel
- 如何感性地理解EM演算法?演算法
- rem和em的用法,你弄懂了嗎?REM
- 三味Capsule:矩陣Capsule與EM路由矩陣路由
- px,em,rem,vw,vh之間的區別REM
- 期望最大化演算法(EM)簡介演算法
- 演算法進階(8): EM演算法演算法
- rem與em的使用和區別詳解REM
- 05EM演算法-高斯混合模型-GMM演算法模型
- 統計學習方法筆記-EM演算法筆記演算法
- python機器學習筆記:EM演算法Python機器學習筆記演算法
- 機器學習經典演算法之EM機器學習演算法
- oracle 11g rac配置em dbconsole ORA-12514Oracle
- [20181112]EM12c agent無法啟動.txt
- 利用Teensy進行EM410x卡模擬以及暴力破解EM410X類門禁系統可行性猜想