最近由于需要测试的原因,安装了9204 for rhel4 u4,太长时间没有装这个版本的了,搞了两天时间,哎。
期间出现很多问题,把出现的问题列一下:
[@more@]
1:一开始就不顺利,执行 runInstaller时出错:
Error occurred during initialization of VM
Unable to load native library: /tmp/OraInstall2003-10-25_03-14-57PM/jre/lib/i386/libjava.so:
symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
解决方法:
需要安装 patch p3006854_9204_LINUX.zip
也同时安装了p3119415_9204_LINUX.zip和p3238244_9204_LINUX.zip包,装这两个包时需要用到p2617419_220_GENERIC.zip的OPATH.
2:安装到60%多的时候出错:
"Error invoking target install of makefile /u01/app/oracle/product/9.0.1/plsql/lib/ins_plsql.mk"
解决方法:
两个包没有安装:
compat-libcwait-2.1-1.i386.rpm
compat-oracle-rhel4-1.0-5.i386.rpm
为了装这个包,需要安装其它的包
freetype-devel-2.1.9-1.i386.rpm
fontconfig-devel-2.2.3-7.i386.rpm
xorg-x11-devel-6.8.2-1.EL.13.36.i386.rpm
xorg-x11-deprecated-libs-devel-6.8.2-1.EL.13.36.i386.rpm
xorg-x11-deprecated-libs-6.8.2-1.EL.13.36.i386.rpm
http://www.puschitz.com/InstallingOracle9i.shtml#RunningOracleInstallationOnRHELAS4
3.安装到DBCA建库时出错
/u01/app/oracle/jre/1.1.8/bin/../lib/i686/native_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
解决方法:
To rectify this problem, run the following command and restart runInstaller:
oracle$ export LD_ASSUME_KERNEL=2.4.19
oracle$ DBCA
最好将export LD_ASSUME_KERNEL=2.4.19放在.bash_profile中。
4.dbca建库时也出错:
/u01/app/oracle/product/9.2.0/bin/dbca: line 124: 26649 Segmentation fault
$JRE_DIR/bin/jre
-DORACLE_HOME=$OH -DJDBC_PROTOCOL=thin -mx64m -classpath $CLASSPATH
oracle.sysman.assistants.dbca.Dbca $ARGUMENTS
解决方法:
I executed the following command:
su - root
touch /etc/rac_on
Now try to restart dbca..
Another option is to edit $ORACLE_HOME/bin/dbca and to put the following lines under comment except the line marked in blue:
# if [ -f /etc/rac_on ]; then
# Run DBCA
$JRE_DIR/bin/jre -native -DORACLE_HOME=$OH ...
# else
# Run DBCA
# $JRE_DIR/bin/jre -DORACLE_HOME=$OH ...
# fi
Now try to restart dbca.
需安装的补丁地址:
http://www.itpub.net/viewthread.php?tid=435527&highlight=libc.so.6
比较好的文件链接:
http://www.puschitz.com/InstallingOracle9i.shtml#RunningOracleInstallationOnRHELAS4
http://blogimg.chinaunix.net/blog/upfile/070912012103.pdf
http://blog.chinaunix.net/u/12631/showart_527475.html
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/271283/viewspace-1026199/ ,如需转载,请注明出处,否则将追究法律责任。