>  기사  >  데이터 베이스  >  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으로 문의하세요.