Welcome 微信登录

首页 / 数据库 / MySQL / Linux 平台 Oracle 安装 报错 Check if the DISPLAY variable is set 解决方法

在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]$ lsdoc     readme.html  rpm           sshsetup  welcome.htmlinstall 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    PassedChecking swap space: must be greater than150 MB.   Actual 1999 MB    PassedChecking 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    PassedChecking swap space: must be greater than150 MB.   Actual 1999 MB    PassedChecking 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    PassedChecking swap space: must be greater than150 MB.   Actual 1999 MB    PassedChecking monitor: must be configured todisplay at least 256 colors.    Actual16777216    PassedPreparing to launch Oracle UniversalInstaller from /tmp/OraInstall2012-04-13_09-24-13PM. Please wait ...应该还有其他的解决方法,这里不在研究原因了。 Oracle Linux 6 下 Oracle RDBMS Server 11gR2 Preinstall RPM 包说明Oracle Linux 6.1 平台安装 Database 11gR2 步骤 说明相关资讯      oracle linux 
  • Oracle Linux 7.2 安装截图  (12/04/2015 14:15:11)
  • Oracle Linux 6.7 发布下载,  (07/31/2015 07:40:32)
  • Oracle Linux 6.6 发布,企业级   (10/23/2014 15:12:02)
  • Oracle Linux 7.2 发布下载  (11/27/2015 08:47:21)
  • Oracle Linux 7.1 发布下载  (03/17/2015 19:29:55)
  • Oracle Linux 5.11更新了其  (10/02/2014 21:41:29)
本文评论 查看全部评论 (0)
表情: 姓名: 字数