- 论坛徽章:
- 0
|
JDK(1.4)装好了,能进入到ORACLE安装图形界面了.
- su-2.05b$ java -version
- Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
- java version "1.4.2_10"
- Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03)
- Java HotSpot(TM) Client VM (build 1.4.2_10-b03, mixed mode)
- -su-2.05b$
复制代码
但是JAVA环境变量不知是不是配置的不对,现在装Oracle时能启动到安装界面并且NEXT NEXT……到了
What type of installation do you want ? 时,选择Enterprise并点NEXT 后,
安装界面就一直停住了?上面的进度条显示:
Loading JAVA Runtime Environment…… (66%)
系统情况如下:
是用oracle用户进入系统的(桌面环境),oracle用户的环境变量配置如下:
- -su-2.05b$ cat /home/oracle/.profile
- PATH=/compat/linux/bin:/compat/linux/sbin:/compat/linux/usr/bin:/compat/linux/usr/sbin:/home/oracle/oracle/920/bin:/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin;
- export PATH
- ORACLE_BASE=/home/oracle/oracle;export ORACLE_BASE
- ORACLE_HOME=/home/oracle/oracle/920;export ORACLE_HOME
- LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH;
- export LD_LIBRARY_PATH
- ORACLE_SID=ORCL; export ORACLE_SID
- ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data;export ORA_NLS33
- export DISPLAY=:0
- export JAVA_HOME=/usr/local/linux-sun-jdk1.4.2
- export CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib:$JAVA_HOME/jre
- export PATH=$PATH:$JAVA_HOME/bin:$JAVA_HOME/jre/bin
- -su-2.05b$
复制代码
另外将root用户的.cshrc文件增加了下面内容:
- FreeBSD# cat /root/.cshrc
- # $FreeBSD: src/etc/root/dot.cshrc,v 1.29 2004/04/01 19:28:00 krion Exp $
- #
- # .cshrc - csh resource script, read at beginning of execution by each shell
- #
- # see also csh(1), environ(7).
- #
- …………
- export JAVA_HOME=/usr/local/linux-sun-jdk1.4.2
- export CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib:$JAVA_HOME/jre
- export PATH=$PATH:$JAVA_HOME/bin:$JAVA_HOME/jre/bin
- FreeBSD#
复制代码
奇怪的是用oracle用户ls /usr/local则看不到/usr/local/linux-sun-jdk1.4.2目录,用root用户可以看到
- -su-2.05b$ ls /usr/local/
- bin doc etc games include lib libexec sbin share src
- -su-2.05b$ su
- FreeBSD# ls /usr/local/
- bin jdk1.4.2 private
- build-1 lib sbin
- etc libdata share
- gnu-autotools libexec src
- include linux-sun-jdk1.4.2 www
- info man
复制代码
当时我怀疑是oracle用户没权限访问/usr/local/linux-sun-jdk1.4.2 于是我就
- chown -R oracle:dba /usr/local/linux-sun-jdk1.4.2
复制代码
可是还是不行啊~现在装ORACLE一直就停在66%处(不是系统慢的问题,而是一直停在这,都停了有一两天时间咯.),并显示Loading JAVA Runtime Environment……
望高人不吝赐教~谢~
[ 本帖最后由 yaser 于 2006-11-30 17:44 编辑 ] |
|