Chinaunix

标题: linux5.5下安装oracle 10g [打印本页]

作者: youmu80    时间: 2008-12-02 16:23
标题: linux5.5下安装oracle 10g
大家好,我在安装oracle的时候出现了一个这样的错误
[e@localhost database]$ ./runInstaller
正在启动 Oracle Universal Installer...

正在检查安装程序要求...

检查操作系统版本: 必须是edhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
                                      通过


所有安装程序要求均已满足。
准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2008-11-20_09-47-41PM. 请稍候...[oracle@localhost database]$ 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>(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
        at java.awt.Window.init(Unknown Source)
        at java.awt.Window.<init>(Unknown Source)
        at java.awt.Frame.<init>(Unknown Source)
        at oracle.ewt.popup.PopupFrame.<init>(Unknown Source)
        at oracle.ewt.lwAWT.BufferedFrame.<init>(Unknown Source)
        at oracle.sysman.oio.oioc.OiocOneClickInstaller.<init>(OiocOneClickInstaller.java:37
        at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:2091)



能后就停留在这里,希望大家帮忙,谢谢
作者: 小把戏    时间: 2008-12-03 14:13
你运行下 xhost+
作者: renxiao2003    时间: 2009-11-24 11:32
应该是用root用户登录图形系统后su过来的吧。
作者: wnfh3445    时间: 2010-04-13 16:08
在服务器上运行host +
或者用xmanager工具连接到服务器上安装
作者: ly215197    时间: 2010-04-15 15:33
远程安装host +
本地安装不会出现该问题
作者: undeadwawl    时间: 2010-04-15 19:58
图形界面安装
作者: hsprince    时间: 2010-06-26 12:03
上网搜索 ,很多这个错误的解决方法。
作者: duolanshizhe    时间: 2010-08-19 09:44
在root用户执行  xhost +

然后切换到oracle用户就可以
作者: duolanshizhe    时间: 2010-08-19 09:45
su  -  oracle




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2