安裝9204 for rhel4出現的問題總結

jolly10發表於2009-08-20

最近由於需要測試的原因,安裝了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




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://blogimg.chinaunix.net/blog/upfile/070912012103.pdf
http://blog.chinaunix.net/u/12631/showart_527475.html

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/271283/viewspace-1026199/,如需轉載,請註明出處,否則將追究法律責任。

相關文章