Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Oracle 11g R2 em garbled

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

My system is redhat 5.564 bit, oracle is 11G R2

Oracle 11g uses jdk1.5,jdk1.5 as an easy way to solve this problem. Just create a fallback directory under $JAVA_HOME/jre/lib/fonts/ and copy the fonts you want to use in java to this directory, under oracle users:

$mkdir $ORACLE_HOME/jdk/jre/lib/fonts/fallback

Copy the font file simsun.ttc under windows to the $ORACLE_HOME/jdk/jre/lib/fonts/fallback directory and rename simsun.ttf (note that ms's simsun font is copyrighted, so merchants change to other fonts), and the corresponding permissions are available to oracle users.

After that, you need to clean up Cache and restart EM:

$rm $ORACLE_HOME/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/p_w_picpaths/cache/zhs/*.gif

$emctl stop dbconsole

$emctl start dbconsole

Log in to the Web page to view, and the EM display will be able to display Chinese normally.

Note: when executing $emctl stop dbconsole or $emctl start dbconsole, you will encounter an error message:

[root@langzi bin] #. / emctl stop dbconsole

Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name.

[root@langzi bin] #. / emctl start dbconsole

Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name.

Two solutions

One, su oracle, try again, if not

The following is being performed:

Add environment variable ORACLE_UNQNAME

Vi / home/oracle/.bashrc

Export ORACLE_UNQNAME=orcl

Vi / home/oracle/.bash_profile

Export ORACLE_UNQNAME=orcl

ORACLE_UNQNAME is actually used to launch dbconsole, it is your ORACLE_SID default and orcl.

2010-09-14

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report