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

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

WBOY
WBOYOriginal
2016-06-07 17:13:121622Durchsuche

在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

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn