ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 10g的OEM DBCONSOLE和ISQLPLUS快速操作入门(转)

10g的OEM DBCONSOLE和ISQLPLUS快速操作入门(转)

原创 Linux操作系统 作者:victor1010 时间:2008-11-04 16:26:32 0 删除 编辑
1.启动oem dbconsole

[oracle@rac1 10.2.0]$ emctl start dbconsole
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0 
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
http://rac1:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ...... started.
------------------------------------------------------------------
Logs are generated in directory /oracle/product/10.2.0/db_1/rac1_racdb1/sysman/log
[oracle@rac1 10.2.0]$
 
2.停止oem dbconsole
[oracle@rac1 10.2.0]$ emctl stop dbconsole
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0 
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
http://rac1:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 10g Database Control ...
 ...  Stopped.

3.客户段IE访问oem dbconsole
http://192.168.52.101:1158/em/console
如果发现登录页面的按钮显示乱码,解决方法如下:
  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.3.0 
Copyright (c) 1996, 2006 Oracle Corporation.  All rights reserved.
http://Db01:1158/em/console/aboutApplication
Oracle Enterprise Manager 10g 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
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0 
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
http://rac1:1158/em/console/aboutApplication
Oracle Enterprise Manager 10g 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.
getnameinfo failed
getnameinfo failed
getnameinfo failed
getnameinfo failed
Starting iSQL*Plus on node isqlplus_rac1 ...
iSQL*Plus started.
 
6.客户端IE访问isqlplus
http://192.168.52.101:5560/isqlplus/

7.停止isqlplus服务
[oracle@rac1 lib]$ isqlplusctl stop
iSQL*Plus 10.2.0.1.0
Copyright (c) 2003, 2005, Oracle.  All rights reserved.
getnameinfo failed
getnameinfo failed
getnameinfo failed
getnameinfo failed
Stopping iSQL*Plus on node isqlplus_rac1 ...
iSQL*Plus stopped.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/8102208/viewspace-485699/,如需转载,请注明出处,否则将追究法律责任。

上一篇: 海鸥的BLOG
下一篇: 修复坏块
请登录后发表评论 登录
全部评论

注册时间:2008-04-29

  • 博文量
    296
  • 访问量
    568178