|
系统环境:Redhat Linux as5.0 sp1 ,java 1.5.0
数据库系统racle 9.2.0.4
步骤:
Redhat以图形界面启动
su oracle
export DISPLAY=ip:0.0
开始安装oracle
输出以下错误:
initializing Java Virtual Machine from /tmp/OraInstall2008-05-02_03-20-14PM/jre/bin/java. Please wait...
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '10.136.11.31: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)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
at java.awt.Window.<init>(Window.java:188)
at java.awt.Frame.<init>(Frame.java:315)
at java.awt.Frame.<init>(Frame.java:262)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:593)
再在root下执行xhost +主机名
再切换到oracle用户下继续执行安装,但仍旧报以上错误
寻找过了很多关于X11的资料,但就不知道问题所在,请高手赐教,谢谢! |
|