LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 719|回复: 1

论坛里可能没有出现过oracle安装的新问题?

[复制链接]
发表于 2003-11-23 19:41:53 | 显示全部楼层 |阅读模式
我在论坛里,寻找几十页,也没有发现答案;
  向数据库大侠请教oracle 9i 的问题!
我在redhat9.0 下 安装oracle 9i(9.0.1)出现了以下问题:
[lifeng@xcc Disk1]$ ./runInstaller
[lifeng@xcc Disk1]$ Initializing Java Virtual Machine from /tmp/OraInstall1/jre/ bin/jre. Please wait...
/tmp/OraInstall1/jre/bin/../lib/i686/green_threads/libzip.so: symbol errno, vers ion GLIBC_2.0 not defined in file libc.so.6 with link time reference (libzip.so)
Unable to initialize threads: cannot find class java/lang/Thread
Could not create Java VM
[lifeng@xcc Disk1]$

我已经正确安装了 jdk 1.3.1;

登陆用户的.bash_profile 脚本如下:
PATH=$PATH:/usr/java/jdk1.3.1/bin:/usr/java/jdk1.3.1/jre/bin
JAVA_HOME=/usr/java/jdk1.3.1
export JAVA_HOME
CLASSPATH="./:/usr/java/jdk1.3.1/lib:/usr/java/jdk1.3.1/jre/lib"
export CLASSPATH

# Oracle Environment

ORACLE_HOME=/opt/oracle/product/9.0.1; export ORACLE_HOME
ORACLE_SID=dia2; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
TNS_ADMIN=/export/home/oracle/config/9.0.1; export TNS_ADMIN
NLS_LANG=AMERICAN-AMERICA.UTF8; export NLS_LANG
ORA_NLS33;$oracle_home/ocommon/nls/admin/data; export ORA_NLS33
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/openwin/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/td/lib:/usr/ucblib: \

/usr/local/lib
export LD_LIBRARY_PATH

# Set shell search paths:

PATH=/bin:/usr/bin:/usr/sbin:/etc:/opt/bin:/usr/ccs/bin:/usr/openwin
/bin:/opt/local/GNU/bin
PATH=$PATH:/opt/local/bin:/opt/NSCPnav/binORACLE_HOME/bin
PATH=$PATH:/usr/local/samba/bin:/usr/ucb:
export PATH

#CLASSPATH must include the following JRE locations:

CLASSPATH=$ORACLE_HOME/JREORACLE_HOME/jlibORACLE_HOME/rdbms/jlib
CLASSPATH=$CLASSPATHORACLE_HOME/network/jlib

盼望哪位数据库大侠,指点一二!谢谢 我的email:xu_ccai@cvicse.com
发表于 2003-11-25 11:26:29 | 显示全部楼层
你的环境设置里缺了下面一项:
export LD_ASSUME_KERNEL=2.4.1
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表