1. 程式人生 > >linux 作業系統下安裝oracle遇到的問題及解決方法

linux 作業系統下安裝oracle遇到的問題及解決方法

Oracle 版本:10201_database_linux_x86_64.cpio.gz

linux 作業系統版本:SUSE Linux Enterprise Server 10 (x86_64)

第一次在linux 系統下動手安裝oracle ,遇到問題是自然的,根據網上提供的一份安裝文件(http://wenku.baidu.com/view/16d2b31cb7360b4c2e3f642f.html?from=rec&pos=1&weight=2&lastweight=1&count=4) ,配置好oracle所需的安裝環境。

第一個問題:是找oracle 安裝所需的 rpm 安裝包,由於伺服器買回來是預裝的 suse 10的作業系統,沒有提供安裝光碟,rpm 包的安裝過程非常痛苦,一個個的找網上下載rpm包所需的依賴包,到最後也沒能找全。

suse 10 所需的安裝包如下:

# rpm -qa|grep gcc
gcc-info-4.1.2_20070115-0.21
libgcc-4.1.2_20070115-0.21
gcc-objc-4.1.2_20070115-0.21
gcc-4.1.2_20070115-0.21
gcc-fortran-4.1.2_20070115-0.21
gcc-c++-4.1.2_20070115-0.21
gcc-java-4.1.2007115-0.21
gcc-local-4.1.2_20070115-0.21
gcc-obj-c++4.1.2_20070115-0.21

 # rpm -aq|grep glibc
glibc-32bit-2.4-31.54
glibc-2.4-31.54
glibc-info-2.4-31.54
glibc-locale-32bit-2.4-31.54
glibc-devel-32bit-2.4-31.54
glibc-locale-2.4-31.54
glibc-i18ndata-2.4-31.54
glibc-devel-2.4-31.54

安裝過程中遇到的第二個問題:DISPLAY 引數設定,oracle 安裝檢查是總提示錯誤:

xhost: unable to open display "172.17.76.118:0.0

解決方法:我按照如下步驟操作後,問題解決,oracle 安裝介面成功啟動:

1) log into console as root and open a terminal window within CDE 
2) DISPLAY=:0.0
3) export DISPLAY
4) xhost +
5) su - oracle
6) DISPLAY=:0.0
7) export DISPLAY

第三個問題:

當配置到 Agent Configuration Assistant (agentca) 時,彈出錯誤提示:

OUI-25031:Some of the configuration assistants failed. It is strongly recommended that you retry the configuration assistants at this time.Not successfuly running any "Recommended" assistants means your system will not be correctly configured.

1. Check the Details panel on the Configuration Assistant Screen to see the errors resulting in the failures.

2. Fix the errors causing these failures.

3. Select the failed assistants and click the 'Retry' button to retyr them.

請有經驗的朋友能提供一些解決方法,非常感謝!