【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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 安裝oracle 10g EM database controlOracle 10gDatabase
- oracle 重建EM databaseOracleDatabase
- oracle重新配置emOracle
- 12c EM Database ExpressDatabaseExpress
- Oracle 11G EM建立Oracle
- oracle 10g em建立Oracle 10g
- oracle11g 重新配置emOracle
- 配置oracle11g EM db controlOracle
- Oracle 10G重建EM DB ControlOracle 10g
- (EM演算法)The EM Algorithm演算法Go
- EM
- 重新建立Grid Control的Repository DatabaseDatabase
- ORACLE_HOSTNAME 未定義,em重新配置Oracle
- ORACLE 11G OCM備考之建立EM與EM登陸異常的處理Oracle
- ORACLE EM recreateOracle
- windows drop emWindows
- 重建oracle EMOracle
- em 和 remREM
- 如何建立Oracle10G EM dbcontrolOracle
- rem與em的區別||結合使用rem與emREM
- Oracle 19c Database Configure the HTTPS Port for EM ExpressOracleDatabaseHTTPExpress
- oracle EM 優化Oracle優化
- em,rem和vhREM
- oracle em 修改埠Oracle
- 建立EM遇到歸檔Hang住ORA-19504
- oracle 10g em db control中如何修改sysman密碼Oracle 10g密碼
- Linux下啟動Oracle database EM及isqlplus等命令LinuxOracleDatabaseSQL
- linux下配置oracle 10G EM Database ConsoleLinuxOracle 10gDatabase
- EM 12c Cloud Control - Agent Unreachable : Received Key Mismatch from OMS - 3Cloud
- EM 12c Cloud Control - Agent Unreachable : Received Key Mismatch from OMS - 2Cloud
- EM 12c Cloud Control - Agent Unreachable : Received Key Mismatch from OMS - 1Cloud
- 04EM演算法-EM演算法收斂證明演算法
- Oracle 19C EMOracle
- px em rem 探討REM
- CSS中強大的EMCSS
- oracle EM配置命令解析Oracle
- EM 失效的處理
- EM和動態ip