1.
1 Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-05-23_04-18-48AM. Please wait ...[oracle@localhost database]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2017-05-23_04-18-48AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory 2 at java.lang.ClassLoader$NativeLibrary.load(Native Method) 3 at java.lang.ClassLoader.loadLibrary0(Unknown Source) 4 at java.lang.ClassLoader.loadLibrary(Unknown Source) 5 at java.lang.Runtime.loadLibrary0(Unknown Source) 6 at java.lang.System.loadLibrary(Unknown Source) 7 at sun.security.action.LoadLibraryAction.run(Unknown Source) 8 at java.security.AccessController.doPrivileged(Native Method) 9 at sun.awt.NativeLibLoader.loadLibraries(Unknown Source) 10 at sun.awt.DebugHelper.<clinit>(Unknown Source) 11 at java.awt.Component.<clinit>(Unknown Source)
出現如上問題說明其有些SO檔案沒有進行安裝(一些必要的圖形庫檔案)
解決方法:
1 yum install libXp.i686 libXt.i686 libXtst.i686 libXpm-devel.i686 libaio-devel.i686 glibc-devel.i686 libstdc++-devel.i686 compat-libstdc++-33.i686
2.
1 Protected multilib versions: libXtst-1.2.3-1.el6.i686 != libXtst-1.2.1-2.el6.x86_64 2 Error: Protected multilib versions: libXt-1.1.4-6.1.el6.i686 != libXt-1.1.3-1.el6.x86_64 3 You could try using --skip-broken to work around the problem 4 You could try running: rpm -Va --nofiles --nodigest
安裝後出現如上錯誤:
原因:
由於本機上安裝的為Centos 64位的機器,執行後導致安裝衝突3.
解決辦法:在執行命令後面加上:--setopt=protected_multilib=false
3.
1 Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-05-23_04-22-08AM. Please wait ...[oracle@localhost database]$ No protocol specified 2 Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. 3 at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) 4 at sun.awt.X11GraphicsEnvironment.<clinit>(Unknown Source) 5 at java.lang.Class.forName0(Native Method) 6 at java.lang.Class.forName(Unknown Source) 7 at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source) 8 at java.awt.Window.init(Unknown Source) 9 at java.awt.Window.<init>(Unknown Source) 10 at java.awt.Frame.<init>(Unknown Source) 11 at oracle.ewt.popup.PopupFrame.<init>(Unknown Source) 12 at oracle.ewt.lwAWT.BufferedFrame.<init>(Unknown Source) 13 at oracle.sysman.oio.oioc.OiocOneClickInstaller.<init>(OiocOneClickInstaller.java:378) 14 at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:2091)
解決方法:http://blog.csdn.net/techsupporter/article/details/9793225
具體解決辦法:切換使用者將點選右上角有個切換使用者然後將使用者切換為Oracle使用者就可以了進行安裝了