How to handle EM key garbled characters in Oracle 11g
Today, I used a Mac to connect to the VMware Fusion virtual machine database. I suddenly wanted to use EM and suddenly found that the buttons were garbled. For example:
Analysis: To solve the problem, find the correct font.
Solution:
1. Find a font file such as simsun. ttc on Windows machine c: \ windows \ fonts.
2. Create a folder named fallback in the $ Oracle_home/jdk/jre/lib/fonts directory.
[Oracle @ test ~] $ Cd $ ORACLE_HOME/jdk/jre/lib/fonts/
[Oracle @ test fonts] $ mkdir fallback
3. Upload simsun. ttc to the fallback directory created on the linux machine and change it to simsum. ttf.
Ftp upload omitted
[Oracle @ test fallback] $ ls
Simsun. ttc
[Oracle @ test fallback] $ mv simsun. ttc simsun. ttf
[Oracle @ test fallback] $ ls
Simsun. ttf
4. Clear cache
[Oracle @ test fallback] $ cd/11g/app/oracle/product/11.1.0/dbhome_1/Solaris/j2ee/oc4j_applications/applications/em/cabo/images/cache/ zhs/
[Oracle @ test zhs] $ ls
B049hVl. imxb498zwk. imx b70gpYl. imx bb5DgWk-2.imx bb5DgWk. imx beeJtrj. imx
B0byrAl. imx b54Gjjk. imx b8f_7mj.imx bb5DgWk-3.gif bb5e67kMn. imx bf8f3pRUd. imx
B11ZkGl. imx b5b-vtk.imx ba936LkSR. imx bb5DgWk-3.imx bbaGAYl. imx t00MaF3. imx
B2549BKrI. imxb61cmck. imx bb06006NO. imx bb5DgWk-4.gif bbcbaZ4nV. imx t0MaF3. imx
B48tkDl. imx b6956szjB. imx bb5DgWk-1.imx beaVDSk. imx
[Oracle @ test zhs] $ rm-rf *. gif
5. Restart EM
[Oracle @ test zhs] $ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996,200 9 Oracle Corporation. All rights reserved.
Https: // test: 1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory/11g/app/oracle/product/11.1.0/dbhome_1/test_orcl/sysman/log
[Oracle @ test zhs] $ emctl stop dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996,200 9 Oracle Corporation. All rights reserved.
Https: // test: 1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 11g Database Control...
... Stopped.
[Oracle @ test zhs] $ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996,200 9 Oracle Corporation. All rights reserved.
Https: // test: 1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control.
------------------------------------------------------------------
Logs are generated in directory/11g/app/oracle/product/11.1.0/dbhome_1/test_orcl/sysman/log
[Oracle @ test zhs] $
6. Open EM and the font resumes normal Chinese characters.
Summary: although it is a font issue, there are still a lot of content covered here. I also handled it so quickly by learning from others' articles. Thanks to my friends who shared the article, happy again after handling a new problem.