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
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.<clinit>(Unknown Source)
at java.awt.Component.<clinit>(Unknown Source)
出现如上问题说明其有些SO文件没有进行安装(一些必要的图形库文件)
解决方法:
yum install libXp.i686 libXt.i686 libXtst.i686 libXpm-devel.i686 libaio-devel.i686 glibc-devel.i686 libstdc++-devel.i686 compat-libstdc++-.i686
2.
Protected multilib versions: libXtst-1.2.3-1.el6.i686 != libXtst-1.2.1-2.el6.x86_64
Error: Protected multilib versions: libXt-1.1.4-6.1.el6.i686 != libXt-1.1.3-1.el6.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
安装后出现如上错误:
原因:
由于本机上安装的为Centos 64位的机器,运行后导致安装冲突3.
解决办法:在执行命令后面加上:--setopt=protected_multilib=false
3.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-05-23_04-22-08AM. Please wait ...[oracle@localhost database]$ No protocol specified
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
at java.awt.Window.init(Unknown Source)
at java.awt.Window.<init>(Unknown Source)
at java.awt.Frame.<init>(Unknown Source)
at oracle.ewt.popup.PopupFrame.<init>(Unknown Source)
at oracle.ewt.lwAWT.BufferedFrame.<init>(Unknown Source)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.<init>(OiocOneClickInstaller.java:378)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:2091)
解决方法:http://blog.csdn.net/techsupporter/article/details/9793225
具体解决办法:切换用户将点击右上角有个切换用户然后将用户切换为Oracle用户就可以了进行安装了