2010/05/31

Oracle DB11gR2 Installation on Enterprise Linux 5 - missing RPMs

While I was trying to install Oracle 11gR2 on my laptop I stumbled across missing RPMs.

My environment
================
Dell Laptop with Windows Vista

Installation
==================

Downloaded and installed Enterprise Linux 5 from Oracle Edelivery site.

The initial attempt to install the Oracle DB11gR2 resulted in the warnings that some of the required RPMs are not installted.

I tried various google results to install missing RPMs. The best solution that I found required the following ( thanks to original post).

On Linux do the following -

# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-el5.repo

The above will download the public-yum-el5.repo package into /etc/yum.repos.d
Get the Package

After this edit the file to set the enabled flag to 1 for the version of EL you are using.
Open the file

Edit the file

Now using the above tool you can download and install any missing rpms.

# yum install unixODBC
Download the unixODBC RPM

Insall the unixODBC
# yum install unixODBC-devel
# yum install sysstat
# yum install libaio-0.3.106
# yum install libaio-devel-0.3.106

Using the above I had installed all the missing RPMs.
===============================================================================
Update 20/06/2010
=================
Post Installation:
==================

export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_2
export ORACLE_SID=orcl ( make sure this matches the SID otherwise you might get LRM-00109 error when attempt to startup the database)
export PATH=$ORACLE_HOME/bin:$PATH

If you do not perform the above tasks, the SQLPLUS would not start and any attempt would throw up the error -
"sqlplus can not execute binary file".

No comments:

Post a Comment

File Handling with Python

This little utility is for copying files from source to target directories.  On the way it checks whether a directory exists in the target, ...