Home > Database > Mysql Tutorial > body text

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

WBOY
Release: 2016-06-07 17:13:12
Original
1627 people have browsed it

在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

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template