CentOS 5.5下開啟Oracle的dbconsole按鈕亂碼解決方案

來源:互聯網
上載者:User

CentOS 5.5下開啟Oracle的dbconsole按鈕亂碼解決方案:

1. 先停止 OEM
emctl stop dbconsole

2. 分別進入以下三個路徑
$ORACLE_HOME/jdk/jre/lib
$ORACLE_HOME/jre/1.4.2/lib
$ORACLE_HOME/javavm/lib/ojvmfonts

3. 在每個目錄都透過以下指令覆蓋檔桉
cp font.properties.zh_CN.RedHat font.properties

4. 最後一步,也是最重要的一步:

開啟剛才隨便那個目錄下的font.properties,看最後一行的字型檔位置,如:

filename.-misc-zysong18030-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/zh_CN/TrueType/zysong.ttf

接下來檢查有沒有這個目錄和檔案,沒有的話就建立之,/usr/share/fonts/zh_CN/TrueType/zysong.ttf,如果沒有zysong.ttf這個字型,那隨便搞一個中文字型改成這個名字即可。

5. 進入 OEM 的圖示路徑,清除之前的緩衝
cd $ORACLE_HOME/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zht
rm *.gif
rm *.imx

6. 啟動 OEM
emctl start dbconsole

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.