数据库

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

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

分享到:
【字体:
导读:
         摘要:Linux平台Oracle安装报错CheckiftheDISPLAYvariableisset解决方法在OracleLinux6.1上安装Oracle11.2.0.3,在运行runInstaller时报错。具体如下:[root@davemnt]#xhost+accessco... ...

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

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  www.2cto.com  
[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  www.2cto.com  
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]$  www.2cto.com  
 
解决方法:
 
在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 ...
 
应该还有其他的解决方法,这里不在研究原因了。
 
 
 
作者 aijuans
Linux平台Oracle安装报错Check if the DISPLAY variable is set解决方法
分享到:
pl/sql远程连接orcle服务器问题
pl/sql远程连接orcle服务器问题 可能的问题:   1、windows的防火墙所致   2、环境变量PATH里没有加上%ORACLE_HOME%\bin导致   ORACLE 连接设置方法很多,这里写四种,但主要是远程连接方法。   第一种情况:       若oracle服务器装在本机上,那就不多说了,连接只是用户名和密码的问题了。不过要注意环境变量%OR...
ORA-01722:invalid number的问题
ORA-01722:invalid number的问题 com.ibatis.common.jdbc.exception.NestedSQLException:    --- The error occurred in  --- The error occurred while applying a parameter map.   --- Check the outwhbill.insertDtlHis-InlineParameterMap.   --- Check the statement (update failed).  www.2cto.com     -...
  •         php迷,一个php技术的分享社区,专属您自己的技术摘抄本、收藏夹。
  • 在这里……