日期:2014-05-17  浏览次数:20989 次

安装oracle时无法生成临时脚本:/tmp/orainstRoot.sh
本帖最后由 w272107545 于 2012-11-01 11:06:27 编辑
Warning: Cannot convert string "<Key>Escape,_Key_Cancel" to type VirtualBinding
Warning: Cannot convert string "<Key>Home,_Key_Begin" to type VirtualBinding
Warning: Cannot convert string "<Key>F1,_Key_Help" to type VirtualBinding
Warning: Cannot convert string "Shift<Key>F10,_Key_Menu" to type VirtualBinding
Warning: Cannot convert string "<Key>F10,Shift_Key_Menu" to type VirtualBinding
Warning: Cannot convert string "<Key>KP_Enter,_Key_Execute" to type VirtualBinding
Warning: Cannot convert string "Alt<Key>Return,Alt_Key_KP_Enter" to type VirtualBinding
Unable to generate temporary script: /tmp/orainstRoot.sh. Unable to continue install.
Unable to generate temporary script: /tmp/orainstRoot.sh. Unable to continue install.
Unable to generate temporary script: /tmp/orainstRoot.sh. Unable to continue install.
Unable to generate temporary script: /tmp/orainstRoot.sh. Unable to continue install.
Unable to generate temporary script: /tmp/orainstRoot.sh. Unable to continue install.
Unable to generate temporary script: /tmp/orainstRoot.sh. Unable to continue install.
Unable to generate temporary script: /tmp/orainstRoot.sh. Unable to continue install.
Unable to generate temporary script: /tmp/orainstRoot.sh. Unable to continue install.

图片刷不出来的话这是图片url:http://10.images22.51img1.com/6000/w272107545/0e3e8e83715cfae7830f20d0d23d7661.jpg
------最佳解决方案--------------------


1. ./runInstaller 程序使用oracle 用户来安装。 

2. 检查一下/tmp 目录的权限和Oracle 安装文件的权限,确保是Oracle 的安装用户和对一个的组,一般是oracle.oinstall.

3. 楼主安装时目录是如何指定的, 一般来说 oraInventory文件在 oraInventory 目录下生成。 

4. 楼主后面遇到的问题,是显示问题,最简单的解决方法是直接用oracle 用户登陆系统来安装。 或者
   用root 执行: xhost +
   oracle 执行: export DISPLAY=IP:0.0




------其他解决方案--------------------
图形界面oracle用户登录的可以执行./runInstaller
root登录然后终端su - oracle 不能执行./runInstaller
Initializing Java Virtual Machine from /tmp/OraInstall2012-11-01_11-15-47AM/jre/bin/java. Please wait...
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
 
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
        at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:59)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:120)
       &nbs