Oracle Enterprise Linux - Oracle HRMS install notes

Submitted by code_admin on Mon, 07/16/2018 - 15:42

Install notes how I installed Oracle Enterprise Linux and Oracle HRMS machine.

Download Enterprise Linux 5 CD's (there are 5)

Install Oracle Enterprise Linux

When I installed without testing at least one CD the install hung.

Network Setup

Once I have installed Oracle Enterprise Linux 5 I set up the network. My machine is behind a consumer grade ADSL router with dynamic DNS.
I decided on a hostname for the machine as follows:
Hostname: oracle

  1. Log on to router and configure static IP address for machine
  2. Edit /etc/hosts and add an entry for the new machine
  3. Edit /etc/sysconfig/network and make this entry correct

In my example the files are as follows:

  1. # Do not remove the following line, or various programs
  2. # that require network functionality will fail.
  3.               localhost.localdomain localhost
  4. ::1             localhost6.localdomain6 localhost6
  5.  oracle



Note: It is tempting to put in the /etc/sysconfig/network file. I did exactly this at first but when I ran the rapidwiz install process it gave an error (RW-20019: No install actions...). The solution was putting the real ip address against I am ok with this on my instalisation but if you don't want the IP hard coded in the machine you could try replacing this with after the install completes.
You can test some of these settings by seeing if these commands work:

  1. ping oracle
  2. ping

Client Machine Network Setup

In order for windows machines to connect I had to add the Oracle server to their hosts file.
On my windows XP machine I have to edit C:\WINDOWS\system32\drivers\etc
as follows:

  1. # Copyright (c) 1993-1999 Microsoft Corp.
  2. #
  3. # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
  4. #
  5. # This file contains the mappings of IP addresses to host names. Each
  6. # entry should be kept on an individual line. The IP address should
  7. # be placed in the first column followed by the corresponding host name.
  8. # The IP address and the host name should be separated by at least one
  9. # space.
  10. #
  11. # Additionally, comments (such as these) may be inserted on individual
  12. # lines or following the machine name denoted by a '#' symbol.
  13. #
  14. # For example:
  15. #
  16. #          # source server
  17. #              # x client host
  19.       localhost

You can test that this has worked by pinging your host and donain name e.g.:

  1. C:\Documents and Settings\Robert Metcalf>ping
  3. Pinging [] with 32 bytes of data:
  5. Reply from bytes=32 time=2ms TTL=64
  6. Reply from bytes=32 time=1ms TTL=64
  7. Reply from bytes=32 time=1ms TTL=64
  8. Reply from bytes=32 time=1ms TTL=64
  10. Ping statistics for
  11.     Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
  12. Approximate round trip times in milli-seconds:
  13.     Minimum = 1ms, Maximum = 2ms, Average = 1ms
  15. C:\Documents and Settings\Robert Metcalf>

Optionial - Set up Client Tools

At this point you may wish to set up putty on the client to point to the Oracle server. This gives you a SSH connection. You can also setup a tool like Filezilla so you can copy files to and from the server.

Configure public yum repistory

I found instructions at

Edit the file that has been downloaded and in the section [el5_ga_base] set enabled=1 (ga base = generally available base)

Check Package Versions and install

  1. rpm -qa
  2. yum install openmotif
  3. yum install sysstat
  4. yum install compat-db
  5. yum install compat-glibc

Non yum rpm's from Oracle website

  1. cd $HOME
  2. rpm -i openmotif21-2.1.30-11.EL5.i386.rpm
  3. rpm -i xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm
  4. rpm -i binutils-
  5. rm $HOME/*.rpm

Change SELinux to permissibe mode

If you set up SELinux when installing Linux you need to set it to permisive mode. Otherwise SELinux interferes with Oracle. If you didn't set it up then you can skip this step.

  1. vi /etc/selinux/config

Change SELINUX=enforcing to SELINUX=permissive

Change Kernal Settings

  1. vi /etc/sysctl.conf

Add lines to end:

  1. kernel.sem = 256 32000 100 142
  2. kernel.shmmni = 4096
  3. kernel.msgmni = 2878
  4. fs.file-max = 65536
  5. net.ipv4.ip_local_port_range = 10000 65000
  6. net.core.rmem_default = 262144
  7. net.core.rmem_max = 262144
  8. net.core.wmem_default = 262144

run new settings

  1. sysctl -p

Increase DNS resolver timeout

  1. vi /etc/resolv.conf

Add lines to end

  1. options attempts:5
  2. options timeout:15

Set security file limits

  1. vi /etc/security/limits.conf

Add lines to end

  1. # added for oracle
  2. * hard nofile 65535
  3. * soft nofile 4096
  4. * hard nproc 16384
  5. * soft nproc 2047

Apply patch 6078836

Download or copy the file to $HOME

  1. cd $HOME
  2. unzip
  3. mv $HOME/6078836/ /usr/lib/.
  4. rm -rf 6078836
  5. rm

Link to Motif library for Oracle Application Server 10.1.2

  1. unlink /usr/lib/
  2. ln -s /usr/X11R6/lib/ /usr/lib/

Downloaded the files from edelivary

I also backed these up on my external hard disk.

Create a stage12 directory and unzip the files into this directory

  1. unzip -o -d$HOME/stage12
  2. unzip -o -d$HOME/stage12
  3. unzip -o -d$HOME/stage12
  4. unzip -o -d$HOME/stage12
  5. unzip -o -d$HOME/stage12
  6. unzip -o -d$HOME/stage12
  7. unzip -o -d$HOME/stage12
  8. unzip -o -d$HOME/stage12
  9. unzip -o -d$HOME/stage12
  10. unzip -o -d$HOME/stage12
  11. unzip -o -d$HOME/stage12
  12. unzip -o -d$HOME/stage12
  13. unzip -o -d$HOME/stage12
  14. unzip -o -d$HOME/stage12
  15. unzip -o -d$HOME/stage12
  16. unzip -o -d$HOME/stage12
  17. unzip -o -d$HOME/stage12
  18. unzip -o -d$HOME/stage12
  19. unzip -o -d$HOME/stage12
  20. unzip -o -d$HOME/stage12
  21. unzip -o -d$HOME/stage12
  22. unzip -o -d$HOME/stage12
  23. unzip -o -d$HOME/stage12
  24. unzip -o -d$HOME/stage12
  25. unzip -o -d$HOME/stage12
  26. unzip -o -d$HOME/stage12
  27. unzip -o -d$HOME/stage12
  28. unzip -o -d$HOME/stage12
  29. unzip -o -d$HOME/stage12
  30. unzip -o -d$HOME/stage12
  31. unzip -o -d$HOME/stage12
  32. unzip -o -d$HOME/stage12
  33. unzip -o -d$HOME/stage12
  34. unzip -o -d$HOME/stage12
  35. unzip -o -d$HOME/stage12
  36. unzip -o -d$HOME/stage12
  37. unzip -o -d$HOME/stage12
  38. unzip -o -d$HOME/stage12
  39. unzip -o -d$HOME/stage12
  40. unzip -o -d$HOME/stage12

Make all the installed filed executable:

  1. chmod -R +x $HOME/stage12

Create oracle user

You should log in as the root user and create another user called oracle.
Click here for screenshots of creating the oracle user

Create install dir

You have to be root to do this.

  1. cd /
  2. mkdir d01
  3. chown oracle d01
  4. chgrp oracle d01

Restart the system

Log in as oracle user and run rapid install from Start CD

From a terminal run

  1. cd startCD/Disk1/rapidwiz/rapidwiz
  2. ./rapidwiz

Click here for screenshots of the install process
When filling out the dialogs I entered
Hostname: oracle
Domain Name:
Both were entered in two places.
Note: If you get an error saying no install actions are found it might be caused by having against the host in the hosts file. (See mention of this above)

Start DB Commands

  1. cd /d01/oracle/VIS/db/tech_st/11.1.0/appsutil/scripts/VIS_oracle

Start the Listner

  1. ./ start VIS

Start the DB

  1. ./ start VIS

Now start the apps server:

  1. cd /d01/oracle/VIS/inst/apps/VIS_oracle/admin/scripts
  2. ./

Open up firewall

Oracle uses various ports which I add to the firewall. System -> Administration -> Security level and firewall.
The ports I have added are:

User names

Application Usernames:
• SYSADMIN/sysadmin
• MFG/welcome
• OPERATIONS/welcome
• SERVICES/welcome
• MRC/welcome
• HRMS/welcome

Where is tnsnames.ora?

It is on the server in $ORACLE_HOME/network/admin
on my system /d01/oracle/VIS/apps/tech_st/10.1.2/network/admin

Other Stuff

Oracle install notes

RJM Article Type
Work Notes