oem无法正常使用解决方法

来源:互联网 发布:淘宝网数据包下载 编辑:程序博客网 时间:2024/05/01 22:01

1.oem安装

想启动oem发现未安装

$ emctl status dbconsole

OC4J Configuration issue. /data/Oracle/oracle/product/11.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_host021_bakdb not found. 

使用emca安装

$emca -config dbcontrol db

EMCA 开始于 2012-2-13 11:39:46
EM Configuration Assistant, 11.2.0.0.2 正式版
版权所有 (c) 2003, 2005, Oracle。保留所有权利。
输入以下信息:
数据库 SID: bakdb
监听程序端口号: 1521
监听程序 ORACLE_HOME [ /data/Oracle/oracle/product/11.2.0/db_1 ]: 
SYS 用户的口令:  
DBSNMP 用户的口令:  
SYSMAN 用户的口令:  
-----------------------------------------------------------------
已指定以下设置
数据库 ORACLE_HOME ................ /data/Oracle/oracle/product/11.2.0/db_1
本地主机名 ................ host021
监听程序 ORACLE_HOME ................ /data/Oracle/oracle/product/11.2.0/db_1
监听程序端口号 ................ 1521
数据库 SID ................ bakdb
-----------------------------------------------------------------
是否继续? [是(Y)/否(N)]: y

....

2.oem启动不成功

$ 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://host021:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ........................................................ failed. 
------------------------------------------------------------------
Logs are generated in directory /data/Oracle/oracle/product/11.2.0/db_1/host021_bakdb/sysman/log

一般 是端口冲突,简单一点用在host021_bakdb/sysman/log目录下 find . -name “*.*"|xargs grep "ERROR"就可以找到错误。如下类找不到错误好像不影响oem使用

[OC4J Launcher] ERROR app.ContextInitializer contextInitialized.420 - Integration Class not found: oracle.sysman.eml.target.slb.common.SLBIntegration


3.web访问网址https://host021最好加入IE信任站点


4.OEM中文按钮乱码

$ORACLE_HOME/jdk/jre/lib和$ORACLE_HOME/jre/1.4.2/lib目录下的font.properties用font.properties.zh_CN.Redhat覆盖

删除$ORACLE_HOME/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs缓存的图片  rm -rf *.gif

重启oem


原创粉丝点击