Oracle Application R12 12.1.3 Installation on Linux64 bit - Pan.TianObjective Step by Step instructions to install Oracle Applications R1212.1.1 on Oracle Enterprise Linux 5 are describe
Trang 1Oracle Application R12 (12.1.3) Installation on Linux(64 bit)
Author: Pan Tian(tianpan@gmail.com)
Creation Date: 25/05/2012
Last Updated:
Version:
Status:
Trang 2Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
Contents
Objective 1
Download & Unzip 2
Download 2
Unzip 2
MD5 Checksums 2
Pre-Install Task 4
Disk Space 4
Specific Software Requirements 4
RPM 4
JDK 8
/etc/hosts 8
/etc/sysconfig/network 8
/etc/sysconfig/networking/profiles/default/network 8
/etc/sysctl.conf 9
/etc/security/limits.conf 9
/etc/resolv.conf 10
OS Library Patch for Oracle HTTP Server(on Oracle Linux 5, RHEL 5 and Oracle Linux 6 only) 10
Link to Motif library in Oracle Application Server 10.1.2 (on Oracle Linux 5 and RHEL 5 only) 10
OS User & Group 10
Installation process 12
Export Display 12
./rapidwiz 12
Add Env parameter to bash_profile file 21
Default DB & Apps password 22
R12 Directory Structure 23
EBS 12.1.3 upgrade 25
Download patch 9239090 25
Documents 25
Installation process 26
Issues & Solutions 30
RW-50004: Error code received when running external process 30
RW-50015: Error: - HTTP Listener is not responding 30
Enter the location for the disk labeled: Oracle Applications Rapid Install – RDBMS Disk 1 30
While adpatch EBS 12.1.3, encounter ORA-03113: end-of-file on communication channel 31
Reference 33
Metalink Notes 33
Articles 33
Trang 3Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
Objective
Step by Step instructions to install Oracle Applications R12(12.1.1) on Oracle Enterprise 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 all servers (concurrent processing, forms, and Web) are installed on a single node under one common APPL_TOP.The database node and the Applications node can be installed on the same machine This type of installation is generally used for small systems or for demonstration purposes More commonly, the database node is installed on one machine, and the Applications node on
another machine This provides improved manageability, scalability, and performance
This document will take Linux 64 bit platform as example And my hardware configuration is
Trang 4Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
Download & Unzip
Download
Official Download Link https://edelivery.oracle.com/
For Oracle Internal User, you can also download from link:
(-i means Read URLs from file.)
MD5 Checksums
Strongly suggest you perform MD5 check against the stage area.
The md5 checksums for the staged directory structure can be used to validatethe software integrity Do this by running the md5sum program against the stage area using the oracle created checksum file Note for can observe you
Trang 5Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
have any problem with your stage or not(Corrupted zip etc)
MD5 Checksums for R12.1.1 Rapid Install Media (Doc ID 802195.1)
Trang 6Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
Pre-Install Task
Disk Space
File System Space Requirements for Standard Installation
Applications node file system (includes OracleAS 10.1.2 Oracle Home, OracleAS 10.1.3 Oracle Home, COMMON_TOP, APPL_TOP,and
Specific Software Requirements
The following maintenance tools must be installed on machine, and their locations specified both in the PATH of the account that runs Rapid Install and
in the PATH of the accounts that will own the database tier and application tierfile 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-RISC ar, cc, aCC, make, X Display ServerIBM 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 ServerSun Solaris SPARC (64-bit) ar, ld, make, X Display Server
RPM
Per Note: 761566.1
Trang 7Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
First, you should check your Linux Kernel, to determine your linux version, enter:
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 must be downloaded separately (from
Trang 8Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
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
Trang 9Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
Be sure you have above rmp on your system, you can use below command to check whether RPM packages are installed or not
rpm -qa queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" |grep gcc
q = query
a = all
What’s the RPM:The Red Hat Package Manager (RPM) is a toolset used to buildand manage software packages on UNIX systems Distributed with the Red HatLinux distribution and its derivatives (CentOS is 100% compatible rebuild of the Rehat Enterprise Linux)
Trang 10Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
The RPM files represent application or package that you can install on Linux system
JDK
JDK 6 is bundled with Oracle E-Business Suite version 12.1.1 You do NOT need
to install the 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:
127.0.0.1 localhost.localdomain localhost[ip_address] [node_name].[domain_name] [node_name]
Trang 11Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
/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
Note: If the current value for any parameter is higher than the value listed in
the following table, 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 Enterprise Linux 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 1422: On the server running the EBS Database, this kernel parameter must be thelesser of half the size of the physical memory (in bytes) and 42949672953: values recommended for the local port range may need to be adjusted according to the specific 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 this document, then do not change the value of that parameter
* hard nofile 65535
Trang 12Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
* soft nofile 4096
* hard nproc 16384
* soft nproc 2047
/etc/resolv.conf
Add or update the following entries to these minimum settings in the
/etc/resolv.conf file on each server node:
options attempts:5options 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 the Oracle HTTP Server (missing libdb.so.2) 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.
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 a Motif library prior to relinking or patching the 10.1.2 Application Server Oracle Home:
# unlink /usr/lib/libXtst.so.6
# ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6
OS User & Group
Generally for PROD instance, we need create two OS user for installation, one user is used to manage DB, the other is used to manage Apps
Since our instance is a TEST instance, so for simple, we just create one user tomanage DB and 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
Trang 13Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
chown changes the user and/or group ownership of each given file
-R, operate on files and directories recursively
Trang 14Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
Installation process
Export Display
To ensure we have a graphical installation process, we can export server to our local linux which have X window system If your server have installed X window, then you can ignore 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)(ptian) ptian- ssh admin@bej301441.cn.oracle.com
admin@bej301441.cn.oracle.com's password:
Last login: Thu May 31 21:32:49 2012 from 10.182.114.9
(SSH to server which we intend to install EBS)[admin@bej301441 ~]$ export DISPLAY=rws60004sgd.us.oracle.com:50
./rapidwiz
If you intend to use standard installation mode, you need login as root user.
[root@bej301441 rapidwiz]#cd /u02/StageR12/startCD/Disk1/rapidwiz[root@bej301441 rapidwiz]# /rapidwiz
Rapid Install Wizard is validating your file system
4 dvd labels found Rapid Install Wizard will now launch the Java Interface
Trang 15Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
Trang 16Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
Trang 17Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
Default Oracle EBS Ports
Trang 18Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
Port numbers can be modified during installation or may be automatically incremented by x during installation where x is a number 1 to 100 (typical lessthan 10) Port number ranges are often a grouping of 3, 4, 5, or 6 contiguous ports in the specified range
Trang 19Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
Trang 20Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
Trang 21Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
Trang 22Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
Trang 23Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
Login Test: http://<host_name>.<domain_name>:port/OA_HTML/AppsLogin
Add Env parameter to bash_profile file
.bash_profile is a bash shell that is started when login
For DB user, Modify /.bash_profile, add your DB env file path into it, eg
/u01/oracle/mc3yd213/db/tech_st/11.1.0/mc3yd213_bej301441.env
For Apps user, Modify /.bash_profile, add your Apps env file path into it, eg /u01/oracle/mc3yd213/apps/apps_st/appl/APPSmc3yd213_bej301441.env
Trang 24Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
Default DB & Apps password
Database:
SYS/change_on_install SYSTEM/manager
Application Schema passwords:
APPS Schema: APPS/APPS GWYUID User: APPLSYSPUB/PUB Guest User: GUEST/ORACLE
Application Users:
SYSADMIN/SYSADMIN MFG/WELCOME OPERATIONS/WELCOME SERVICES/WELCOME MRC/WELCOME HRMS/WELCOME
Trang 25Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
R12 Directory Structure
===For Applmgr User===
$APPL_TOPR12:<APPS_BASE>/apps/apps_st/applNOTE: Oracle Applicaitons product files, including $INV_TOP, $AU_TOP
$COMMON_TOPR12:<APPS_BASE>/apps/apps_st/comn(Common files such as Java&HTML)NOTE: $JAVA_TOP is under $COMMON_TOP
$ORACLE_HOMER12:<APPS_BASE>/apps/tech_st/10.1.2
===For Oracle User===
$ORACLE_HOMER12:<ORACLE_BASE>/db/tech_st/10.2.0NOTE:Oracle Home for 10g RDBMS
ORADATA
Trang 26Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
Trang 27Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) forLinux x86 [Document 761564.1]
External references
to-12-1-3
Trang 28http://my.opera.com/jafferappsdba/blog/2011/12/17/upgrade-from-ebs-12-1-1-Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
ebs-from-r12-1-1-to-12-1-3/
Trang 29Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
7 set pga and sga size in init parameter file (initVIS.ora file)
pga_aggregate_target=2G
Note:
(If errorlike below:
ORA-04030: out of process memory when trying to allocate 822904 bytes (pgaheap, kco buffer)
ORA-07445: exception encountered: core dump [dbgtfdFileWrite()+48]
set the _pga_max_size initialization parameter to a larger value as follows: _pga_max_size=104857600
and restart your database.)
8.start Database Listener
lsnrctl start VIS
9 restart the database
sqlplus / as sysdba
sql> startup pfile='/d01/oracle/VIS/db/tech_st/11.1.0/dbs/initVIS.ora'
10 Use AutoPatch to apply R12.AD.B.DELTA.3 Patch 9239089
Pre Install Steps as per Patch readmefile & Doc.1077769.1
(i)create a dir on $ORACLE_HOME/appustil/admin
Trang 30Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
11 Disable maintanance mode using adadmin utility
12 set application environment
Run Patch 9239089 using adpatch
*u9239089.drv
(Check Log file in
/u01/oracle/ORCL/apps/apps_st/appl/admin/ORCL/log/u9239089_12122011.log)
13 Compile APPS schema
Run adadmin > Compile/Reload Applications Database Entities menu
>Compile APPS schema
*Choose "No" at the following prompt:Run Invoker Rights processing in
incremental mode [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
2 Query patches applied in table
ad_applied_patches
Trang 31Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
ad_bugs
3 License applications
Trang 32Oracle Application R12 (12.1.3) Installation on Linux(64 bit) - Pan.Tian
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 OS user/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 not have 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 the Oracle HTTP Server (missing libdb.so.2) bundled with the E-Business Suite technology stack
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