zoukankan      html  css  js  c++  java
  • Oracle-执行./runInstaller报错,弹不出图形界面

    [root@Apexmic Packages]# xhost +

    无论是root用户还是oracle用户均执行了xhost +

    但还是报以下错误

    [oracle@Apexmic database]$ ./runInstaller
    Starting Oracle Universal Installer...

    Checking Temp space: must be greater than 120 MB.   Actual 76868 MB    Passed
    Checking swap space: must be greater than 150 MB.   Actual 5499 MB    Passed
    Checking monitor: must be configured to display at least 256 colors.    Actual 16777216    Passed
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-02-07_11-15-20AM. Please wait ...[oracle@Apexmic database]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2017-02-07_11-15-20AM/jdk/jre/lib/i386/xawt/libmawt.so: libXext.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(ClassLoader.java:1753)
     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1649)
     at java.lang.Runtime.load0(Runtime.java:769)
     at java.lang.System.load(System.java:968)
     at java.lang.ClassLoader$NativeLibrary.load(Native Method)
     at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1753)
     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1670)
     at java.lang.Runtime.loadLibrary0(Runtime.java:822)
     at java.lang.System.loadLibrary(System.java:993)
     at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.awt.Toolkit.loadLibraries(Toolkit.java:1509)
     at java.awt.Toolkit.<clinit>(Toolkit.java:1530)
     at com.jgoodies.looks.LookUtils.isLowResolution(LookUtils.java:484)
     at com.jgoodies.looks.LookUtils.<clinit>(LookUtils.java:249)
     at com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(PlasticLookAndFeel.java:135)
     at java.lang.Class.forName0(Native Method)
     at java.lang.Class.forName(Class.java:242)
     at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1779)
     at javax.swing.UIManager.setLookAndFeel(UIManager.java:453)
     at oracle.install.commons.util.Application.startup(Application.java:780)
     at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:165)
     at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:182)
     at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:348)
     at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:124)
     at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:155)

    重启之后还是无济于事,最后仔细检查,原来关键在于红色部分,少安装了libXext.so.6这个包

    [root@Apexmic Packages]# yum install -y libXext*

    再执行./runInstaller就可以了

  • 相关阅读:
    JS站点
    1011 World Cup Betting (20分)
    1007 Maximum Subsequence Sum (25分)(动态规划DP)
    1006 Sign In and Sign Out (25分)
    1005 Spell It Right (20分)
    1004 Counting Leaves (30分)(DFS)
    1003 Emergency (25分)(Dijkstra算法)
    1002 A+B for Polynomials (25分)
    1001 A+B Format (20分)
    canvas
  • 原文地址:https://www.cnblogs.com/guipeng/p/6373371.html
Copyright © 2011-2022 走看看