10G中EM乱码的解决方法
文章作者 100test 发表时间 2008:03:29 13:53:30
来源 100Test.Com百考试题网
10G中EM乱码没想到我也遇到了,找了很多资料给出下面的解决方法。
[oracle@rac2 ~]$ cd $ORACLE_HOME/jdk/jre/lib
[oracle@rac2 lib]$ ls
audio font.properties.ja.Redhat7.2 font.properties.zh_CN.Sun jce.jar
charsets.jar font.properties.ja.Redhat7.3 font.properties.zh_CN_UTF8.Sun jsse.jar
cmm font.properties.ja.Redhat8.0 font.properties.zh_HK.Sun jvm.hprof.txt
content-types.properties font.properties.ja.Turbo font.properties.zh_HK_UTF8.Sun jvm.jcov.txt
ext font.properties.ja.Turbo6.0 font.properties.zh_HK_UTF8.Sun2003 locale
flavormap.properties font.properties.ko_KR.Sun font.properties.zh.Turbo logging.properties
font.properties font.properties.ko_KR_UTF8.Sun font.properties.zh_TW.Redhat plugin.jar
font.properties.ja font.properties.ko_KR_UTF8.Sun2003 font.properties.zh_TW.Redhat2.1 psfontj2d.properties
font.properties.ja_JP.Sun font.properties.ko.Redhat font.properties.zh_TW.Sun psfont.properties.ja
font.properties.ja_JP.Sun2003 font.properties.ko.Redhat2.1 font.properties.zh_TW_UTF8.Sun rt.jar
font.properties.ja_JP_UTF8.Sun font.properties.Redhat6.1 font.properties.zh_TW_UTF8.Sun2003 security
font.properties.ja_JP_UTF8.Sun2003 font.properties.Redhat8.0 fonts sunrsasign.jar
font.properties.ja.Redhat3 font.properties.SuSE8.0 i386 zi
font.properties.ja.Redhat6.1 font.properties.zh_CN.Redhat im
font.properties.ja.Redhat6.2 font.properties.zh_CN.Redhat2.1 images
[oracle@rac2 lib]$ ls font.properties.zh_CN.Redhat
font.properties.zh_CN.Redhat
[oracle@rac2 lib]$ cp font.properties.zh_CN.Redhat font.properties
[oracle@rac2 lib]$ cd $ORACLE_HOME/oc4j/j2ee/oc4j
[oracle@rac2 oc4j_applications]$ pwd
/opt/u01/app/oracle/product/10201/db1/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs
[oracle@rac2 zhs]$ pwd
/opt/u01/app/oracle/product/10201/db1/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs
[oracle@rac2 zhs]$ ls -lrt
total 80
-rw-r----- 1 oracle oinstall 915 Sep 26 21:03 tb-0.imx
-rw-r----- 1 oracle oinstall 452 Sep 26 21:03 tb-0.gif
-rw-r----- 1 oracle oinstall 490 Sep 26 21:03 b-f8.imx
-rw-r----- 1 oracle oinstall 715 Sep 26 21:03 b-f8.gif
-rw-r----- 1 oracle oinstall 502 Sep 26 21:03 b-f81cbf.imx
-rw-r----- 1 oracle oinstall 829 Sep 26 21:03 b-f81cbf.gif
-rw-r----- 1 oracle oinstall 496 Sep 26 21:03 b-7c2d.imx
-rw-r----- 1 oracle oinstall 777 Sep 26 21:03 b-7c2d.gif
-rw-r----- 1 oracle oinstall 490 Sep 26 21:03 b-70.imx
-rw-r----- 1 oracle oinstall 715 Sep 26 21:03 b-70.gif
[oracle@rac2 zhs]$ rm *.gif
[oracle@rac2 zhs]$ ll
total 40
-rw-r----- 1 oracle oinstall 490 Sep 26 21:03 b-70.imx
-rw-r----- 1 oracle oinstall 496 Sep 26 21:03 b-7c2d.imx
-rw-r----- 1 oracle oinstall 502 Sep 26 21:03 b-f81cbf.imx
-rw-r----- 1 oracle oinstall 490 Sep 26 21:03 b-f8.imx
-rw-r----- 1 oracle oinstall 915 Sep 26 21:03 tb-0.imx
[oracle@rac2 zhs]$ emctl stop dbconsole
TZ set to Asia/Chungking
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://localhost.localdomain:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 10g Database Control ...
... Stopped.
[oracle@rac2 zhs]$ emctl start dbconsole
TZ set to Asia/Chungking
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://localhost.localdomain:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control .......... started.
------------------------------------------------------------------
Logs are generated in directory /opt/u01/app/oracle/product/10201/db1/localhost.localdomain_rac1/sysman/log