Oracle Applications Release 12 Installation on Cent OS 5 (32/64-bit)
- How to mount ntfs external USB drive to Cent OS 5?
- How to install LAMP (Linux, apache, php, mysql) – Blogging – Make It Easy?
- How do you check the profile option values using sql – Oracle Applications?
- Oracle Applications 12 Release on Cent OS
- Installation of Oracle 10g Release 2 (10.2.0.1.0) on Fedora Core Linux 6
I have successfully installed oracle applications 12.1.1 after a few trial runs in 64bit Cent OS 5. I had the instructions for RHEL 5 or 32-bit Cent OS 5. Once I started on 64-bit, as usual, my run did not make it. Finally, metalink help was very handy as the version 12.1.1 is new (as of writing this post). Please note that there is a difference between 32-bit & 64-bit version and the bug fix details are given. Here are the steps for you to follow.
Fully qualified name and /etc/hosts setup is important pre-step!
| Oracle Release 12 checksum (64bit) |
|---|
|
Here are the checksums (Note: 802195.1 – MD5 Checksums for R12.1.1 Rapid Install Media) If the checksum are through, you are better off during Release 12 installation Download Oracle 12 release MD5SUM checksum startCD_12.1.1 64bit |
Operating Systems Requirements
Kernel Requirements
Since Cent OS is made on RHEL, we can install oracle applications over Cent OS 5.0.
Cent OS 5 –> 2.6.18-92.1.22.el5
To determine version, enter: $ uname – r
Create a staging area for the Oracle Applications:
mkdir startCD
# APPL_TOP
mkdir oraApps
# RDBMS
mkdir oraDB
# Tools
mkdir oraiAS
# Databases
mkdir oraAppDB
This is from the meta link, I do not know the nuance of it. My system has better setting with 4 GB RAM. Hence, I left it as it is. Add the following lines to the /etc/sysctl.conf file:
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.msgmni = 2878
kernel.msgmax = 8192
kernel.msgmnb = 65535
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 142
fs.file-max = 131072
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=262144
net.core.rmem_max=262144
net.core.wmem_default=262144
net.core.wmem_max=262144
| Linux 64 Bit RHEL/OEL/CENTS OS issue |
|---|
| As a side note, 64 bit Linux distributions have enabled additional kernel security extensions from the SELinux project at the NSA. These finer grained security extensions can cause problems for third party producs such as Oracle. You might get an error in the $ORACLE_HOME/startup.log:
sqlplus: error while loading shared libraries: /opt/app/oracle/product/11.1.0/db_1/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied If this happens, you can get around this error by disabling SELinux in the /etc/sysconfig/selinux file. Make the following entry: SELINUX=disabled Six easy steps, except for possibly the last one, will take your database system to a new level. So finish the automatic startup and shutdown of your Oracle database. There is no fear. |
Required Packages
- glibc-2.3.4-2.25
- glibc-common-2.3.4-2.25
- binutils-2.15.92.0.2-21
- compat-libstdc++-296-2.96-132.7.2
- gcc-3.4.6-3
- gcc-c++-3.4.6-3
- libgcc-3.4.6-3
- libstdc++-3.4.6-3
- libstdc++-devel-3.4.6-3
- openmotif21-2.1.30-11.RHEL4.6**
- pdksh-5.2.14-30.3
- setarch-1.6-1
- make-3.80-6.EL4
- gnome-libs-1.4.1.2.90-44.1
- sysstat-5.0.5-11.rhel4
- compat-db-4.1.25-9
- control-center-2.8.0-12.rhel4.5
- xscreensaver-4.18-5.rhel4.11
- libaio-0.3.105-2
- libaio-devel-0.3.105-2
Here is the details, location of the URL : http://oss.oracle.com/projects/compat-oracle/files/Enterprise_Linux/
Eg: To Check, # rpm -q <package-name> , To Install, # rpm -Uvh <package-name.rpm>
If the following packages are not part of the OS distribution media and must be downloaded separately and installed manually:
• openmotif21-2.1.30-11.EL5.i3861
• xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386
• binutils-2.17.50.0.6-6.0.1.x86_642
After installing these patches, run ldconfig -v.
JDK 5.0 Requirements
JDK is bundled with Oracle Applications.
| Oracle HTTP Server Patch (on OEL 5, RHEL 5 and CENTOS 64 bit only) |
|---|
|
Download and apply the patch 6078836 from OracleMetaLink to fix an issue with the Oracle HTTP Server bundled with the E-Business Suite technology stack. 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/libXtst.so.6 Without this updated link, you may see the following errors during a relink of the 10.1.2 Oracle Home: /usr/lib/libXtst.so.6: undefined reference to `__stack_chk_fail@GLIBC_2.4′ Since the ldconfig command overrides this link, the above link command (ln) will have to be re-issued after running the ldconfig command. |
Software Requirements
- ar
- gcc
- g++
- ld
- ksh
- make
- X Display Server
Eg : which ar, which gcc, xclock
Kernel Settings
Edit the /etc/sysctl.conf file to configure your kernel settings. After editing the file, use the “sysctl -p” command or restart the system to invoke the new settings
Parameter Value
kernel.semmsl 256
kernel.semmns 32000
kernel.semopm 100
kernel.semmni 142
kernel.shmall 2097152
kernel.shmmax Half the size of the physical memory (in bytes), and at least 2147483648
kernel.shmmni 4096
kernel.msgmax 8192
kernel.msgmnb 65535
kernel.msgmni 2878
fs.file-max 65536
net.ipv4.ip_local_port_range 1024 65000
net.core.rmem_default 262144
net.core.rmem_max 262144
net.core.wmem_default 262144
net.core.wmem_max 262144
Domain Name System (DNS) Resolver Parameters
Two Domain Name System (DNS) resolver parameters (timeout and attempts) are set by default to low values when the operating system is installed. These low values may cause attempted network connections to an Oracle database to fail. If this happens, add or update the following entries to these minimum settings in the /etc/resolv.conf file on each server node:
options attempts:5 options timeout:15
| cat /etc/hosts |
|---|
|
This is very common mistake. This is a sample of what I have 127.0.0.1 oracle12.notesbit.com oracle12 localhost.localdomain localhost First I messed up and need to redo all the steps. Hence, pay more attention, it is simple and easy step. |
Verifying Host Names
Use the following to verify host name settings:
Verify that the /etc/hosts file is formatted as follows:
-
127.0.0.1 localhost.localdomain localhost <ip_address> <node_name>.<domain_name> <node_name>
-
Verify that the /etc/sysconfig/network file is formatted as follows:
HOSTNAME=<node_name>.<domain_name>
- If the /etc/sysconfig/networking/profiles/default/network file exists, remove it.
- If you changed any files in the previous steps, restart the system.
Modifying the Number of Open File Descriptors
Open the /etc/security/limits.conf file and change the existing values for “hard” and “soft” parameters as follows. Restart the system after making changes.
Note: If the current value for any parameter is higher than the value listed in this document, then do not change the value of that parameter.
* hard nofile 65535 * soft nofile 4096 * hard nproc 16384 * soft nproc 2047
Net Service Listeners in Multi-user Installations
Net Service Listeners use the /var/tmp.oracle directory to store temporary files. To give all users in a multi-user installation write privileges, update /var/tmp/.oracle with 777 permissions:
$ chmod 777 /var/tmp/.oracle
Create Users and Groups
groupadd dba
useradd -g dba oracle ( db tier )
useradd -g dba applmgr ( apps tier )
Creating the Stage Area Directory
Follow these steps to set up a stage area installation:
Log in as the operating system user with sufficient privileges to mount, unmount, and eject the DVD. This user must also have write privileges to the stage area that you set up.
Insert the Start Here disk in the DVD-ROM drive.
Mount the DVD (conditional).
If your system runs on a UNIX platform, and if you do not use AutoMount, you must mount the Start Here disk now.
Verify software version (perl).
You must have perl 5.0053 or higher installed, and it must be in your PATH. Use the following commands to identify the perl version and its location. The command is the same for both UNIX and Windows platforms:
perl -v
On UNIX, set the environment variable DISPLAY to an active and authorized display.
Run the adautostg.pl script.
UNIX:
$ cd
$ perl /mnt/cdrom/Disk1/rapidwiz/adautostg.pl
Starting Rapid Install
Once the stage directory is created, start Rapid Install as described in the following section.
UNIX:
Example
$ cd /u01/Stage12/startCD/Disk1/rapidwiz
$ ./rapidwiz

Proceed with the wizard

Proceed with the wizard

Select Accept if you want to install Oracle Configuration Manager ( Not Mandatory )

if OCM Selected , then you will have to fill up CSI, Metalink Account

For Single Node fresh Installation, Select Create a new configuration,
If Multi Node Installation, and if this was the second node then you have to load
the configuration file created from the first node ( usually found in /tmp )

Select Port Pool

Fill Database Node Configurations

Select the Licensing

Select Additional Licensing if reqd.

Select Country Specific Functionalities

Select Internationalization Settings

Select Primary Application Node Settings
The services provide the following functionality, which differs significantly from
Release 11i and also uses new terminology:
This Service Group: Supports:
Root Services Oracle Process Manager (OPMN)
Web Entry Point Services HTTP Server
Web Application Services OACORE OC4J
Forms OC4J
OAFM OC4J
Batch Processing Services Applications TNS Listener
Concurrent Managers
Fulfillment Server
Other Services Oracle Forms Services
Oracle MWA Service
Applications nodes should have services enabled as follows:
. For Web and Forms services: Root Services, Web Entry Point Services, Web Application Services, and Other Services
. For Concurrent Processing services: Batch Processing Services
As an example, consider a two-node installation where you wish to deploy the Applications database and Concurrent Processing services on Server A, and Web
and Forms services on Server B.
. On Server A, you would select Batch Processing Services.
. On Server B, you would select Root Services, Web Entry Point Services, Web Application Services, and Other Services.
In terms of ORACLE_HOME creation, the result will be that:
Server A has an ORACLE_HOME for the 10g R2 Applications database, plus an ORACLE_HOME for Application Server 10.1.2, and an ORACLE_HOME for Application Server 10.1.3.
Server B has an ORACLE_HOME for Application Server 10.1.2, and an ORACLE_HOME for Application Server 10.1.3.

If your installation if multi-node then you can specify the other server configuration here.

Automatic validation checking

Pre-Install Checks passed

Ready for Installation

Post Install Checks are passed

Installation is Complete and Connect to Oracle Application Release 12


I installed on Fedora 11(set to redhat release 4) and it went very well. I am able to login to app but couldn’t get to form. I went and looked and found that have 4 startup issues with status code 150. I’m looking through logs and can’t seem to figure this one out. I’m trying to sort through jave logs and so far I don’t see it yet. I have no security at all active. Where else can I look?
[Service Control Execution Report]
The report format is:
Root Service Enabled
Root Service Oracle Process Manager for esuite_cliffxps320 adopmnctl.sh Started
Web Entry Point Services Enabled
Web Entry Point Services Oracle HTTP Server esuite_cliffxps320 adapcctl.sh Failed
Web Entry Point Services OracleTNSListenerAPPS_esuite_cliffxps320 adalnctl.sh Started
Web Application Services Enabled
Web Application Services OACORE OC4J Instance esuite_cliffxps320 adoacorectl.sh Failed
Web Application Services FORMS OC4J Instance esuite_cliffxps320 adformsctl.sh Failed
Web Application Services OAFM OC4J Instance esuite_cliffxps320 adoafmctl.sh Failed
Batch Processing Services Enabled
Batch Processing Services OracleConcMgresuite_cliffxps320 adcmctl.sh Started
Batch Processing Services Oracle Fulfillment Server esuite_cliffxps320 jtffmctl.sh Started
Other Services Disabled
Other Services OracleFormsServer-Forms esuite_cliffxps320 adformsrvctl.sh Disabled
Other Services Oracle Metrics Client esuite_cliffxps320 adfmcctl.sh Disabled
Other Services Oracle Metrics Server esuite_cliffxps320 adfmsctl.sh Disabled
Other Services Oracle MWA Service esuite_cliffxps320 mwactlwrpr.sh Disabled
ServiceControl is exiting with status 4
Is there any block on you firewall? did you check your iptables? enable all the ports and they retry
very nice post…….
cheers
Access the terminal as root, run the command. Install glibc.i686. After that just execultar Simple application harder to find this information on the web.
Great Site! Thanks for the Information. Just what I was looking for. Will definately bookmark.