oracle emanager database 数据库
1.启动oem dbconsole
[oracle@rac1 10.2.0]$ emctl start dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://10.85.10.80:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control …OracleDBConsoleDBA 服
务正在启动 ……
OracleDBConsoleDBA 服务已经启动成功。
[oracle@rac1 10.2.0]$
2.停止oem dbconsole
[oracle@rac1 10.2.0]$ emctl stop dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://HFCC-KF-3068:1158/em/console/aboutApplication
OracleDBConsoleDBA 服务正在停止……
OracleDBConsoleDBA 服务已成功停止。
3.客户段IE访问oem dbconsole
http://10.85.10.80:1158/em/
如果发现登录页面的按钮显示乱码,解决方法如下:
a)先停止oem dbconsole 服务
b)用同目录下的font.properties.zh_CN.Redhat8.0替换font.properties
[oracle@rac1 ojvmfonts]$ pwd
/oracle/product/10.2.0/db_1/javavm/lib/ojvmfonts
[oracle@rac1 ojvmfonts]$ cp font.properties font.properties.bak.seagull
[oracle@rac1 ojvmfonts]$cp font.properties.zh_CN.Redhat font.properties
[oracle@rac1 ojvmfonts]$
[oracle@rac1 lib]$ pwd
/oracle/product/10.2.0/db_1/jdk/jre/lib
[oracle@rac1 lib]$ cp font.properties font.properties.bak.seagull
[oracle@rac1 lib]$ cp font.properties.zh_CN.Redhat font.properties
[oracle@rac1 lib]$
[oracle@rac1 lib]$ pwd
/oracle/product/10.2.0/db_1/jre/1.4.2/lib
[oracle@rac1 lib]$ cp font.properties font.properties.bak.seagull
[oracle@rac1 lib]$ cp font.properties.zh_CN.Redhat font.properties
[oracle@rac1 lib]$
c)删除缓存的自动生成的图片
[oracle@rac1 zhs]$ pwd
/oracle/product/10.2.0/db_1/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs
[oracle@rac1 zhs]$ ls
b-b5.gif b-b5.imx
[oracle@rac1 zhs]$ rm *
[oracle@rac1 zhs]$
d)启动oem dbconsole 服务
4.查看oem dbconsole状态
$ emctl status dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://HFCC-KF-3068:1158/em/console/aboutApplication
EM Daemon is running.
------------------------------------------------------------------
Logs are generated in directory /opt/oracle/product/10.2.0/db_1/db01_oa1/sysman/log
$
[oracle@rac1 zhs]$ emctl status dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://HFCC-KF-3068:1158/em/console/aboutApplication
EM Daemon is not running.
5.启动isqlplus服务
[oracle@rac1 images]$ isqlplusctl start
iSQL*Plus 10.2.0.1.0
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Starting iSQL*Plus …
iSQL*Plus started.
6.客户端IE访问isqlplus
http://10.85.10.80:5560/isqlplus/
注意:连接标示符 中填写的监听中设置的实例名。 需要在tnsnames.ora添加相应的配置,或者通过net manager来配置。 具体操作参看blog:
Oracle 数据库监听配置
http://blog.csdn.net/tianlesoftware/archive/2009/11/24/4861572.aspx
7.停止isqlplus服务
[oracle@rac1 lib]$ isqlplusctl stop
iSQL*Plus 10.2.0.1.0
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Stopping iSQL*Plus …
iSQL*Plus stopped.