我有两台机器,A,B。其中B是服务器,没有安装图形界面,只有控制台。A有图形界面。
现在B要安装oracle,但报如下错误:
[oracle@localhost setup]$ ./runInstaller -jreLoc /opt/jdk1.6.0_15/jre/
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asi
anux-1 or asianux-2
Passed
All installer requirements met.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-05-20_08-48-26AM. P
lease wait ...[oracle@localhost setup]$ Oracle Universal Installer, Version 10.2.0.1.0 Prod
uction
Copyright (C) 1999, 2005, Oracle. All rights reserved.
_X11TransSocketINETConnect() can't get address for 192.168.1.162:0:6000: Name or service no
t known
Can't connect to X11 window server using '192.168.1.162:0:0' as the value of the DISPLAY va
riable.
192.168.1.162:0:0
192.168.1.162:0:0
OUI-10025:Unable to start an interactive install session because of the following error:Can
't connect to X11 window server using '192.168.1.162:0:0' as the value of the DISPLAY varia ble. The DISPLAY environment variable should be set to <hostname or IP address>:<screen>, w here the <screen> is usually '0.0'.
OUI-10026:Depending on the Unix Shell, you can use one of the following commands as example s 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 tha t 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 vend or for further assistance.
Typical path for 'xclock': '/usr/X11R6/bin/xclock'
我在/etc/profile里是这么配的:
TMP=/tmp;
export TMP
TMPDIR=$TMP;
export TMPDIR
ORACLE_BASE=/oracle/oracle;
export ORACLE_BASE
export DISPLAY=192.168.1.162:0:0
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1;
export ORACLE_HOME
ORACLE_SID=sryx;
export ORACLE_SID
ORACLE_TERM=xterm;
export ORACLE_TERM
PATH=/usr/sbin:$PATH;
export PATH
PATH=$ORACLE_HOME/bin:$PATH;
export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib;
export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/jre:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;
export CLASSPATH
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
我是用SSH连接安装的。请问这种问题该怎么解决?谢谢!
8 个解决方案
#1
高级,帮顶
#2
没有图形界面,怎么安装oracle?
是通过敲命令?
那得敲多少命令啊?
是通过敲命令?
那得敲多少命令啊?
#3
等待 高人来解决 null
#4
多谢帮顶~~
#5
坐等高手啊
#6
#7
在等高手回答
#8
装了图形界面解决的。结帖!
#1
高级,帮顶
#2
没有图形界面,怎么安装oracle?
是通过敲命令?
那得敲多少命令啊?
是通过敲命令?
那得敲多少命令啊?
#3
等待 高人来解决 null
#4
多谢帮顶~~
#5
坐等高手啊
#6
#7
在等高手回答
#8
装了图形界面解决的。结帖!