Instal ling Oracle 9i on RHEL5. December 16, 2008 Filed under: Installing Oracle 9i on RHEL5. ,Linux — kienmanowar @ 9:39 am I have to install Oracle 9i on RHEL5, i follow all steps to set up OS, environment variables, install all require rpm files. When run the /runinstaller , select appropriate choices. After few clicks Oracle will be installed. However i face a problem during dbca configuration, like this :
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Filed under: Installing Oracle 9i on RHEL5.,Linux — kienmanowar @ 9:39 am
I have to install Oracle 9i on RHEL5, i follow all steps to set up OS, environment
variables, install all require rpm files. When run the /runinstaller , select appropriatechoices. After few clicks Oracle will be installed. However i face a problem duringdbca configuration, like this :
Try to fix but i can’t find the solution, i guess may be wrong with JRE, after fewminutes for google … i found the solution to run DbCA. Here is all the steps fromnirajkvinit’s blog to install oracle9i :
Assuming
• You know how to operate a Linux Box. (Navigating directories/ knowhow of basiccommands)
• You know how to install software modules/libraries (Mostly rpms for RHEL5).
• You have a system installed with RHEL5 or you know how to install it.
Important tips during installation of RHEL5
•
Do not install Virtualization support during RHEL5 installation. I don’t know why butmy Oracle 9i Installation behaved erratically whenever this Virtualization module was present in my system. It installs a different Kernel (Xen). So skip it.
• During RHEL5 Installation disable SELinux. If you couldn’t do it in the first place thendon’t worry, read ahead to know how to disable it.
1. Installing Oracle 9i on RHEL5 (Logged in as root)
• Disabling SELinux – Disable SELinux now (If you couldn’t disable it duringinstallation).
#gedit /etc/selinux/config
And make sure to set the SELINUX Flag disabled.
SELINUX=disabled
Installing JRE – Newer version of JRE behaved badly in my Oracle installation, so
Download the Java Runtime Enviroment (I used j2re-1_3_1_19-linux-i586.bin)from http://java.sun.com/products/archive/j2se/1.3.1_19/index.html . Fire thecommand prompt and navigate to the location where you have stored thedownloaded file. Most probably it will be Root’s Desktop Directory. So go there.
#cd /root/Desktop
Give the file, execute permission and then execute it. When the JRE isexracted, move the extracted directory into the “/usr/local” directory.
• Installing missing libraries – You don’t know whether you have the required packagesinstalled or not. Right! Don’t sweat. Run following commands to check whether youhave those packages or not. If they are installed, the command prompt will return youtheir version, else ‘Not installed’ message.
If you get the ‘Not installed’ message with any of the package; then load your installation media (RHEL5 Installation Disk), and run the following commands to
• Now the Workarounds – Some libraries aren’t available for RHEL5, so you can use thesubstitutes available in the RHEL5 itself. All you have to do is linking. So, here you go.
• User and Group Creation – Oracle installer wouldn’t run as the root user, so you needto create a user. It would be better, if you create a special group for Oracle. To do these,run the following commands in the command prompt.
• ORACLE_BASE Directory Creation -Login as root and create base directory for Oracle ($ORACLE_BASE).
# cd /opt
# mkdir oracle
# chown –R oracle.oinstall oracle
#cd oracle
#mkdir 920
• Setting Environment Variables – Now since you have created the oracle user, you needto setup its environment variables. For that, you need to update oracle’s .bash_profilefile.
Save and close the file. You need to run a command to update the parameters
#sysctl –p
• Logout of root and login again as oracle user.
2. Installing Oracle 9i on RHEL5 (Logged in as oracle):
• Download Oracle 9i – Download the Oracle 9i (9.2.0.4) software from Oracle website.Store the files in oracle’s home directory. Launch the command prompt and navigatethere.
• Setting Oraparam.ini file – When all archives files are extracted you’ll have threedirectories Disk1, Disk2 and Disk3. Locate the oraparam.ini and update it with newinformation. Oraparam.ini is in Disk1/install/linux/ directory.