+ -
当前位置:首页 → 问答吧 → oracle安装问题。。。急急急

oracle安装问题。。。急急急

时间:2011-04-14

来源:互联网

在 Aix上安装 oracle
在Xmanager上我能以root用户连上aix
但以oracle用户连不上,连接的时候,让我输入用户名,密码,接着一闪就自动关闭了。  请教
环境变也设了 export DISPLAY=IP :0.0

作者: 47295743   发布时间: 2011-04-14

你root登录,然后su - oracle不就行了吗?

作者: 老农   发布时间: 2011-04-14

不行。还是提示我没有设DISPLAY。。

Starting Oracle Universal Installer...

No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-04-15_01-13-44PM. Please wait ...
DISPLAY not set. Please set the DISPLAY and try again.
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.
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/bin/X11/xclock

作者: 47295743   发布时间: 2011-04-14

who am i显示一下
那你就export DISPLAY=YOURIP:0啊

作者: 老农   发布时间: 2011-04-14