[[email protected] Packages]# xhost +

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

但还是报以下错误

[[email protected] 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 ...[[email protected] 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.(Toolkit.java:1530)

at com.jgoodies.looks.LookUtils.isLowResolution(LookUtils.java:484)

at com.jgoodies.looks.LookUtils.(LookUtils.java:249)

at com.jgoodies.looks.plastic.PlasticLookAndFeel.(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这个包

[[email protected] Packages]# yum install -y libXext*

再执行./runInstaller就可以了

原文:http://www.cnblogs.com/guipeng/p/6373371.html

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐