首頁  >  文章  >  資料庫  >  Linux 平台 Oracle 安装 报错 Check if the DISPLAY variable is set 解

Linux 平台 Oracle 安装 报错 Check if the DISPLAY variable is set 解

WBOY
WBOY原創
2016-06-07 17:13:121624瀏覽

在Oracle Linux 6.1 上安装Oracle 11.2.0.3, 在运行runInstaller 时报错。 具体如下:

在Oracle Linux 6.1 上安装Oracle 11.2.0.3, 在运行runInstaller 时报错。 具体如下:

[root@dave mnt]# xhost +

access control disabled, clients canconnect from any host

[root@dave mnt]# su - oracle

[oracle@dave ~]$ cd /u01/software/database/

[oracle@dave database]$ ls

doc     readme.html  rpm           sshsetup  welcome.html

install response     runInstaller  stage

[oracle@dave database]$ export DISPLAY=127.0.0.1:0.0

[oracle@dave database]$ ./runInstaller

Starting Oracle Universal Installer...

 

Checking Temp space: must be greater than120 MB.   Actual 9049 MB    Passed

Checking swap space: must be greater than150 MB.   Actual 1999 MB    Passed

Checking monitor: must be configured todisplay at least 256 colors

    >>> Could not execute auto checkfor display colors using command /usr/bin/xdpyinfo. Check if the DISPLAYvariable is set.    Failed

 

Some requirement checks failed. You mustfulfill these requirements before

 

continuing with the installation,

 

Continue? (y/n) [n] 

 

User Selected: No

 

Exiting Oracle Universal Installer, log forthis session can be found at /tmp/OraInstall2012-04-13_09-12-43PM/installActions2012-04-13_09-12-43PM.log

 

[oracle@dave database]$ export DISPLAY=192.168.3.201:0.0

[oracle@dave database]$ ./runInstaller

Starting Oracle Universal Installer...

 

Checking Temp space: must be greater than120 MB.   Actual 9049 MB    Passed

Checking swap space: must be greater than150 MB.   Actual 1999 MB    Passed

Checking monitor: must be configured todisplay at least 256 colors

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

 

Some requirement checks failed. You mustfulfill these requirements before

 

continuing with the installation,

 

Continue? (y/n) [n] n

 

User Selected: No

 

Exiting Oracle Universal Installer, log forthis session can be found at /tmp/OraInstall2012-04-13_09-13-45PM/installActions2012-04-13_09-13-45PM.log

[oracle@dave database]$

解决方法:

在OS中注销用户并切换到oracle 用户,就可以执行了,如下:

[oracle@dave database]$ ./runInstaller

Starting Oracle Universal Installer...

Checking Temp space: must be greater than120 MB.   Actual 9048 MB    Passed

Checking swap space: must be greater than150 MB.   Actual 1999 MB    Passed

Checking monitor: must be configured todisplay at least 256 colors.    Actual16777216    Passed

Preparing to launch Oracle UniversalInstaller from /tmp/OraInstall2012-04-13_09-24-13PM. Please wait ...

应该还有其他的解决方法,这里不在研究原因了。

linux

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn