在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