Linux 平台 Oracle 安裝 報錯 Check if the DISPLAY variable is set 解決方案

來源:互聯網
上載者:User

 

 

在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 ...

 

 

應該還有其他的解決方案,這裡不在研究原因了。

 

 

 

 

 

-------------------------------------------------------------------------------------------------------

著作權,文章允許轉載,但必須以連結方式註明源地址,否則追究法律責任!

Skype: tianlesoftware

Email:   tianlesoftware@gmail.com

Blog:     http://www.tianlesoftware.com

Weibo: http://weibo.com/tianlesoftware

Twitter: http://twitter.com/tianlesoftware

Facebook: http://www.facebook.com/tianlesoftware

Linkedin: http://cn.linkedin.com/in/tianlesoftware

 

 

-------加群需要在備忘說明Oracle資料表空間和資料檔案的關係,否則拒絕申請----

DBA1 群:62697716(滿);   DBA2 群:62697977(滿)  DBA3 群:62697850(滿)  

DBA 超級群:63306533(滿);  DBA4 群:83829929   DBA5群: 142216823

DBA6 群:158654907    DBA7 群:172855474   DBA總群:104207940

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.