SolutionOracle emGarbled Problem
Oracle 10 Gb provides a web-based management tool (EM) for ease of use. However, if you are using a Chinese Linux environment and the simplified Chinese language is not added during Oracle installation, chinese buttons may be garbled like "□□. The following is a solution to this problem.
This method is suitable for operating system environments such as Hongqi Asianux 2.0 and 3.0.
I. Fault Problems
When http: // ip: 1158/EM is enabled, the following information is displayed. The Chinese characters are garbled:
Ii. Solving Problems
1, Change$ ORACLE_HOME/JDKDirectoryJREDefault font
# Su-Oracle
$ CD $ ORACLE_HOME/JDK/JRE/lib/
$ Ls font * zh_cn *
Font. properties is the default font. You can also see font. properties. zh_cn.redhat and other fonts.
$ CP font. properties font. properties. Bak
$ CP font. properties. zh_cn.redhat font. Properties
2, Change$ ORACLE_HOME/JREDefault font under
Use the same method.
$ CD $ ORACLE_HOME/JRE/1.4.2/lib/
$ Ls font * zh_cn *
$ CP font. properties font. properties. Bak
$ CP font. properties. zh_cn.redhat font. Properties
3, DeleteCacheUnderGIFFile
These images will be used in EM:
$ CD $ ORACLE_HOME/Solaris/J2EE/oc4j_applications //
Applications/EM/Cabo/images/Cache/ZHS/
$ Ls *. gif
$ RM *. gif
※ Make sure that the directory is correct and the Chinese environment is modified.
4, RestartEmService
$ Emctl stop dbconsole
$ Emctl start dbconsole
Go to em to see if the Chinese problem has been solved.
The newly opened interface is as follows: