• CentOS 6安装Oracle报错解决方案


    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用户就可以了进行安装了

  • 相关阅读:
    Control.CheckForIllegalCrossThreadCalls
    c#禁止Webbrowser控件的弹出脚本错误对话框
    c#,WebBrowser 判断网页是否加载完毕
    c#里的动态数组ArrayList
    C#数据类型转换
    Net2.0 的新线程 ParameterizedThreadStart &BackgroundW
    在C#中使用委托的方式触发事件
    ASP.NET运行原理
    第六讲:ObjC 内存管理4 自动释放池
    第二讲:ObjC 点语法
  • 原文地址:https://www.cnblogs.com/lonecloud/p/6895688.html
Copyright © 2020-2023  润新知