Oracle Applications (12.1.1) Installation on OEL 5

In this article; i will try to explain step by step Oracle Application installation R12.1.1  on OEL  5


Oracle Applications Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86 [ID 761564.1]
Oracle Applications Installation Guide: Using Rapid Install

A. Before start installation:

1. The installation of  E-Business Suite R12.1.1 needs, secure Linux disabled and the following package groups installed:

  • ar
  • gcc
  • g++
  • ld
  • ksh
  • make
  • X Display Server

I strongly suggest , try to  “install everything” while you are making OEL installation. Its little hard to try install-add some rpms and other tools on OEL.

In this article, i assume that you have been installed everything.

2.The installation size of Oracle E-Business Suite R12.1.1 is:

  • 90 GB for a fresh install with a production database:

Application tier file system – 35 GB (For HP-UX Itanium 50 Gb)
Database tier file system – 55 GB

  • 243 GB for a fresh install with a Vision Demo database.

Application tier file system – 35 GB
Database tier file system–208 GB (For HP-UX Itanium 210 Gb)

3. Create stage area folder:

You need to setups file for can make Oracle E-Business Suite R12.1 installation. You can use site for can download Oracle E-Business Suite the lastest version.

Oracle E-Business Suite R12.1 setup files almost have 50 GB size(with NLS patch)

You can create stage folder by following:

Oracle E-Business Suite R12.1 installation manualPage 1-14 Setting Up the Stage Area


Put all the files under one directory (i.e. /data/R12stage), and extract all the files under the same directory and give it to 777 permission

For instance:

[root@test]# mkdir /data/R12Stage

[root@test]# chown –R 777 /data/R12Stage

[root@test]#  cd /data/R12Stage

For  Start Here DVD create below:

mkdir startCD

For APPL_TOP DVD create below:

mkdir oraApps

For RDBMS DVD create below:

mkdir oraDB

For Tools DVD create below:

mkdir oraiAS

For Databases DVD create below:

mkdir oraAppDB

Before start to  installation, i strongly suggest check below:

MD5 Checksums for R12.1.1 Rapid Install Media [ID 802195.1] note for can observe you have any problem wiht your stage or not(Corrupted zip etc)

In this article, i assume you have installed everything on you OEL5  installation.

For related  requiriments(tools&rmp etc) please follow below:

Oracle Applications Installation Guide: Using Rapid Install

B. Installation steps preparings:

1. Edit Host file:

The /etc/hosts file must contain a fully qualified name for the server:

<IP-address>  <fully-qualified-machine-name>  <machine-name>


[root@test]# more /etc/hosts       localhost.localdomain   localhost

Open your hosts file wiht editor(I will use vi editor in this article),put your info in this file and save it. In this article my localhost will be test, my localdomain will be

PS: If you are using standalone server or pc you can give use any domain name you want. But if your server or pc on any domain you must use localdomain.

[root@test]# vi  /etc/hosts       localhost.localdomain   localhost

10.100.x.x  test

2. Set Kernel Parameters:

Add following line in end of the  /etc/sysctl.conf file.

[root@test]# vi  /etc/ sysctl.conf

#R12.1.1 kernel settings

kernel.shmall = 2097152

kernel.shmmax = 4294967295

kernel.shmmni = 4096

# semaphores: semmsl, semmns, semopm, semmni

kernel.sem = 256 32000 100 142

fs.file-max = 327679

net.ipv4.ip_local_port_range = 10000 65000





#full qualified hostname(format is host.localdomain)  << optional

kernel.hostname   = test.helios .com << optional

#correct domain name !! << optional

kernel.domainname = << optional

After this steps you must set your new settings wiht below command:

/sbin/sysctl –p

3. Update /var/tmp/.oracle with 777 permissions

chmod 777 /var/tmp/.oracle

4. Edit /etc/security/limits.conf file:

Add the following lines to the /etc/security/limits.conf file:

[root@test]# vi  /etc/ security/limits.conf

* hard nofile 65535

* soft nofile 4096

* hard nproc 16384

* soft nproc 2047

5. Edit /etc/resolv.conf file:

Add the following lines to the /etc/resolv.conf file:

options attempts:5

options timeout:15

6. Check /etc/sysconfig/network files format:

Verify that the /etc/sysconfig/network file is formatted as follows:


7. If the /etc/sysconfig/networking/profiles/default/network file exists, remove it.

If you changed any files in the previous steps, restart the system.

Be sure you have below rmp on your system:

Oracle Enterprise Linux 5*:

Update 1 (5.1) or higher of Oracle Enterprise Linux (OEL) 5 is required

Update 1 (5.1) or higher of Red Hat Enterprise Linux (RHEL) 5 is required

The following i386 packages are not part of the OS distribution media and must be downloaded separately (from for both OEL 5 and RHEL 5) and installed manually:

  • openmotif21-2.1.30-11.EL5.i3861
  • xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386
  • For Update 1 or 2:
    • binutils-
  • For Update 3:
    • binutils-
  • For Update 4 (5.4) or higher, see workaround listed below in the ‘After Installing or Upgrading’ section.

The following i386 packages must be installed from the OEL 5 or RHEL 5 distribution media:

  • compat-glibc-2.3.4-2.26
  • gcc-4.1.2-14.el5
  • gcc-c++-4.1.2-14.el5
  • glibc-2.5-123
  • glibc-common-2.5-123
  • glibc-devel-2.5-12
  • libgcc-4.1.2-14.el53
  • libstdc++-devel-4.1.2-14.el5
  • libstdc++-4.1.2-14.el53
  • make-3.81-1.13
  • gdbm-1.8.0-26.2.13
  • libXp-1.0.0-8.1.el5
  • libaio-0.3.106-3.23
  • libgomp-4.1.2-14.el5
  • sysstat-7.0.0-3.el5
  • compat-libstdc++-296-2.96-138
  • compat-libstdc++-33-3.2.3-61

Additionally, the following RPMs are required for an 11gR1 Database (which is bundled with the 12.1.1 release) on the database tier:

  • elfutils-libelf-devel-0.125
  • elfutils-libelf-devel-static-0.125
  • libaio-devel-0.3.106
  • unixODBC-2.2.11
  • unixODBC-devel-2.2.11
  • kernel-headers-2.6


1: The openmotif package version must be 2.1.30 (for example, openmotif-2.2.3-10.RHEL4.5 is not supported).
2: This GNU linker (ld) version 2.17 provided by Oracle is required for relinking the modules in Advanced Planning & Scheduling (MSC, MSO, MSR)
3: This rpm is distributed as part of the ‘default’ installation of Enterprise Linux

Oracle Applications Installation and Upgrade Notes for Linux x86-64(64-bit) Release 12 (12.1.1)//

OS Library Patch for Oracle HTTP Server (on OEL 5 and RHEL 5 only)

Download and apply the patch 6078836 from My Oracle Support to fix an issue with the Oracle HTTP Server (missing bundled with the E-Business Suite technology stack.
Note that this patch (which includes a required operating system library) must be applied before installing Oracle E-Business Suite.

8. Link to Motif library for Oracle Application Server 10.1.2 (on OEL 5 and RHEL 5 only)

Perform the following command (as root on your system) to update a required link to a Motif library prior to relinking or patching the 10.1.2 Application Server Oracle Home:

# unlink /usr/lib/
# ln -s /usr/X11R6/lib/ /usr/lib/

Without this updated link, you may see the following errors during a relink of the 10.1.2 Oracle Home:

/usr/lib/ undefined reference to  `__stack_chk_fail@GLIBC_2.4'
/usr/lib/ undefined reference to  `__fprintf_chk@GLIBC_2.3.4'
/usr/lib/ undefined reference to  `__sprintf_chk@GLIBC_2.3.4'

9. Create user and group for installation:

[root@test]# groupadd dba

[root@test]# useradd –g dba  –d  /home/appltest appltest

[root@test]#useradd –g dba  -d /home /oratest oratest

We will use appltest to can manage Application Tier and we will use oratest for can manage Database Tier. Our installation folder will be TEST,also our SID will be TEST.

10. Create folder for Oracle E-Business Suite R12.1.1 installation

Firstly,  i want to show you my mount point size of server

[root@test]# df –h

Filesystem Size Used Avail Use% Mounted
/dev/cciss/c0d0p6 355G 55G 300G 6% /data

As you can see i have 300 GB free space, so i will create my stage folder and my installation folder on this mount point.

[root@test]# cd /data

[root@test data ]#mkdir  TEST

In this article i will make Fresh Installation(Normaly, If i will make DEMO installation, I like to call installation  folder  VIS, if i will make fresh installation(TEST or PROD) i like to call installation folder  TEST or PROD)

Give 777 to installation folder

[root@test]# chmod 777 /data/TEST

Option 1:

Create related folder for Application and Database tier(optional)

If we want to put application tier installation folder  together(also database tier instalaltion folder) together we can create 2 subfolders under my main installation folder TEST.

[root@test]# cd /data/TEST

[root@test TEST]# mkdir apps

[root@test TEST]#mkdir db

We must give permisson to our user for can make installation of those folder

[root@test]# chown  –R appltest:dba /data/TEST/apps

[root@test]# chown  –R oratest:dba /data/TEST/db

Option two:

Just create TEST folder and give it 777 and use it for installation and application and db tier’s folders will be created under this main folder.

11. I assume that you will not make installation on server room, you will try to make installation on your local laptop or on your pc. So we need to set our xdisplay settings. If this is your first time on server you need to start vncviwer services,before start sevices please follow below steps:

Open  /root/.vnc/xstartup file with vi and edit it as:

[root@test]# vi  /root/.vnc/xstartup

Delete # from below lines


exec /etc/X11/xinit/xinitrc

[root@test]# service vncserver status <<if it return  not running result,than

[root@test]# service vncserver start

Starting VNC server: [  OK  ]

If first time you are starting VNCSERVER after your OLE  installation, than you need to give password can connect from your local machine

[root@test]# vncserver

[root@test]# export DISPLAY=test:1.0

[root@test]#xhost+ << it should return below line

Access control disabled,  client can connect from any hosts

12. Open your vncviewer from your local machine and follow installation wizard (if you dont have this program please download it from

C. Installation wizard steps:

When you run vncviewer from your local,than you will see installation screens,For can see screen shoots, Please follow C. Installation wizard steps part on my previous post which is avaliable  here

D. After Installing or Upgrading:

Perform the following steps after installing or upgrading to Release 12.1.1 and before allowing users to access the system.

Relink Advanced Supply Chain Planning executables (for SLES 10 and OEL/RHEL 5.4 or higher only)

During the relink phase of the installation of EBS Release 12 (12.1.1) on SLES 10 or OEL/RHEL 5.4 (Update 4 or higher), failures will result while relinking the Advanced Supply Chain Planning (ASCP) executables. To fix this problem, users are required to replace the following line under the Linux section of the $AD_TOP/bin/

CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh'


CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh -Wl,--noinhibit-exec'

After making this change, users are then required to run the adadmin utility and relink application executables.


“Oracle Applications (12.1.1) Installation on OEL 5” için 19 cevap

  1. Another great post! I shared this one on Facebook – you should add a “like” button to your posts. 🙂

  2. Hi Utah
    Thanks for your sharing

  3. After making this change, users are then required please send the complete steps by stp installation of r12 on linux .
    and pls send the how to run the adadmin utility and relink application executables.

    how to do this ..
    highly appreciate your help

    how to do this ..
    highly appreciate your help

    1. Hi raj;

      Please check below note:
      How to relink an Applications Installation of Release 11i and Release 12 [ID 356878.1]
      How To relink a single executable via ADADMIN Utility [ID 388198.1]

  4. Excellent work…Appreciate your work…thanks very much for sharing…………….

    Best regards,


    1. Hi Rafi;

      Thanks for your kind words

  5. I have the below questions in this installation.

    1. Can I install Oracle 12.1.1 64 bit on Oracle Linux Release 6 for x86_64?

    2. During the Linux Installtion, what kind of Server option should I choose?

    3. Should I give a static ip or should I enable DCHP?



    1. Hi Ram;
      1. Can I install Oracle 12.1.1 64 bit on Oracle Linux Release 6 for x86_64?
      linux 6 is not certified yet.Thatswhy i suggest use OEL or RHEL5

      2. During the Linux Installtion, what kind of Server option should I choose?
      It depends your budget and your company policy
      3. Should I give a static ip or should I enable DCHP?
      You have to use staticIP you could get IP from DCHP but your server’s IP dont be change after reeboot, if IP changed after reeboot you can not login EBS


  6. Hi,

    Can someone help? I have install Oracle eBS 12.1 on a Desktop in my office. When I complete the EBS install I get the ebs login page. But I could not launch applications. I needed to login from a client machine. So I shutdown my desktop machine but I rebooted I could not the eBS login.

    So I have determine that I need to login to the Desktop server first from my client machine.

    And here is where my problem begins. Here is my network–
    My wirelee laptop connects to Linksys router 192.168.100 and I can go to the internet with my laptop.

    My Desktop runs OEL 5.5 and I reach the Internet (192.162.103)
    Now my laptop can ping my Desktop.

    My Desktop can not ping my laptop. The Desktop is connected top the LINKSYS router with a cable.


    Can any on offer any help on how I can resolve my problem.

    Thank you for your help.


    1. Hi Manny;

      Please post your issue on OTN forum site( I will answer your issue there.


  7. Thank you so much, sir.
    After going through tens of other articles – yours extensive once finally brought me home.
    The only part I would like see here is the hint to link the library to (instead of applying the patch).
    Apart from this the article is pure perfection 🙂

    1. Hi John;

      Nice to hear my post helped you on your issue and thanks for kind message


  8. This is an great site, I’ll be sure to add your site to my list 🙂

  9. Hello guys…
    I am beginner ..i need yours support from very beginner level..
    I want to install Oracle EBS 12.2.2 on RHEL Linux 5.5. which rpms i need to download.. and how to download these rpms.. and how to install please provide me steps…

    1. Hi Asif
      All related rpm mention in installation notes, you just need to follow installation guide

  10. Hi,

    Do u have any similar document for upgrading database server OS from RHEL 4 to 5 ?


    1. hi;

      you can follow Troubleshooting Assistant: Oracle Database/Client Upgrade – Downgrade (Doc ID 1561791.2)

Bir Cevap Yazın

Aşağıya bilgilerinizi girin veya oturum açmak için bir simgeye tıklayın: Logosu hesabınızı kullanarak yorum yapıyorsunuz. Çıkış  Yap /  Değiştir )

Facebook fotoğrafı

Facebook hesabınızı kullanarak yorum yapıyorsunuz. Çıkış  Yap /  Değiştir )

Connecting to %s

%d blogcu bunu beğendi: