Problems installing Oracle 9i (9.2.0.4.0) Client on SuSE Linux
[来源:网上转载 (bbs.chinaunix) | 作者:网友(lau.keats) | 时间:2007-08-01 | 浏览: 95 人次 ]
Hi!
When I try to install oracle 9.2.0.4, I am getting the following :
GZADC-PORTAL-1 /ora9i_install/Disk1> ./runInstaller
GZADC-PORTAL-1 /ora9i_install/Disk1> Initializing Java Virtual Machine from /tmp/OraInstall2007-07-03_12-16-33PM/jre/bin/java.
Error occurred during initialization of VM
Unable to load native library: /tmp/OraInstall2007-07-03_12-16-33PM/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
and my os is SuSE Linux :
Linux GZADC-PORTAL-1 2.6.5-7.191-bigsmp #1 SMP Tue Jun 28 14:58:56 UTC 2005 i686 i686 i386 G
NU/Linux
I can't figure it out,
Thanks in advance!
keats Lau
my id is    lau.keats@gmail
请问哪位朋友可以帮忙解决这个问题啊...
你是安装出现执行后的,无法进入到Linux的安装界面吗?
建议你先安装一下JDK
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)
已经安装了的.
我这是安装Oracle9i,出现上述情况.无法安装....
谢谢你的回答.
这个问题我已经解决了.
-----------------------------------------------------------------------------------------------------
以下为该问题的总结:
【现象描述】
在SUSE Linux 9下安装Oracle9i,执行./runInstaller时安装界面无法显示,不能安装Oracle。
【告警信息】
执行./runInstaller界面上提示以下错误:
Error occurred during initialization of VM
Unable to load native library: /tmp/OraInstall2005-08-12_02-24-05PM/jre/lib/i386/ libjava.so: symbol _libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
【原因分析】
Oracle9i在Linux系统下安装程序的自身缺陷,需要安装补丁解决。
【处理过程】
1、从acle/projects/compat-oracle/files/RedHat链接上
下载Oracle补丁:compat-oracle-rhel4-1.0-5.i386.rpm。
2、通过root用户安装该补丁:#rpm -Uvh compat*.rpm
3、如果依旧请下载Oracle补丁:compat-libcwait-2.0-2.i386.rpm,并安装。
(一般只需要安装前一个补丁即可)
不知道大家装ORACLE的时候有没有遇到问题
反正偶安装的时候遇到了一大堆的问题,网上能到的我都遇到了,网上不到的我也遇见了,那过程真是一辛苦,可能是对linux了解的不多,亦或者是习惯了微软的单一式的操作......
下面对一些错误进行一些整理,方便各位兄弟在安装的时候不要像我一样手足无措,当然,面对信息化的时代,解决问题才是最重要的能力......
参照了angle4发表Oracle9i (9.
2.0.4.0) Installation on Red Hat Enterprise Linux 5 (RHEL5)
如果想去看原文:www.chinaunix/jh/19/1059934.html
1. error while loading shared libraries: libstdc++-libc6.1-1.so.2:
cannot open shared object file: No such file or directory - after
./runInstaller execution.
Solution:
su -
# cd /usr/lib
# ln -s libstdc++-3-libc6.2-2-2.10.0.so libstdc++-libc6.1-1.so.2
2. Oracle 9i Patch
p2617419_220_GENERIC.zip
p3006854_9204_LINUX.zip
p3238244_9204_LINUX.zip
www.opennet.ru/soft/ora_inst/
compat-libcwait-2.0-2.i386.rpm
compat-oracle-rhel4-1.0-5.i386.rpm
acle/projects/compat-oracle/files/RedHat/
3. 几个需要的包所在的路径
compat-db -- AS5 disk 3
compat-gcc-34 -- 2
compat-gcc-34-c++ -- 2
compat-libgcc -- 3
openmotif -- 3
4. Exception in thread "main" java.lang.UnsatisfiedLinkError:
/tmp/OraInstall2007-12-06_07-00-08PM/jre/lib/i386/libawt.so: libXp.so.6:
cannot open shared object file: No such file or directory
Solution: install the follow RPMs
libXpm -- 1
libXpm-devel -- 2
libXp -- 2
libXp-devel -- 2
5. 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.LocalGraphicsEnvironment(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)
当时郁闷了我蛮久的
Solution: (xhost +的问题 )
1. 用oracle用户登录x-window
或者
2.用root用户运行
# xhost +
6. Fatal: Stack size too small. Use 'ulimit -s' to increase default
stack size.
第二次运行就正常了
7. $ dbca  // 无法启动dbca,提示错误如下:
/opt/oracle/jre/1.1.8/bin/../lib/i686/green_threads/libzip.so: symbol
errno, version 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
Solution:
$ cd /opt/app/oracle/product/9.2.0
$ ls -l JRE
lrwxrwxrwx 1 oracle oinstall 25 Dec 7 10:11 JRE -> /opt/app/oracle/jre/1.1.8
$ rm JRE
$ ln -s /opt/app/oracle/jre/1.3.1 JRE虚拟机linux安装jdk
$ su -
# cd /opt/app/oracle/product/9.2.0/JRE/bin/
# ln -s java jre
# cd i386/native_threads/
# ln -s java jre
8. 快装完的时候有:
parameter "orahome"=/home/oracle/product/9.2.0
parameter "nodeinfo"=NO_value
提示失败。
Solution:
打上安装补丁p3238244_9204_LINUX.zip
unzip p3238244_9204_LINUX.zip
cd
3238244
手工将3238244/files/lib/stubs目录下的所有文件复制到
/oracle/product/9.2.0/lib/stubs/目录下也可以,如下:
cp files/lib/stubs/* $ORACLE_HOME/lib/stubs/
重新
连接编译"Agent";相关程序
cd $ORACLE_HOME/network/lib/
make -f ins_oemagent.mk install
耐心等待成功编译。
再点击前面oracle安装程序中的"Agent Configuration Assistant",并点击
"Retry";重新运行配置工具程序,过一会应该会成功,退出安装
9. /opt/app/oracle/9.2.0/Apache/Apache/bin/apachectl startssl: httpd
could not be started
/opt/app/oracle/9.2.0/Apache/Apache/bin/httpd: error while loading
shared libraries: libdb.so.2: cannot open shared object file: No such
file or directory
Solution:
安装 gnome-libs-1.4.2-7.rhel5.i386.rpm 及其依赖的包
giflib-4.1.3-8.i386.rpm
libpng10-1.0.18-2.i386.rpm
glib-1.2.10-26.fc7.i386.rpm
ORBit-0.5.17-22.rhel5.i386.rpm
gnome-libs-1.4.2-7.rhel5.i386.rpm
rpmdb-redhat-4-0.20071031.src.rpm
imlib-1.9.15-2.fc7.i386.rpm
gtk+-1.2.10-57.fc7.i386.rpm
=====================
解决Agent Configuration Assistant安装失败
$ unzip p3238244_9204_LINUX.zip
$ cp 3238244/files/lib/stubs/* $ORACLE_HOME/lib/stubs/
$ cd $ORACLE_HOME/network/lib/
$ make -f ins_oemagent.mk install
=====================
解决 Oracle Net Configuration Assistant, Oracle Database Configuration Assistant 安装失败
$ rm $ORACLE_HOME/JRE
$ ln -s $ORACLE_BASE/jre/1.3.1/  $ORACLE_HOME/JRE
$ ln -s $ORACLE_HOME/JRE/bin/java $ORACLE_HOME/JRE/bin/jre
$ ln -s $ORACLE_HOME/JRE/bin/i386/native_threads/java $ORACLE_HOME/JRE/bin/i386/native_threads/jre
OK,现在Retry,你就可以成功安装Configuration Tools了,安装也就结束了...
如果各位兄弟还有无法解决的问题  请+ QQ:75278049
我们一起探讨 一起讨论  问题总是会被解决的
面对失败  我们只需要一次成功

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。