LINUX 按裝ORACLE 9204 報錯解決!!

yhj20041128001發表於2011-02-07

LINUX 按裝ORACLE 9204 報錯解決!!

[oracle@db1 ~]$ uname -a
Linux db1 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686 i686 i386 GNU/Linux

1、問題一
[oracle@dbServer Disk1]$ ./runInstaller
[oracle@dbServer Disk1]$ Initializing Java Virtual Machine from /tmp/OraInstall2
008-10-09_12-56-11PM/jre/bin/java. Please wait...
Error occurred during initialization of VM
Unable to load native library: /tmp/OraInstall2008-10-09_12-56-11PM/jre/lib/i386
/libjava.so: symbol __libc_wait, versionGLIBC_2.0 not defined in file libc.so.6
 with link time reference

解決方法:
When you execute runInstaller from the Oracle 9iR2 (9.2.0) CD, you will get the following

error message:

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


To resolve the __libc_wait symbol issue, download the p3006854_9204 patch

p3006854_9204_LINUX.zip fromhttp://metalink.oracle.com/. See bug 3006854 for more

information.

su - root
# unzip p3006854_9204_LINUX.zip
Archive:  p3006854_9204_LINUX.zip
   creating: 3006854/
  inflating: 3006854/rhel3_pre_install.sh
  inflating: 3006854/README.txt

# cd 3006854
# sh rhel3_pre_install.sh
Applying patch...
Patch successfully applied
#
2、問題二

linux安裝Oracle安裝介面亂碼解決方法!

 

export NLS_LANG=AMERICAN_AMERICA.UTF8
export LC_ALL=C

 

3、問題三
在linuxrh4 安裝oracle9.2.0.4 過程中執行到63%時

Exception String: Error in invoking target install of makefile

/orasys/oracle/product/9.2.0/plsql/lib/ins_plsql.mk

該打的補丁包 也已經打了

檢查安裝日誌

Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target install of makefile

/u01/app/oracle/plsql/lib/ins_plsql.mk

在linux下執行以下操作

mv /usr/bin/gcc /usr/bin/gccold
mv /usr/bin/gcc32 /usr/bin/gcc

然後安裝正常 成功後記的改回去
mv /usr/bin/gcc  /usr/bin/gcc32
mv /usr/bin/gccold /usr/bin/gcc

 

 

 

4、問題四
/home/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

 

export PATH LD_ASSUME_KERNEL=2.4.1   
          ##(1)這一步很重要,只要2.6.0以下的核心都可以用這個版本,不要寫成自已的核心版本

。會出現內jvm錯誤
             /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
          (事實上在2.4.20下安裝成功之後重編譯核心版本2.6.0照樣可以正常執行。)

 

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

相關文章