如何手工重建10g database console
以下紅色字型表示要求我們輸入的資訊。
1) 使用emca -deconfig dbcontrol db命令刪除db console的配置:
[oracle@ocm ~]$ emca -deconfig dbcontrol db
STARTED EMCA at Sep 4, 2007 5:00:09 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: prod
Do you wish to continue? [yes(Y)/no(N)]: yes
Sep 4, 2007 5:00:18 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/prod/emca_2007-09-04_05-00-09-PM.log.
Sep 4, 2007 5:00:20 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Enterprise Manager configuration completed successfully
FINISHED EMCA at Sep 4, 2007 5:00:46 PM
2) 使用emca -repos drop刪除EM資訊庫
[oracle@ocm ~]$ emca -repos drop
STARTED EMCA at Sep 4, 2007 5:01:10 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: prod
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: y
Sep 4, 2007 5:01:24 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/prod/emca_2007-09-04_05-01-09-PM.log.
Sep 4, 2007 5:01:24 PM oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
Sep 4, 2007 5:05:19 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Enterprise Manager configuration completed successfully
FINISHED EMCA at Sep 4, 2007 5:05:19 PM
3) 使用emca -repos create來建立資訊庫
[oracle@ocm ~]$ emca -repos create
STARTED EMCA at Sep 4, 2007 5:06:42 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: prod
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
Sep 4, 2007 5:06:53 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/prod/emca_2007-09-04_05-06-42-PM.log.
Sep 4, 2007 5:06:53 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Sep 4, 2007 5:12:17 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Enterprise Manager configuration completed successfully
FINISHED EMCA at Sep 4, 2007 5:12:17 PM
4) 使用emca -config dbcontrol db建立配置資訊
[oracle@ocm ~]$ emca -config dbcontrol db
STARTED EMCA at Sep 4, 2007 5:13:16 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: prod
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/product/10.2.0/db_1
Database hostname ................ ocm
Listener port number ................ 1521
Database SID ................ prod
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: y
Sep 4, 2007 5:13:39 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/prod/e mca_2007-09-04_05-13-16-PM.log.
Sep 4, 2007 5:13:40 PM oracle.sysman.emcp.DatabaseChecks performReposChecks
WARNING: 'shared_pool_size' must be greater than or equal to 80 MB.
Sep 4, 2007 5:13:55 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Sep 4, 2007 5:15:49 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Sep 4, 2007 5:15:57 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is http://ocm:1158/em <<<<<<<<<<<
Enterprise Manager configuration completed successfully
FINISHED EMCA at Sep 4, 2007 5:15:58 PM
1) 使用emca -deconfig dbcontrol db命令刪除db console的配置:
[oracle@ocm ~]$ emca -deconfig dbcontrol db
STARTED EMCA at Sep 4, 2007 5:00:09 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: prod
Do you wish to continue? [yes(Y)/no(N)]: yes
Sep 4, 2007 5:00:18 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/prod/emca_2007-09-04_05-00-09-PM.log.
Sep 4, 2007 5:00:20 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Enterprise Manager configuration completed successfully
FINISHED EMCA at Sep 4, 2007 5:00:46 PM
2) 使用emca -repos drop刪除EM資訊庫
[oracle@ocm ~]$ emca -repos drop
STARTED EMCA at Sep 4, 2007 5:01:10 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: prod
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: y
Sep 4, 2007 5:01:24 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/prod/emca_2007-09-04_05-01-09-PM.log.
Sep 4, 2007 5:01:24 PM oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
Sep 4, 2007 5:05:19 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Enterprise Manager configuration completed successfully
FINISHED EMCA at Sep 4, 2007 5:05:19 PM
3) 使用emca -repos create來建立資訊庫
[oracle@ocm ~]$ emca -repos create
STARTED EMCA at Sep 4, 2007 5:06:42 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: prod
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
Sep 4, 2007 5:06:53 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/prod/emca_2007-09-04_05-06-42-PM.log.
Sep 4, 2007 5:06:53 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Sep 4, 2007 5:12:17 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Enterprise Manager configuration completed successfully
FINISHED EMCA at Sep 4, 2007 5:12:17 PM
4) 使用emca -config dbcontrol db建立配置資訊
[oracle@ocm ~]$ emca -config dbcontrol db
STARTED EMCA at Sep 4, 2007 5:13:16 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: prod
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/product/10.2.0/db_1
Database hostname ................ ocm
Listener port number ................ 1521
Database SID ................ prod
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: y
Sep 4, 2007 5:13:39 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/prod/e mca_2007-09-04_05-13-16-PM.log.
Sep 4, 2007 5:13:40 PM oracle.sysman.emcp.DatabaseChecks performReposChecks
WARNING: 'shared_pool_size' must be greater than or equal to 80 MB.
Sep 4, 2007 5:13:55 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Sep 4, 2007 5:15:49 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Sep 4, 2007 5:15:57 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is http://ocm:1158/em <<<<<<<<<<<
Enterprise Manager configuration completed successfully
FINISHED EMCA at Sep 4, 2007 5:15:58 PM
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9842/viewspace-349433/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- linux下配置oracle 10G EM Database ConsoleLinuxOracle 10gDatabase
- oracle 重建EM databaseOracleDatabase
- Failed to shutdown database console gracefullyAIDatabase
- Oracle 10g手工建庫Oracle 10g
- oracle 10g flashback databaseOracle 10gDatabase
- oracle實驗記錄 手工 duplicate database(1)OracleDatabase
- Oracle 10g手工建立資料庫Oracle 10g資料庫
- Scheduler in Oracle Database 10g(轉)OracleDatabase
- Rename Tablespace in Oracle database 10gOracleDatabase
- 【安裝配置】oracle 10g 手工建庫Oracle 10g
- Oracle10g下手工重建CRS和RAC資料庫Oracle資料庫
- 【RAC】Oracle 10g RAC 重建控制檔案Oracle 10g
- Oracle 10G重建EM DB ControlOracle 10g
- oracle 10g手工建立案例(含指令碼)Oracle 10g指令碼
- Tablespace Management Enhancements in Oracle Database 10gOracleDatabase
- Oracle 10g新增DROP DATABASE命令Oracle 10gDatabase
- 重建控制檔案--alter database backup controlfile to traceDatabase
- Oracle 10G重建OEM 的簡單步驟Oracle 10g
- oracle 10g rac em重建實施步驟Oracle 10g
- 冷備手工完全恢復(recover database,recover tablespace,recover datafile)Database
- 手工建立oracle示例資料庫schema (Database Examples 安裝)Oracle資料庫Database
- 手工建立(Create)一個Oracle 10g資料庫Oracle 10g資料庫
- oracle xe 10g 手工建立資料庫 for windows XPOracle資料庫Windows
- 教你如何成為Oracle 10g OCP - 第九章 物件管理(8) - 如何重建B樹索引Oracle 10g物件索引
- SQL*Plus Enhancements in Oracle Database 10g(一)SQLOracleDatabase
- Oracle Database 10g Enhanced wait modelOracleDatabaseAI
- oracle 10g physical standby database creationOracle 10gDatabase
- Oracle 10g Limits - Logical Database LimitsOracle 10gMITDatabase
- 前幾天手工刪除測試資料庫並重建的指令碼資料庫指令碼
- oracle實驗記錄 (oracle 10G dataguard(1)手工搭建)Oracle
- Oracle Database 10g新特性-閃回表OracleDatabase
- DBMS_FILE_TRANSFER Package in Oracle Database 10gPackageOracleDatabase
- Flashback New Features and Enhancements in Oracle Database 10gOracleDatabase
- 【OCM】Oracle Database 10g: Performance Tuning(一)OracleDatabaseORM
- 【OCM】Oracle Database 10g: Performance Tuning(二)OracleDatabaseORM
- 【OCM】Oracle Database 10g: Performance Tuning(三)OracleDatabaseORM
- 【OCM】Oracle Database 10g: Performance Tuning(四)OracleDatabaseORM
- Using srvctl to Manage your 10g RAC DatabaseDatabase