ES3.0安裝ORACLE出現Xlib: connection to

sdvingo發表於2007-03-23
引用:
[oracle@Zheng Disk1]$ Initializing Java Virtual Machine from /tmp/OraInstall2004-04-17_05-52-49PM/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.(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.(Window.java:188)
at java.awt.Frame.(Frame.java:315)
at java.awt.Frame.(Frame.java:262)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:593)


檢查你的核心版本:
$ uname -a
如果是2.4.19或2.4.18之類的可以設定
export LD_ASSUME_KERNEL=2.4.1
然後指定DISPLAY名稱:
xhost +伺服器名
export DISPLAY=伺服器名:0.0
然後再試試
[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/443058/viewspace-906498/,如需轉載,請註明出處,否則將追究法律責任。

相關文章