安裝Oracle 9i時出現亂碼

來源:互聯網
上載者:User

在RedHat9中安裝Oracle 9i時出現亂碼
資訊: Oracle安裝介面中沒有文字,只有亂碼,怎麼辦?

解決中文的問題   vi .bash_profile
export LC_ALL=zh_CN
export LANG=zh_CN
export JAVA_FONTS=/usr/share/fonts/zh_CN/TrueType/

另一個不是最佳的解決方案.

設定ORACLE使用者的環境變數。 vi .bash_profile
添加 export LC_CTYPE="en_US.UTF-8"
安裝時就變成英文介面了,
用DBCA建庫的時候,注意要選擇 資料庫 的 字元集.

還可以設定為unset LANG
安裝的時候就是正常的英文了

.bash_profile檔案如下
[root@logo oracle]# cat .bash_profile
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
         . ~/.bashrc
fi

# User specific environment and startup programs

export ORACLE_BASE=/home/oracle/OraHome
export ORACLE_HOME=/home/oracle/OraHome/9.2.0
export LC_ALL=zh_CN
export LANG=zh_CN
export JAVA_FONTS=/usr/share/fonts/zh_CN/TrueType/
export ORACLE_SID=ora9i
export ORACLE_TERM=xterm
export NLS_LANG=american_america.ZHS16GBK
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export LD_LIBRARY_PATH

PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin

export PATH LD_ASSUME_KERNEL=2.4.1
unset USERNAME

用來解決Warning: Cannot convert string "AltReturn,Alt_Key_KP_Enter" to type
$ xprop -root -remove _MOTIF_DEFAULT_BINDINGS
(註:本語句在開啟其他終端視窗時,可能會還原,如果你開啟了其他視窗,一定要回本視窗,重新執行)
[oracle@logo oracle]$ cd /soft/oracle/Disk1
[oracle@logo Disk1]$ ./runInstaller
Initializing Java Virtual Machine from /tmp/OraInstall2005-12-24_10-59-12PM/jre/bin/java. Please wait...
Font specified in font.properties not found [-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1]
Font specified in font.properties not found [-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1]
Font specified in font.properties not found [-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1]
Font specified in font.properties not found [-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1]
Font specified in font.properties not found [-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1]
Font specified in font.properties not found [-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1]
Font specified in font.properties not found [-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1]
Font specified in font.properties not found [-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1]
Font specified in font.properties not found [-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1]
Font specified in font.properties not found [-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1]
Font specified in font.properties not found [-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1]
Font specified in font.properties not found [-b&h-lucidabright-medium-r-normal--*-%d-*-*-p-*-iso8859-1]
Font specified in font.properties not found [-b&h-lucidabright-demibold-i-normal--*-%d-*-*-p-*-iso8859-1]
Font specified in font.properties not found [-b&h-lucidabright-demibold-r-normal--*-%d-*-*-p-*-iso8859-1]
Font specified in font.properties not found [-b&h-lucidabright-medium-i-normal--*-%d-*-*-p-*-iso8859-1]
Font specified in font.properties not found [-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1]
Font specified in font.properties not found [-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1]
Font specified in font.properties not found [-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1]
Font specified in font.properties not found [-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1]
Font specified in font.properties not found [-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1]
Warning: Cannot convert string "Escape,_Key_Cancel" to type VirtualBinding
Warning: Cannot convert string "Home,_Key_Begin" to type VirtualBinding
Warning: Cannot convert string "F1,_Key_Help" to type VirtualBinding
Warning: Cannot convert string "ShiftF10,_Key_Menu" to type VirtualBinding
Warning: Cannot convert string "F10,Shift_Key_Menu" to type VirtualBinding
Warning: Cannot convert string "KP_Enter,_Key_Execute" to type VirtualBinding
Warning: Cannot convert string "AltReturn,Alt_Key_KP_Enter" to type VirtualBinding

[oracle@logo Disk1]$ xprop -root -remove _MOTIF_DEFAULT_BINDINGS
[oracle@logo Disk1]$ ./runInstaller

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.