在linux 安裝oracle10g時遇到的問題

楊奇龍發表於2011-08-06
安裝oracle 10g的時候遇到如下錯誤:
1Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Error: Can't open display: :0.0

解決方法:
1 root 使用者的身份在圖形介面中:
#xhost local:oracle non-network local connections being added to access control list
------------輸出--------------------
> > toto access control list
xhost:  bad hostname "non-network"
xhost:  bad hostname "local"
xhost:  bad hostname "connections"
xhost:  bad hostname "being"
xhost:  bad hostname "added"
xhost:  bad hostname "access"
xhost:  bad hostname "control"
xhost:  bad hostname "list"
2 su - oracle
再次執行./runInstaller
While doing a fresh install of 11i vision on Oracle Enterprise Linux 5, RapidInstall gave the following error:
Rapid Install Wizard will now launch the Java Interface.....
Exception in thread "main" java.lang.UnsatisfiedLinkError: /11istage/startCD/Disk1/rapidwiz/jre/Linux/1.4.2/lib/x86_64/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 sun.awt.DebugHelper.(Unknown Source)
at java.awt.Component.(Unknown Source)
This error comes because libXp.so.6 library is not present in /usr/lib. The rpm which contains this file is libXp-1.0.0-8.x86_64.rpm. It is present in the Oracle Enterprise Linux 5 DVD in /server directory. So copy this rpm from the DVD or CD and install it:

原因:出現找不到jre這樣類似的錯,是因為缺少支援列印的圖形化動態連結庫libXp.so.6,缺少系統安裝包
libXp-1.0.0-8.x86_64.rpm
解決方法:
rpm -ivh libXp-1.0.0-8.x86_64.rpm
yum install   libXp.so.6

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

相關文章