Friday, February 25, 2011

Install Oracle 9iR2 on RHEL4 AS Server

Error:
[oracle@vmxora9i stage]$ ./Disk1/runInstaller
[oracle@vmxora9i stage]$ Initializing Java Virtual Machine from /tmp/OraInstall2011-02-25_07-15-40PM/jre/bin/java. Please wait...
Error occurred during initialization of VM
Unable to load native library: /tmp/OraInstall2011-02-25_07-15-40PM/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

Solution:
Download patch 4198954(COMPATIBILITY PACKAGES FOR ORACLE ON RHEL 4) from metalink
>>>> Compatibility files for running Oracle on RHEL 4
>>>>
>>>> compat-oracle-rhel4-1.0-5.i386.rpm
>>>> compat-libcwait-2.1-1.i386.rpm

[root@vmxora9i oracle]# yum install ./compat-oracle-rhel4-1.0-5.i386.rpm ./compat-libcwait-2.1-1.i386.rpm
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Examining ./compat-oracle-rhel4-1.0-5.i386.rpm: compat-oracle-rhel4 - 1.0-5.i386
Marking ./compat-oracle-rhel4-1.0-5.i386.rpm to be installed
Examining ./compat-libcwait-2.1-1.i386.rpm: compat-libcwait - 2.1-1.i386
Marking ./compat-libcwait-2.1-1.i386.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package compat-oracle-rhel4.i386 0:1.0-5 set to be updated
---> Package compat-libcwait.i386 0:2.1-1 set to be updated
--> Running transaction check
--> Processing Dependency: compat-gcc-32 for package: compat-oracle-rhel4
--> Processing Dependency: xorg-x11-deprecated-libs-devel for package: compat-oracle-rhel4
--> Processing Dependency: compat-gcc-32-c++ for package: compat-oracle-rhel4
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package compat-gcc-32-c++.i386 0:3.2.3-47.3 set to be updated
---> Package xorg-x11-deprecated-libs-devel.i386 0:6.8.2-1.0.1.EL.63 set to be updated
---> Package compat-gcc-32.i386 0:3.2.3-47.3 set to be updated
--> Running transaction check
--> Processing Dependency: xorg-x11-devel = 6.8.2-1.0.1.EL.63 for package: xorg-x11-deprecated-libs-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package xorg-x11-devel.i386 0:6.8.2-1.0.1.EL.63 set to be updated
--> Running transaction check
--> Processing Dependency: fontconfig-devel >= 2.1 for package: xorg-x11-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package fontconfig-devel.i386 0:2.2.3-13.el4 set to be updated
--> Running transaction check
--> Processing Dependency: freetype-devel >= 2.1.4 for package: fontconfig-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package freetype-devel.i386 0:2.1.9-8.el4.6 set to be updated
--> Running transaction check
--> Processing Dependency: zlib-devel for package: freetype-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package zlib-devel.i386 0:1.2.1.2-1.2 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
compat-libcwait i386 2.1-1 ./compat-libcwait-2.1-1.i386.rpm 2.7 k
compat-oracle-rhel4 i386 1.0-5 ./compat-oracle-rhel4-1.0-5.i386.rpm 1.8 k
Installing for dependencies:
compat-gcc-32 i386 3.2.3-47.3 el4_u8_base 3.0 M
compat-gcc-32-c++ i386 3.2.3-47.3 el4_u8_base 3.7 M
fontconfig-devel i386 2.2.3-13.el4 el4_u8_base 233 k
freetype-devel i386 2.1.9-8.el4.6 el4_u8_base 533 k
xorg-x11-deprecated-libs-devel i386 6.8.2-1.0.1.EL.63 el4_u8_base 285 k
xorg-x11-devel i386 6.8.2-1.0.1.EL.63 el4_u8_base 5.2 M
zlib-devel i386 1.2.1.2-1.2 el4_u8_base 91 k

Transaction Summary
=============================================================================
Install 9 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 13 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: compat-gcc-32 ######################### [1/9]
Installing: compat-gcc-32-c++ ######################### [2/9]
Installing: zlib-devel ######################### [3/9]
Installing: freetype-devel ######################### [4/9]
Installing: fontconfig-devel ######################### [5/9]
Installing: xorg-x11-devel ######################### [6/9]
Installing: xorg-x11-deprecated-libs-dev ######################### [7/9]
Installing: compat-oracle-rhel4 ######################### [8/9]
cat: /etc/ld.so.preload: No such file or directory
Installing: compat-libcwait ######################### [9/9]

Installed: compat-libcwait.i386 0:2.1-1 compat-oracle-rhel4.i386 0:1.0-5
Dependency Installed: compat-gcc-32.i386 0:3.2.3-47.3 compat-gcc-32-c++.i386 0:3.2.3-47.3 fontconfig-devel.i386 0:2.2.3-13.el4 freetype-devel.i386 0:2.1.9-8.el4.6 xorg-x11-deprecated-libs-devel.i386 0:6.8.2-1.0.1.EL.63 xorg-x11-devel.i386 0:6.8.2-1.0.1.EL.63 zlib-devel.i386 0:1.2.1.2-1.2
Complete!
[root@vmxora9i oracle]#

1 comment:

  1. [oracle@vmxora9i stage]$ $ORACLE_HOME/bin/netca
    /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
    [oracle@vmxora9i stage]$ export LD_ASSUME_KERNEL=2.4.19
    [oracle@vmxora9i stage]$ $ORACLE_HOME/bin/netca
    Oracle Net Services Configuration:

    ReplyDelete