本人菜鸟,今天折腾了一天终于弄好文件系统,上传oracle安装文件,高兴了一下,设置好参数,然后设置环境变量,解压安装文件,运行./runInstaller,悲剧来了,
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/OraInstall2013-01-15_04-18-57PM. Please wait ...$ Xlib: connection to "10.56.25.12:0.0" refused by server
Xlib: Client is not authorized to connect to Server
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '10.56.25.12:0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.
(X11GraphicsEnvironment.java:175)
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java:180)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:91)
at java.awt.Window.init(Window.java:268)
at java.awt.Window.(Window.java:312)
at java.awt.Frame.(Frame.java:431)
at oracle.ewt.popup.PopupFrame.(Unknown Source)
at oracle.ewt.lwAWT.BufferedFrame.(Unknown Source)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.(OiocOneClickInstaller.java:357)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:2127)
到这里,不动了,我回车
$Xclock
$Xlib: connection to "10.56.25.12:0.0" refused by server
Xlib: Client is not authorized to connect to Server
1356-200 xhost unable to open display "10.56.25.12:0.0"
请问是什么问题啊?
环境变量的修改文件:
E.修改环境变量
# vi /home/oracle/.profile
umask 022
export ORACLE_SID=ora10
export ORACLE_BASE=/opt/oracle
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
export ORACLE_TERM=xterm
export ORA_NLS33=$ORACLE_HOME/nls/data
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/network/lib:.
export NLS_LANG=American_america.zhs16gbk
export SHLIB_PATH=$ORACLE_HOME/lib:/usr/lib
export PATH=$ORACLE_HOME/bin:.:$PATH:/usr/local/bin:/usr/ccs/bin
export CLASSPATH=$ORACLE_HOME/jlib:.
export LIBPATH=$ORACLE_HOME/JDK/JRE/BIN:$ORACLE_HOME/jdk/jre/bin/classic:$ORACLE_HOME/lib32
export DISPLAY=10.10.250.251:0.0收起