在RedHat 5 Enterprise上安裝Oracle 10g遇到的故障總結

來源:互聯網
上載者:User

在配置完所有內容,運行./runinstaller的時候,我的卻報錯了
錯誤資訊:

  Exception in thread "main" java.lang.UnsatisfiedLinkError:
  /tmp/OraInstall2007-12-03_09-02-02AM/jre/1.4.2/lib/i386/libawt.so:
  libXp.so.6: cannot open shared object file:
  No such file or directory
  at java.lang.ClassLoader$NativeLibrary.load(Native Method)
  at java.lang.ClassLoader.loadLibrary0(Unknown Source)
  at java.lang.ClassLoader.loadLibrary(Unknown Source)
  at java.lang.Runtime.loadLibrary0(Unknown Source)
  at java.lang.System.loadLibrary(Unknown Source)
  at sun.security.action.LoadLibraryAction.run(Unknown Source)
  at java.security.AccessController.doPrivileged(Native Method)
  at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
  at sun.awt.DebugHelper.(Unknown Source)
  at java.awt.Component.(Unknown Source)

  在查詢metalink時你會發現原因是由於缺少了libXp.so.6包,根據Oracle的解決方案需要安裝xorg-x11-deprecated-libs-6.8.2-1.EL.13.20.i386.rpm包。不過RedHat AS4中包含的相應的包版本比較低。於是從Oracle提供的ENTERPRISE Linux for X86-64 R4中找到了相應的包,安裝這個包以後,安裝過程就會順利開始:

  [root@haoc2008 data]# rpm
  -ivh xorg-x11-deprecated-libs-6.8.2-1.EL.13.37.i386.rpm
  warning: xorg-x11-deprecated-libs-6.8.2-1.EL.13.37.i386.rpm:
  V3 DSA signature: NOKEY, key ID b38a8516
  Preparing... ########################################### [100%]
  1:xorg-x11-deprecated-lib################################## [100%]

安裝好xorg後,順利啟動圖形安裝介面。

在圖形安裝介面中,在第三步,可以根據給出的提示資訊進行再倒回去修改相關的配置。
安裝這個oracle 10g費了我不少時間,一是因為客戶的機房不能串連internet,無法查詢錯誤資訊。
其實安裝並不難,關鍵是根據提示資訊查看自己前期的環境配置,配置完成後,最好重啟一下,確保所有配置生效,再用oracle使用者登入,雖然網上有教程直接su - oracle也能安裝成功,但我的這次安裝卻報錯,登出後直接用oracle登入就成功安裝了。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.