Windows访问OEM乱码解决

发现用Windows访问Linux安装的Oracle时oem按钮总是乱码,整理解决方法如下:

Windows访问OEM乱码解决

OEM简介及按钮乱码问题 

解决方法

1、暂时关闭oem

[oracle@orclasm log]$ 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.

:1158/em/console/aboutApplication

Stopping Oracle Enterprise Manager 10g Database Control ... 

...  Stopped. 

2、复制并覆盖相关文件

[oracle@orclasm ~]$ cd $ORACLE_HOME/jdk/jre/lib

[oracle@orclasm lib]$ cp font.properties font.properties.1.bat

[oracle@orclasm lib]$ cp font.properties.zh_CN.RedHat font.properties

[oracle@orclasm ~]$ cd $ORACLE_HOME/jre/1.4.2/lib/

[oracle@orclasm lib]$ cp font.properties font.properties.1.bat

[oracle@orclasm lib]$ cp font.properties.zh_CN.Redhat font.properties

3、为oem配置中文字符

如果没有/usr/share/fonts/zh_CN/TrueType/目录需要手动创建

[root@orclasm ~]# cd /usr/share/fonts/

[root@orclasm fonts]# mkdir -p zh_CN/TrueType/

把Windows中的宋体对应的ttf文件copy到该目录下,命名为zysong.ttf,或者也可以去网上下载zysong.ttf

下载地址:

------------------------------------------分割线------------------------------------------

免费下载地址在

用户名与密码都是

具体下载目录在 /2014年资料/8月/1日/Windows访问OEM乱码解决

下载方法见

------------------------------------------分割线------------------------------------------

Windows访问OEM乱码解决

[root@orclasm TrueType]# mv ~/simsun.ttc /usr/share/fonts/zh_CN/TrueType/zysong.ttf
 
[root@orclasm fonts]# cd zh_CN/TrueType/

[root@orclasm TrueType]# ls

zysong.ttf

4、清理缓存的图片

[root@orclasm share]# cd /u01/app/oracle/10.2.0/db_1/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs/
 
 

[root@orclasm zhs]# mkdir gif_bak

[root@orclasm zhs]# mv *.gif gif_bak

[root@orclasm zhs]# mkdir imx_bak

[root@orclasm zhs]# mv *.imx imx_bak 

5、启动oem

[oracle@orclasm ~]$ 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.

:1158/em/console/aboutApplication

Starting Oracle Enterprise Manager 10g Database Control .............................. started.
 
------------------------------------------------------------------

Logs are generated in directory /u01/app/oracle/10.2.0/db_1/orclasm_orcl/sysman/log 
 

问题解决,效果如图

Windows访问OEM乱码解决

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/53aa16b283863cf5ac5518247e48e9e9.html