linux安裝oracle數據庫無法啓動安裝界面的問題

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什麼的


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章