溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點(diǎn)擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

linux安裝oracle數(shù)據(jù)庫無法啟動(dòng)安裝界面的問題

發(fā)布時(shí)間:2020-07-20 19:42:01 來源:網(wǎng)絡(luò) 閱讀:1522 作者:小蝦米216 欄目:關(guān)系型數(shù)據(jù)庫

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”這樣的命令輕松解決,以下介紹的方法是這些命令無法解決的情況下可嘗試使用。



把系統(tǒng)注銷,然后使用Oracle用戶(或者別的安裝軟件的用戶)直接登錄系統(tǒng)進(jìn)入即可!

另外注意:環(huán)境變量配置文件中,如果加上官方文檔中的一個(gè)參數(shù)

  •  

  • export      DISPLAY=local_host:0.0  

會(huì)導(dǎo)致不能以O(shè)racle用戶的身份登錄到圖形界面,提示什么10s什么的


向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請(qǐng)聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI