您好,欢迎访问一九零五行业门户网

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

在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 ...
应该还有其他的解决方法,这里不在研究原因了。

其它类似信息

推荐信息