oem啟動失敗的一般解決方法

靜以致遠√團團發表於2013-11-14
1.檢視監聽是否有錯誤,並修改或重建
2.檢視資料庫例項是否啟動正確
3.重建oem

重建oem的方法

1.emca -repos recreate  重建一個EM資料庫   
按照提示輸入相關引數


**********************************
   
emca -repos create 重創一個EM資料庫
emca -repos drop 刪除一個EM資料庫

**********************************

    
2.emca -config dbcontrol db  配置資料庫的 Database Control
按照提示輸入相關引數


*************************************

emca -deconfig dbcontrol db
刪除資料庫的 Database Control配置

*************************************


 
3.emctl start dbconsole    啟動em

[oracle@orcl11g ~]$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0 
Copyright (c) 1996, 2009 Oracle Corporation.  All rights reserved.
Starting Oracle Enterprise Manager 11g Database Control ........................ started. 
------------------------------------------------------------------
Logs are generated in directory /u01/oracle/product/11.1/orcl11g_orcl/sysman/log 




注:
在第二部的配置資料庫的Database Contorl時報如下錯誤

Nov 10, 2013 8:48:04 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/oracle/product/cfgtoollogs/emca/orcl/emca_2013_11_10_20_47_37.log.
Nov 10, 2013 8:48:05 PM oracle.sysman.emcp.DatabaseChecks performReposChecks
SEVERE: 'job_queue_processes' must be greater than or equal to 1.  Fix the error(s) and run EM Configuration Assistant again in standalone mode.
Nov 10, 2013 8:48:05 PM oracle.sysman.emcp.EMConfig perform
SEVERE: 'job_queue_processes' must be greater than or equal to 1.  Fix the error(s) and run EM Configuration Assistant again in standalone mode.
Refer to the log file at /u01/oracle/product/cfgtoollogs/emca/orcl/emca_2013_11_10_20_47_37.log for more details.
Could not complete the configuration. Refer to the log file at /u01/oracle/product/cfgtoollogs/emca/orcl/emca_2013_11_10_20_47_37.log for more details.


出現該錯誤提示說是share_pool和job_queue_processes引數不夠大

可以sys使用者登入資料庫

alter system set share_pool_size=100M;
修改共享池大小

alter system set job_queue_processes=5;
修改任務程式請求限制為5個

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29320885/viewspace-776561/,如需轉載,請註明出處,否則將追究法律責任。

相關文章