小男孩‘自慰网亚洲一区二区,亚洲一级在线播放毛片,亚洲中文字幕av每天更新,黄aⅴ永久免费无码,91成人午夜在线精品,色网站免费在线观看,亚洲欧洲wwwww在线观看

分享

重建Oracle10G數(shù)據(jù)庫(kù)

 RingScofield 2010-06-26

    要想打開(kāi)OEMweb管理程序,必須先啟動(dòng)Database listener,再啟動(dòng)Datebase Control端口監(jiān)控程序,但是碰到下面的情況
     
 
問(wèn)題:
    [oracle@localhost OC4J_DBConsole]$ emctl start dbconsole
    TZ set to PRC
    OC4J Configuration issue. /u01/app/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_localhost.localdomain_orcl not   found.
   
   
其實(shí)產(chǎn)生的這樣的情況,可能是em資料庫(kù)配置不正確或者是dbcotrol沒(méi)有配置好。
  
 
解決:  
  ①
重建em資料
    [oracle@localhost OC4J_DBConsole]$ emca -repos recreate
    ...
    Enter the following information:
    Database SID: orcl
    Listener port number: 1521
    Password for SYS user: oracle
    Password for SYSMAN user: oracle
    Do you wish to continue? [yes(Y)/no(N)]: y
    ...
    INFO: Repository successfully created
 
  ②
配置dbcontrol
   [oracle@localhost OC4J_DBConsole]$ emca -config dbcontrol db
   EMCA
開(kāi)始于 2009-6-8 21:50:28
   EM Configuration Assistant 10.2.0.1.0
正式版
  
版權(quán)所有 (c) 2003, 2005, Oracle。保留所有權(quán)利。

   輸入以下信息:
  
數(shù)據(jù)庫(kù) SID: orcl
  
監(jiān)聽(tīng)程序端口號(hào): 1521
   SYS
用戶的口令:     (口令是看不到的)
   DBSNMP
用戶的口令:   (口令是看不到的)
   SYSMAN
用戶的口令:    (口令是看不到的)
  
通知的電子郵件地址 (可選):
  
通知的發(fā)件 (SMTP) 服務(wù)器 (可選):
   -----------------------------------------------------------------

   已指定以下設(shè)置

   數(shù)據(jù)庫(kù) ORACLE_HOME ................ /u01/app/oracle/product/10.2.0/db_1

   數(shù)據(jù)庫(kù)主機(jī)名 ................ localhost.localdomain
  
監(jiān)聽(tīng)程序端口號(hào) ................ 1521
  
數(shù)據(jù)庫(kù) SID ................ orcl
  
通知的電子郵件地址 ............... 
  
通知的發(fā)件 (SMTP) 服務(wù)器 ...............

   -----------------------------------------------------------------
  
是否繼續(xù)? [yes(Y)/no(N)]: y
   2009-6-8 21:50:58 oracle.sysman.emcp.EMConfig perform
  
信息: 正在將此操作記錄到 /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/orcl/emca_2009-06-08_09-50-27-下午.log。
   2009-6-8 21:50:59 oracle.sysman.emcp.DatabaseChecks performReposChecks
  
警告: 'shared_pool_size' 必須大于等于 80 MB 
   2009-6-8 21:51:13 oracle.sysman.emcp.util.DBControlUtil startOMS
  
信息: 正在啟動(dòng) Database Control (此操作可能需要一段時(shí)間)...
   2009-6-8 21:52:57 oracle.sysman.emcp.EMDBPostConfig performConfiguration
  
信息: 已成功啟動(dòng) Database Control
   2009-6-8 21:52:57 oracle.sysman.emcp.EMDBPostConfig performConfiguration
  
信息: >>>>>>>>>>> Database Control URL http://localhost.localdomain:1158/em <<<<<<<<<<<
  
已成功完成 Enterprise Manager 的配置
   EMCA
結(jié)束于 2009-6-8 21:52:57
  
  
然后直接進(jìn)入http://localhost.localdomain:1158/em/,輸入賬戶sys和密碼******,選擇sysdba權(quán)限,就能正??吹交?span lang="EN-US">WEB的EM了。
  
    Oracle10G
EM采用了web方式,并且分成了2個(gè)產(chǎn)品,database controlgrid control。Grid control需要下載單獨(dú)的光盤安裝。在用DBCA建庫(kù)的時(shí)候,可以選擇是否啟用dbcontrol,啟用的話需要在數(shù)據(jù)庫(kù)中建立一個(gè)sysman schema,用于保存EM的一些數(shù)據(jù),這個(gè)就是EM的資料庫(kù)(repository)。使用命令行工具emca可以創(chuàng)建,修改,重建或者刪除 dbcontrol的配置。
  
    emca -repos create:
創(chuàng)建新的 Database Control 資料檔案庫(kù)
    emca -repos drop:
刪除當(dāng)前的 Database Control 資料檔案庫(kù)
    emca -repos recreate:
刪除當(dāng)前的 Database Control 資料檔案庫(kù)并重新創(chuàng)建一個(gè)
   
    emca -config dbcontrol db
:配置數(shù)據(jù)庫(kù)的 Database Control
    emca -deconfig dbcontrol db
:取消數(shù)據(jù)庫(kù)的 Database Control

    注:(1)如果服務(wù)器上存在多個(gè)數(shù)據(jù)庫(kù),必須在啟動(dòng)Database control之前設(shè)置ORACLE_SID環(huán)境變量
       
2)最好使用靜態(tài)IP地址來(lái)配置服務(wù)器

    本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購(gòu)買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào)。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評(píng)論

    發(fā)表

    請(qǐng)遵守用戶 評(píng)論公約

    類似文章 更多