|
执行./runInstall后出错.安装界面都没出来,
Initializing Java Virtual Machine from /tmp/OraInstall2005-11-26_09-29-38PM/jre/bin/java. Please wait...
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>(X11GraphicsEnvironment.java:59) at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
at java.awt.Window.<init>(Window.java:188)
at java.awt.Frame.<init>(Frame.java:315)
at java.awt.Frame.<init>(Frame.java:262)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:593)
下面我说明一下:
我基本上是按着论坛中http://www.linuxsir.cn/bbs/showt ... p;highlight=oracle9
这篇来做的.不同的是:
我装的这个版本是9.2.0.4,原文件是ISO文件.我在/mnt下建了三个文件夹Disk1,Disk2,Disk3
mount -o loop /mnt/f/oracle/disk1.iso /mnt/Disk1
mount -o loop /mnt/f/oracle/disk2.iso /mnt/Disk2
mount -o loop /mnt/f/oracle/disk3.iso /mnt/Disk3
还有在/etc/sysctl.conf中的设置,
因kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 1024 65000
这两行不明白是什么意思就没放进去.
还有一个就是在oracle用户中的.bash_profile 配置文件,有几行关于语言环境的没放进去
是这几句:
export NLS_LANG=”American_america.zhs16gbk”
# export NLS_LANG="SIMPLIFIED CHINESE_CHINA.ZHS16GBK"
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
export DISPLAY=:0
export LANG=en_US
export GDM_LANG= en_US
export LC= en_US
我的系统是RedHat AS4
:help 请各位高手指点一下,这是怎么回事,怎样解决. |
|