CENTOS5.0下安装oracle10g出错!
[oracle@localhost oracle10g]$ ./runInstaller -ignoresysprereqs
正在启动 Oracle Universal Installer...
正在检查安装程序要求...
检查操作系统版本: 必须是redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
通过
所有安装程序要求均已满足。
准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2007-10-26_05-50-31PM. 请稍候...[oracle@localhost oracle10g]$ Oracle Universal Installer, Version 10.2.0.1.0 Production
Copyright (C) 1999, 2005, Oracle. All rights reserved.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
:0.0
:0.0
OUI-10025:Unable to start an interactive install session because of the following error:Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. The DISPLAY environment variable should be set to <hostname or IP address>:<screen>, where the <screen> is usually '0.0'.
OUI-10026: Depending on the Unix Shell, you can use one of the following commands as examples to set the DISPLAY environment variable:
- For csh: % setenv DISPLAY 192.168.1.128:0.0
- For sh, ksh and bash: $ DISPLAY=192.168.1.128:0.0; export DISPLAY
Use the following command to see what shell is being used:
echo $SHELL
Use the following command to view the current DISPLAY environment variable setting:
echo $DISPLAY
- Make sure that client users are authorized to connect to the X Server.
OUI-10027:To enable client users to access the X Server, open an xterm, dtterm or xconsole as the user that started the session and type the following command:
% xhost +
To test that the DISPLAY environment variable is set correctly, run a X11 based program that comes with the native operating system such as 'xclock':
% <full path to xclock... see below>
If you are not able to run xclock successfully, please refer to your PC-X Server or OS vendor for further assistance.
Typical path for 'xclock': '/usr/X11R6/bin/xclock'
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(9)
谁知道怎么修改啊,说得详细点啊
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
:0.0
:0.0
问题很明确啊,这个论坛里有很多安装说明的,为什么不去找一找呢,环境变量都没设好,就开装了?
楼上仁兄,就不知道才问的吗,就是按照步骤装了才出的问题,
过来是请教问题,高兴你就给说,不高兴就不说,
不要会了不给说,或是不想说,不想说就不回帖。
都是中国人,下面的都不想说了
用root帐户 xhost +
DISPLAY的问题~
配置环境变量$display $ORACLE_HOME等
解决办法 :
#vi /etc/inittab
把 id:5:initdefault: 修改为 id:3:initdefault
#reboot
在文本模式下 用boot登录
# startx
# xhost +
# su - oracle
$ export DISPLAY="192.168.0.7:0.0"
$ export LANG=en_US
$ cd /tmp/10201_database_linux32/databases
$ ./runInstaller
我的方法是推出root后,使用oracle用户登录
PS:仔细研究一下e文就可以看懂了
我在suse10 sp2上有遇到这个问题。
好运
google一下你的报错,都有解决方法,先试着自己解决