ITPub博客

首页 > 数据库 > Oracle > oem启动失败的一般解决方法

oem启动失败的一般解决方法

原创 Oracle 作者:静以致远√团团 时间:2013-11-14 10:54:44 0 删除 编辑
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.
https://orcl11g:5500/em/console/aboutApplication
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/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
每个人都有梦想,去实现吧!

注册时间:2013-11-14

  • 博文量
    164
  • 访问量
    2116169