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.
Transcript
Oracle Application R12 (12.1.3) Installation on Linux (64 bit) – Prasad Chandane (Cell No. +91 9730 496 886)
1
Oracle Application R12 (12.1.3)Installation on Linux (64 bit)
Issues & Solutions ............................................................................................................................................................................ 32RW-50004: Error code received when running external process. ........................................................................................ 32RW-50015: Error: - HTTP Listener is not responding. ........................................................................................................... 32Enter the location for the disk labeled: Oracle Applications Rapid Install – RDBMS Disk 1 ........................................ 32While adpatch EBS 12.1.3, encounter ORA-03113: end-of-file on communication channel .......................................... 33
Oracle Application R12 (12.1.3) Installation on Linux (64 bit) – Prasad Chandane (Cell No. +91 9730 496 886)
3
Oracle Application R12 (12.1.3) Installation on Linux (64 bit) – Prasad Chandane (Cell No. +91 9730 496 886)
4
Objective
Step by Step instructions to install Oracle Applications R12(12.1.1) on OracleEnterprise Linux 5 are described in this article. This is a single node installation,meaning that the database, all product directories and AD core directories, and allservers (concurrent processing, forms, and Web) are installed on a single nodeunder one common APPL_TOP.
The database node and the Applications node can be installed on the samemachine. This type of installation is generally used for small systems or fordemonstration purposes. More commonly, the database node is installed on onemachine, and the Applications node on another machine. This provides improvedmanageability, scalability, and performance.
This document will take Linux 64 bit platform as example. And my hardwareconfiguration is
Item Configuration
CPU 2 * Intel(R) Xeon(R) X5670 2.93GHz
RAM 6 G
Disk Space /u01 300 GB
/u02 200 GB
/ 100 GB
Oracle Application R12 (12.1.3) Installation on Linux (64 bit) – Prasad Chandane (Cell No. +91 9730 496 886)
5
Download & Unzip
Download
Official Download Link https://edelivery.oracle.com/
For Oracle Internal User, you can also download from link:https://sac.us.oracle.com/download/index.html
(NOTE: Choose proper platform and 32 bit/64 bit download files)
Download Tips:
Use the following command for Batch download, firstly collect all URLs required and putit in a text file, say download.txt, one URL on a line
wget -i download.txt
(-i means Read URLs from file.)
Unzip
Create stage area - for downloaded installation pack, just unzip all zip files under stagearea directory StageR12, eg.
unzip B53824-01_1of4.zip -d /u02/ StageR12
unzip B53824-01_2of4.zip -d /u02/ StageR12
… …
After unzip, File Path in StageR12 like following,
MD5 Checksums
Strongly suggest you perform MD5 check against the stage area.
The md5 checksums for the staged directory structure can be used to validate the software
Oracle Application R12 (12.1.3) Installation on Linux (64 bit) – Prasad Chandane (Cell No. +91 9730 496 886)
6
integrity. Do this by running the md5sum program against the stage area using the oraclecreated checksum file. Note for can observe you have any problem with your stage ornot(Corrupted zip etc)
MD5 Checksums for R12.1.1 Rapid Install Media (Doc ID 802195.1)
Oracle Application R12 (12.1.3) Installation on Linux (64 bit) – Prasad Chandane (Cell No. +91 9730 496 886)
7
Pre-Install Task
Disk Space
File System Space Requirements for Standard Installation
The total space required for a standard system (not including the stage area) is 85 GB for afresh install with a production database, and 233 GB for a fresh install with a Vision Demodatabase.
You can use below Unix command to check disk space
df –h
Specific Software Requirements
The following maintenance tools must be installed on machine, and their locationsspecified both in the PATH of the account that runs Rapid Install and in the PATH of theaccounts that will own the database tier and application tier file systems.
Operating System Required Maintenance Tools
Linux x86 ar, gcc, g++, ld, ksh, make, X Display Server
Linux x86-64 ar, gcc, g++, ld, ksh, make, X Display Server
HP-UX Itanium ar, cc, aCC, make, X Display Server
HP-UX PA-RISCar, cc, aCC, make, X Display Server
IBM AIX on Power Systems (64-bit) ar, cc, aCC, make, X Display Server
Microsoft Windows Server (32-bit) ar, cc, ld, linkxlC, make, X Display Server
Sun Solaris SPARC (64-bit) ar, ld, make, X Display Server
RPM
Per Note: 761566.1
First, you should check your Linux Kernel, to determine your linux version, enter:
Oracle Application R12 (12.1.3) Installation on Linux (64 bit) – Prasad Chandane (Cell No. +91 9730 496 886)
8
uname –r
So my Linux is Linux 6, For Linux 6, Required Packages is
GA (6.0) or higher of Oracle Linux 6 is required
The following packages (or versions of packages) are not part of the OS distribution media and mustbe downloaded separately (fromhttp://oss.oracle.com/projects/compat-oracle/files/Enterprise_Linux/) for Oracle Linux 6 andinstalled manually:
The following packages must be installed from the Oracle Linux 6 distribution media:
binutils-2.20.51.0.2-5.11
gcc-4.4.4-13.el16.x86_64
gcc-c++-4.4.4-13.el16.x86_64
glibc-2.12-1.7.el6.i686 (32-bit)
glibc-2.12-1.7.el6.x86_64
Oracle Application R12 (12.1.3) Installation on Linux (64 bit) – Prasad Chandane (Cell No. +91 9730 496 886)
9
glibc-common-2.12-1.7.el6.x86_64
glibc-devel-2.12-1.7.el6.i686 (32-bit)
glibc-devel-2.12-1.7.el6.x86_64
libgcc-4.4.4-13.el6.i686
libgcc-4.4.4-13.el6.x86_64
libstdc++-devel-4.4.4-13.el6.i686
libstdc++-devel-4.4.4-13.el6.x86_64
libstdc++-4.4.4-13.el6.i686
libstdc++-4.4.4-13.el6.x86_64
make-3.81-19.el6.x86_64
gdbm-1.8.0-36.el6.i686
gdbm-1.8.0-36.el6.x86_64
libXp-1.0.0-15.1.el6.i686
libXp-1.0.0-15.1.el6.x86_64
libaio-0.3.107-10.el6.i686
libaio-0.3.107-10.el6.x86_64
libgomp-4.4.4-13.el6.x86_64
sysstat-9.0.4-11.el6.x86_64
util-linux-ng-2.17.2-6.el6.x86_64
unzip-5.52-3.0.1.el5.x86_642
compat-libstdc++-296-2.96-144.el6.i686
compat-libstdc++33-3.2.3-69.el6.i686
Additionally, the following RPMs are required for the database tier running 11gR2 (users mustupgrade the bundled 11gR1 DB to 11gR2 either before or after installing 12.1) on the database tier:
compat-libstdc++-33-3.2.3-69.el6.x86_64
elfutils-libelf-devel-0.148.1-el6.x86_64
kernel-uek-headers-2.6.32-100.28.5.el6.x86_64
libaio-devel-0.3.107-10.el6.x86_64
Oracle Application R12 (12.1.3) Installation on Linux (64 bit) – Prasad Chandane (Cell No. +91 9730 496 886)
10
unixODBC-2.2.14-11.el6.i686
unixODBC-devel-2.2.14-11.el6.i686
unixODBC-2.2.14-11.el6.x86_64
unixODBC-devel-2.2.14-11.el6.x86_64
xorg-x11-utils-7.4-8
Note:
1: The openmotif package version must be 2.1.30 (for example, openmotif-2.3.3-1 is notsupported).
2: This unzip package (available from EL 5 distribution) is only required for purposes of runningRapid Install to unzip the required EBS files as part of the installation.
Be sure you have above rmp on your system, you can use below command to checkwhether RPM packages are installed or not
What’s the RPM:The Red Hat Package Manager (RPM) is a toolset used to build andmanage software packages on UNIX systems. Distributed with the Red Hat Linuxdistribution and its derivatives (CentOS is 100% compatible rebuild of the RehatEnterprise Linux).
The RPM files represent application or package that you can install on Linux system.
Oracle Application R12 (12.1.3) Installation on Linux (64 bit) – Prasad Chandane (Cell No. +91 9730 496 886)
11
JDK
JDK 6 is bundled with Oracle E-Business Suite version 12.1.1. You do NOT need to installthe JDK separately.
/etc/hosts
For Oracle Linux 4, 5 and 6, and Red Hat Enterprise Linux 4 and 5:
Verify that the /etc/hosts file is formatted as follows:
If the /etc/sysconfig/networking/profiles/default/network file exists, remove it.
If you changed any files in the previous steps, restart the system.
/etc/sysctl.conf
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.
Oracle Application R12 (12.1.3) Installation on Linux (64 bit) – Prasad Chandane (Cell No. +91 9730 496 886)
12
Note: If the current value for any parameter is higher than the value listed in the followingtable, then do not change the value of that parameter.
The following table lists the kernel settings for Oracle Linux 4, 5 and 6, Red Hat EnterpriseLinux AS/ES 4 and 5, and SUSE Linux Enterprise Server 9 and 10:
1: set using the following entry in the /etc/sysctl.conf file: kernel.sem = 256 32000 100 142
2: On the server running the EBS Database, this kernel parameter must be the lesser of halfthe size of the physical memory (in bytes) and 4294967295
3: values recommended for the local port range may need to be adjusted according to thespecific needs of the user's environment in order to avoid port conflicts.
/etc/security/limits.conf
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 thisdocument, then do not change the value of that parameter.
* hard nofile 65535
* soft nofile 4096
* hard nproc 16384
* soft nproc 2047
Oracle Application R12 (12.1.3) Installation on Linux (64 bit) – Prasad Chandane (Cell No. +91 9730 496 886)
13
/etc/resolv.conf
Add or update the following entries to these minimum settings in the /etc/resolv.conf fileon each server node:
options attempts:5
options timeout:15
OS Library Patch for Oracle HTTP Server(on Oracle Linux 5, RHEL 5 and Oracle Linux 6 only)
Download and apply the patch 6078836 from My Oracle Support to fix an issue with theOracle HTTP Server (missing libdb.so.2) bundled with the E-Business Suite technologystack.
Note that this patch (which includes a required operating system library) must be appliedbefore installing Oracle E-Business Suite.
Without this patch, after installation, HTTP Server can not start.
Link to Motif library in Oracle Application Server 10.1.2 (on Oracle Linux 5 and RHEL 5 only)
Perform the following command (as root on your system) to update a required link to aMotif library prior to relinking or patching the 10.1.2 Application Server Oracle Home:
Generally for PROD instance, we need create two OS user for installation, one user is usedto manage DB, the other is used to manage Apps.
Since our instance is a TEST instance, so for simple, we just create one user to manage DBand Apps, Here we use ‘oracle’ as user, use ‘oinstall’ as group.
# groupadd oinstall -g 2000
# useradd -g oinstall -u 2000 oracle
# chown -R oracle:oinstall /u01/oracle
chown changes the user and/or group ownership of each given file.
-R, operate on files and directories recursively
Oracle Application R12 (12.1.3) Installation on Linux (64 bit) – Prasad Chandane (Cell No. +91 9730 496 886)
14
Installation process
Export Display
To ensure we have a graphical installation process, we can export server to our local linuxwhich have X window system. If your server have installed X window, then you canignore this step.
(ptian) ptian- env | grep ALTDISPLAY
ALTDISPLAY=rws60004sgd.us.oracle.com:50
(First, in our local linux, Check our local linux’s host and port)
Rapid Install Wizard is validating your file system......
4 dvd labels found
Rapid Install Wizard will now launch the Java Interface.....
Oracle Application R12 (12.1.3) Installation on Linux (64 bit) – Prasad Chandane (Cell No. +91 9730 496 886)
15
Oracle Application R12 (12.1.3) Installation on Linux (64 bit) – Prasad Chandane (Cell No. +91 9730 496 886)
16
Oracle Application R12 (12.1.3) Installation on Linux (64 bit) – Prasad Chandane (Cell No. +91 9730 496 886)
17
Default Oracle EBS Ports
Oracle Application R12 (12.1.3) Installation on Linux (64 bit) – Prasad Chandane (Cell No. +91 9730 496 886)
18
Port numbers can be modified during installation or may be automatically incrementedby x during installation where x is a number 1 to 100 (typical less than 10). Port numberranges are often a grouping of 3, 4, 5, or 6 contiguous ports in the specified range.
Oracle Application R12 (12.1.3) Installation on Linux (64 bit) – Prasad Chandane (Cell No. +91 9730 496 886)
19
Oracle Application R12 (12.1.3) Installation on Linux (64 bit) – Prasad Chandane (Cell No. +91 9730 496 886)
20
Oracle Application R12 (12.1.3) Installation on Linux (64 bit) – Prasad Chandane (Cell No. +91 9730 496 886)
21
Oracle Application R12 (12.1.3) Installation on Linux (64 bit) – Prasad Chandane (Cell No. +91 9730 496 886)
22
Oracle Application R12 (12.1.3) Installation on Linux (64 bit) – Prasad Chandane (Cell No. +91 9730 496 886)
Run adadmin > Compile/Reload Applications Database Entities menu >Compile APPSschema.
*Choose "No" at the following prompt:Run Invoker Rights processing in incrementalmode [No]
14.Apply patch 9239090 using adpatch
*u9239090.drv
(When adrelink error chose "Yes" to continue)
15. Post Step (There is no any pre or post install steps)
Apply Patches *Patch 9817770
*Patch 9966055
16.Remove _disable_fast_validate=TRUE parameter from initVIS.ora file
17.Disable Maintanence mode
18.Run Autocnfig both database and application tier
Oracle Application R12 (12.1.3) Installation on Linux (64 bit) – Prasad Chandane (Cell No. +91 9730 496 886)
31
2. Query patches applied in table
ad_applied_patches
ad_bugs
3. License applications
Oracle Application R12 (12.1.3) Installation on Linux (64 bit) – Prasad Chandane (Cell No. +91 9730 496 886)
32
Issues & Solutions
RW-50004: Error code received when running external process.
Error Message:” RW-50010: Error: - script has returned an error: 1
RW-50004: Error code received when running external process. Check log file for details.
Running Database Install Driver for mc2yd213 instance”
When installation progress go to 33%, then raise RW-50004 Error, Generally it is due to OSuser/group you used may not have correct priority to installation folder.
You can check details from logs.
RW-50015: Error: - HTTP Listener is not responding.
Error Message:” RW-50015: Error: - HTTP Listener is not responding. The service might nothave started on the port yet. Please check the service and use the retry button.”
It means you did not apply patch 6078836.
Download and apply the patch 6078836 from My Oracle Support to fix an issue with theOracle HTTP Server (missing libdb.so.2) bundled with the E-Business Suite technologystack.
Enter the location for the disk labeled: Oracle Applications Rapid Install – RDBMS Disk 1
While installation, it pop us a window which ask to select install disk.
Oracle Application R12 (12.1.3) Installation on Linux (64 bit) – Prasad Chandane (Cell No. +91 9730 496 886)
33
Error Message:
“Select the root directory of the required Rapid Install Disk
Enter the location for the disk labled:
Oracle Applications Rapid Install - RDBMS Disk 1”
This is very big mistake, log will tell you reason
Disk platform missmatch.
required platform: LINUX_X86-64
Disks for platform: Linux
While adpatch EBS 12.1.3, encounter ORA-03113: end-of-file on communication channel