Installation Oracle Applications R12.1.1 On OEL 5.2: Author - A.Kishore
Installation Oracle Applications R12.1.1 On OEL 5.2: Author - A.Kishore
Kishore
http://appsdba.info
761564.1 - Oracle Applications Installation and Upgrade Notes Release 12 (12.1.1) for Linux
x86
1> Install Enterprise Linux Enterprise Linux Server release 5.2 or high 64BIT
http://edelivery.oracle.com/linux
It is iso file, either you need to burn the image (dont copy) or you can use the iso image
directly on the Virutal machines
Author A.Kishore
http://appsdba.info
Author A.Kishore
http://appsdba.info
Author A.Kishore
http://appsdba.info
Author A.Kishore
http://appsdba.info
binutils-2.17.50.0.6-6.el5 (x86_64)
control-center-2.16.0-16.el5 (x86_64)
control-center-2.16.0-16.el5 (i386)
gcc-4.1.2-42.el5 (x86_64)
gcc-c++-4.1.2-42.el5 (x86_64)
glibc-2.5-24 (i686)
Author A.Kishore
http://appsdba.info
glibc-2.5-24 (x86_64)
glibc-common-2.5-24 (x86_64)
libstdc++-4.1.2-42.el5 (x86_64)
libstdc++-4.1.2-42.el5 (i386)
libstdc++-devel-4.1.2-42.el5 (x86_64)
make-3.81-3.el5 (x86_64)
package sysstat is not installed
libaio-0.3.106-3.2 (x86_64)
libaio-0.3.106-3.2 (i386)
package libaio-devel is not installed
package openmotif21 is not installed
glibc-devel-2.5-24 (i386)
glibc-devel-2.5-24 (x86_64)
libgcc-4.1.2-42.el5 (x86_64)
libgcc-4.1.2-42.el5 (i386)
gdbm-1.8.0-26.2.1 (x86_64)
gdbm-1.8.0-26.2.1 (i386)
libgomp-4.1.2-42.el5 (x86_64)
util-linux-2.13-0.47.el5 (x86_64)
package xorg-x11-libs-compat is not installed
elfutils-libelf-devel-0.125-3.el5 (x86_64)
elfutils-libelf-devel-static-0.125-3.el5 (x86_64)
package libaio-devel is not installed
package unixODBC is not installed
package unixODBC-devel is not installed
kernel-headers-2.6.18-92.el5 (x86_64)
binutils-2.17.50.0.6-6.el5 (x86_64)
make-3.81-3.el5 (x86_64)
gdbm-1.8.0-26.2.1 (x86_64)
gdbm-1.8.0-26.2.1 (i386)
package libXp is not installed
libgomp-4.1.2-42.el5 (x86_64)
package xorg-x11-libs-compat is not installed
Author A.Kishore
http://appsdba.info
The following i386 packages are not part of the OS distribution media and must be downloaded separately (from
http://oss.oracle.com/projects/compat-oracle/files/Enterprise_Linux 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:
o binutils-2.17.50.0.6-6.0.1.i3862
For Update 3:
o binutils-2.17.50.0.6-9.0.1.i3862
For Update 4 (5.4) or higher, see workaround listed below in the 'After Installing or Upgrading' section.
Author A.Kishore
http://appsdba.info
rpm -Uvh xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm
rpm -Uvh unixODBC-2.2.11-7.1.i386.rpm
rpm -Uvh unixODBC-devel-2.2.11-7.1.i386.rpm
rpm -Uvh libXp-1.0.0-8.1.el5.i386.rpm
rpm -Uvh openmotif21-2.1.30-11.EL5.i386.rpm
Author A.Kishore
http://appsdba.info
uname -r
2.6.18-92.el5
Shared memory and semaphore setting
echo "kernel.shmmax=2147483648" >> /etc/sysctl.conf
echo "kernel.sem=250 32000 100 128" >> /etc/sysctl.conf
echo "fs.file-max=65536" >> /etc/sysctl.conf
echo "net.ipv4.ip_local_port_range = 2024 65000" >> /etc/sysctl.conf
Modify number of open descriptors
echo "hard nofile 65535" >> /etc/security/limits.conf
echo "soft nofile 4096" >> /etc/security/limits.conf
OS Users and group creation
# Add the group and users
groupadd dba
useradd oracle -g dba
useradd applmgr -g dba
passwd oracle (give the password for oracle)
Author A.Kishore
http://appsdba.info
passwd applmgr (give the password for applmgr)
Permissions are given oracle and applmgr so that they can write to /d01/oracle
chgrp dba /d01/oracle
chmod g+w /d01/oracle
Note: Please check whether oracle and applmgr are able to write to /d01/oracle
su oracle
cd /d01/oracle
touch test.file
rm test.file
su applmgr
cd /d01oracle
touch test.file
rm test.file
localhost.localdomain localhost
erp.oracle.com
erp
Restart the server or use run sysctl p to avoid the restart the server
sysctl -p
Author A.Kishore
http://appsdba.info
Set Up the Stage Area
Download the software from http://edelivery.oracle.com. It comes in zip format
If you are an NLS customer, you should also have the NLS Supplement - Disk n software for
each language (in addition to American English) you plan to install. You should order the NLS
Supplement software and have it available before you begin the installation. Rapid Install
requires this language-specific software to run to completion.
The stage area created by adautostg.pl looks like this: a top-level directory , with
subdirectories startCD, oraApps, oraDB, oraiAS, oraAppDB, and oraNLS/ (only if
required).
Author A.Kishore
http://appsdba.info
Author A.Kishore
http://appsdba.info
Author A.Kishore
http://appsdba.info
Author A.Kishore
http://appsdba.info
Author A.Kishore
http://appsdba.info
Author A.Kishore
http://appsdba.info
Author A.Kishore
http://appsdba.info
To access Oracle Applications from firefox
Download firefox
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.0.18/linux-i686/enUS/firefox-3.0.18.tar.bz2
http://download02.mozilla.org/pub/mozilla.org/firefox/releases/3.0.18/linux-i686/en-US/
firefox-3.0.18.tar.bz2
tar xjvf firefox-3.0.18.tar.bz2
download java
http://download.prgm.org/linux/unsorted/linux/java/
chmod 777 jre-1_5_0_10-linux-i586-rpm.bin
./jre-1_5_0_10-linux-i586-rpm.bin
cd firefox/plugins/
mv libjavaplugin_oji.so libjavaplugin_oji.so_old
ln -s /usr/java/jre1.5.0_10/plugin/i386/ns7/libjavaplugin_oji.so ./libjavaplugin_oji.so
Author A.Kishore
http://appsdba.info
Change the properties of firefox
Right click the web browser and point to the firefox where you have downloaded
sysadmin/sysadmin
Author A.Kishore
http://appsdba.info
Click Administrator
Author A.Kishore
http://appsdba.info
Author A.Kishore
http://appsdba.info
Author A.Kishore
http://appsdba.info
sh /d02/oracle/TEST/db/tech_st/11.1.0/appsutil/scripts/TEST_linux1/addbctl.sh start
cat > stop_db.sh
sh /d02/oracle/TEST/db/tech_st/11.1.0/appsutil/scripts/TEST_linux1/addbctl.sh
stop immediate
sh /d02/oracle/TEST/db/tech_st/11.1.0/appsutil/scripts/TEST_linux1/addlnctl.sh stop
su - applmgr
cd /d02/oracle/TEST/apps/apps_st/appl
cat APPSTEST_linux1.env >> /home/applmgr/.bash_profile
cd
cat > start_apps.sh
sh /d02/oracle/TEST/inst/apps/TEST_linux1/admin/scripts/adstrtal.sh apps/apps
cat > stop_apps.sh
sh /d02/oracle/TEST/inst/apps/TEST_linux1/admin/scripts/adstpall.sh apps/apps
# connect as root (provided you have the root permission)
su - root
cat > start.sh
su - oracle /home/oracle/start_db.sh
su - applmgr /home/applmgr/start_apps.sh
cat > stop.sh
su - applmgr /home/applmgr/stop_apps.sh
su - oracle /home/oracle/stop_db.sh
1> Errors & Solutions
Because of missing package I got the below error
Author A.Kishore
http://appsdba.info
Author A.Kishore
http://appsdba.info
rpm -Uvh glibc-devel-2.5-24.i386.rpm
rpm -Uvh libaio-devel-0.3.106-3.2.x86_64.rpm
rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' \
binutils control-center gcc gcc-c++ glibc glibc-common \
libstdc++ libstdc++-devel make sysstat libaio \
libaio-devel openmotif21 glibc-devel libgcc \
gdbm libxp libgomp util-linux xorg-x11-libs-compat \
compat-libstdc++ \
elfutils-libelf-devel elfutils-libelf-devel-static \
libaio-devel unixODBC unixODBC-devel xorg-x11-libs-compat \
unixODBC unixODBC-devel kernel-headers binutils openmotif21 make gdbm \
libXp libgomp compat-libstdc compat-db gnome-libs pdksh setarch xscreensaver
Author A.Kishore
http://appsdba.info
No worries, Apache is the problem, once it is fixed you can retry or restart the application
tier
vi /d02/oracle/PROD/inst/apps/otm_otm/logs/ora/10.1.3/opmn/HTTP_Server~1.log
/d02/oracle/PROD/inst/apps/otm_otm/ora/10.1.3/Apache/Apache/bin/apachectl startssl:
execing httpd
/d02/oracle/PROD/apps/tech_st/10.1.3/Apache/Apache/bin/httpd: error while loading
shared libraries: libdb.so.2: cannot open shared object file: No such file or directory
Solution
ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2
Stop and start the Apache