oracle 10g rac安裝報錯

聽海★藍心夢發表於2013-05-17

今天在redhat 5.3上裝oracle 10個rac。執行runInstaller時報錯:

#./runInstaller之後出現如下的錯誤資訊:

Exception in thread "main" .lang.UnsatisfiedLinkError:

/tmp/OraInstall20013-05-17_16-25-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)

錯誤一:

/tmp/OraInstall2007-12-30_02-16-11PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory occurred..

原因是:缺少支援列印的圖形化動態連結庫libXp.so.6

這個錯誤是由於缺少系統安裝包,在RHEL5以前的版本,可以安裝xorg-x11-deprecated-libs包即可,這個安裝包可以在系統光碟第三張盤中找到(對於redhat as4.2以前,redhat as4.4是在第四張安裝光碟)

xorg-x11-deprecated-libs-6.8.2-31.i386.rpm

錯誤二:

Exception :java.lang.UnsatisfiedLinkError:/usr/java/j2sdk1.4.2_06/jre/lib/i386/libawt.so: libXt.so.6: cannot open shared object file: No such file or directory

這個錯誤是也是由於缺少系統安裝包造成的,只需安裝XFree86-libs包即可,這個安裝包可以在系統光碟中找到。

在上面兩個錯誤如果出現在redhat as5版本中,解決如下:

在RHEL5中上面的包被libXp所取代了,因此:

rpm -ivh libXp-1.0.0-8.i386.rpm


將包打上後,然後重啟兩個節點的伺服器,問題即可解決。


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/751371/viewspace-761369/,如需轉載,請註明出處,否則將追究法律責任。

相關文章