温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

linux安装oracle数据库无法启动安装界面的问题

发布时间:2020-07-20 19:42:01 来源:网络 阅读:1533 作者:小虾米216 栏目:关系型数据库

Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPL


[grid@node grid]$ ./runInstaller 

Starting Oracle Universal Installer...


Checking Temp space: must be greater than 120 MB.   Actual 6332 MB    Passed

Checking swap space: must be greater than 150 MB.   Actual 2047 MB    Passed

Checking monitor: must be configured to display at least 256 colors

    >>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set.    Failed <<<<


Some requirement checks failed. You must fulfill these requirements before


continuing with the installation,


Continue? (y/n) [n] y



>>> Ignoring required pre-requisite failures. Continuing...

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2019-02-22_08-49-00PM. Please wait ...[grid@node grid]$ Exception in thread "main" java.lang.NoClassDefFoundError

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:164)

at java.awt.Toolkit$2.run(Toolkit.java:821)

at java.security.AccessController.doPrivileged(Native Method)

at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)

at com.jgoodies.looks.LookUtils.isLowResolution(Unknown Source)

at com.jgoodies.looks.LookUtils.<clinit>(Unknown Source)

at com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(PlasticLookAndFeel.java:122)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:242)

at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1783)

at javax.swing.UIManager.setLookAndFeel(UIManager.java:480)

at oracle.install.commons.util.Application.startup(Application.java:758)

at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164)

at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)

at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:265)

at oracle.install.ivw.crs.driver.CRSInstaller.startup(CRSInstaller.java:96)

at oracle.install.ivw.crs.driver.CRSInstaller.main(CRSInstaller.java:103)

解决办法:

(正常情况下可以使用"xhost +"命令以及“export DISPLAY=ip address:0.0”这样的命令轻松解决,以下介绍的方法是这些命令无法解决的情况下可尝试使用。



把系统注销,然后使用Oracle用户(或者别的安装软件的用户)直接登录系统进入即可!

另外注意:环境变量配置文件中,如果加上官方文档中的一个参数

  •  

  • export      DISPLAY=local_host:0.0  

会导致不能以Oracle用户的身份登录到图形界面,提示什么10s什么的


向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI