标签:
问题描述
发现用Windows访问Linux安装的Oracle时oem按钮总是乱码,整理解决方法如下:
OEM简介及按钮乱码问题 http://www.linuxidc.com/Linux/2013-03/80819.htm
解决方法
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.
http://orclasm: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
下载地址:
------------------------------------------分割线------------------------------------------
免费下载地址在 http://linux.linuxidc.com/
用户名与密码都是www.linuxidc.com
具体下载目录在 /2014年资料/8月/1日/Windows访问OEM乱码解决
下载方法见 http://www.linuxidc.com/Linux/2013-07/87684.htm
------------------------------------------分割线------------------------------------------
[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.
http://orclasm: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
问题解决,效果如图:
更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12
本文永久更新链接地址:http://www.linuxidc.com/Linux/2014-08/104932.htm
标签:
原文地址:http://www.cnblogs.com/shengs/p/4446039.html