首页 > Linux操作系统 > Linux操作系统 > Oracle10g EM乱码解决
1,重新安装中文支持
[root@tonykorn97 ~]# rpm -ivh ttfonts-zh_CN-2.14-6.noarch.rpm
warning: ttfonts-zh_CN-2.14-6.noarch.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
1:ttfonts-zh_CN ########################################### [100%]
[root@tonykorn97 ~]#
2,安装如下步骤操作:
企业管理器已经关闭了
[root@tonykorn97 ~]# su - oracle
[oracle@tonykorn97 ~]$ cd $ORACLE_HOME/jdk/jre/lib
[oracle@tonykorn97 lib]$ ls -al font*zh_CN*
-rwxr-xr-x 1 oracle oinstall 6854 Apr 20 2005 font.properties.zh_CN.Redhat
-rwxr-xr-x 1 oracle oinstall 7410 Apr 20 2005 font.properties.zh_CN.Redhat2.1
-rwxr-xr-x 1 oracle oinstall 6845 Apr 20 2005 font.properties.zh_CN.Sun
-rwxr-xr-x 1 oracle oinstall 7137 Apr 20 2005 font.properties.zh_CN_UTF8.Sun
[oracle@tonykorn97 lib]$ cp font.properties.zh_CN.Redhat font.properties
[oracle@tonykorn97 lib]$ cd $ORACLE_HOME/jre/1.4.2/lib/
[oracle@tonykorn97 lib]$ ls -al font*.zh_CN*
-rwxr-xr-x 1 oracle oinstall 6854 Apr 6 2005 font.properties.zh_CN.Redhat
-rwxr-xr-x 1 oracle oinstall 7410 Apr 6 2005 font.properties.zh_CN.Redhat2.1
-rwxr-xr-x 1 oracle oinstall 6845 Apr 6 2005 font.properties.zh_CN.Sun
-rwxr-xr-x 1 oracle oinstall 7137 Apr 6 2005 font.properties.zh_CN_UTF8.Sun
[oracle@tonykorn97 lib]$ cp font.properties.zh_CN.Redhat font.properties
[oracle@tonykorn97 lib]$ cd $ORACLE_HOME/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs
[oracle@tonykorn97 zhs]$ rm -rf *.gif
[oracle@tonykorn97 zhs]$ 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://tonykorn97:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ........ started.
------------------------------------------------------------------
Logs are generated in directory /oracle/app/oracle/product/10.2.0/Database/tonykorn97_szrrlcw/sysman/log
[oracle@tonykorn97 zhs]$
参考:
http://www.eygle.com/archives/2006/03/oracle10g_em_font_change.html
我当时操作的时候如果是先覆盖font.properties文件,然后关闭em,再启动em。好像不行。不知道是不是当时操作的问题。
当时先安装了中文字体,然后发现了eygle的文章,最后发现应该是不需要安装中文字体的。
后来发现如果不安装中文字体的时候,显示还是不正常,重新安装中文字体后重新操作正常。应该是需要安装中文字体的。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/312079/viewspace-245751/ ,如需转载,请注明出处,否则将追究法律责任。