1.b Oracle EBS Apps R12.2.0 Installation on Oracle Linux 8.10

  1.1       install RPM's using oracle public repository.

cd /etc/yum.repos.d

[ol8_baseos_latest]

name=Oracle Linux 8 BaseOS Latest ($basearch)

baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/baseos/latest/$basearch/

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

gpgcheck=1

enabled=1


[ol8_addons]

name=Oracle Linux 8 Addons ($basearch)

baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/addons/$basearch/

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

gpgcheck=1

enabled=1

 

1.2       Install the RPMS using below command.

dnf update

dnf install libXrender-0.*.el8.i686 motif-2*.el8.i686 motif-devel-2*.el8.i686 binutils-2*.el8.x86_64 gcc-8*.el8.x86_64 gcc-c++-8*.el8.x86_64 gdbm-1*.el8.i686 gdbm-1*.el8.x86_64 glibc-2*.el8.i686 glibc-2*.el8.x86_64 glibc-common-2*.el8.x86_64 glibc-devel-2*.el8.i686 glibc-devel-2*.el8.x86_64 libaio-0*.el8.i686 libaio-0*.el8.x86_64 libdb-5*.el8.i686 libgcc-8*.el8.i686 libgcc-8*.el8.x86_64 libgomp-8*.el8.x86_64 libnsl-2*.el8.i686 libnsl-2*.el8.x86_64 libstdc++-devel-8*.el8.i686 libstdc++-devel-8*.el8.x86_64 libstdc++-8*.el8.i686 libstdc++-8*.el8.x86_64 libXi-1*.el8.i686 libXp-1*.el8.i686 libXp-1*.el8.x86_64 make-4*.el8.x86_64 sysstat-11*.el8.x86_64 util-linux-2*.el8.x86_64 libaio-devel-0*.el8.i686 elfutils-libelf-devel-0*.el8.x86_64 libXtst-1*.el8.i686 xorg-x11-utils-7*.el8.x86_64

dnf install oracle-database-preinstall-19c-1.0-2.el8.x86_64

dnf localinstall oracle-ebs-server-R12-preinstall-1.0-1.el8.x86_64.rpm

dnf install oracle-ebs-server-R12-preinstall.x86_64

dnf localinstall openlogic-openjdk-8u412-b08-linux-x64-el.rpm

dnf localinstall openmotif21-2.1.30-11.EL6.i686.rpm

dnf install epel-release

dnf install xrdp

systemctl enable xrdp

systemctl start xrdp

systemctl stop firewalld

systemctl disable firewalld

1.3       Verify swap size in 16GB or more

# free -m

1.4       OS Settings (My Oracle Support Document 761566.1)

1.4.1     Modifying the Number of Open File Descriptors

  * hard nofile 65536

  * soft nofile 4096

  * hard nproc 16384

  * soft nproc 2047

  * hard stack 16384

  * soft stack 10240

1.4.2     Verifying Host Names

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]

1.4.3     Link to Berkeley DB library for HTTP server (on Oracle Linux 8 only)

# cd /usr/lib
# ln -s libdb-5.3.so libdb-4.3.so

1.4.4     Create required link to Motif library (Oracle Linux 7 and 8, RHEL 7 and 8, SLES 12 and 15 only)

# cd /usr/lib
# ln -s libXm.so.4.0.4 libXm.so.2

1.4.5     OS Library Patch for Oracle HTTP Server (on Oracle Linux 6, 7 and 8, RHEL 6, 7 and 8, SLES 12 and 15 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.

1.4.6     Download UnZip 5.x

# cd /usr/bin

1.4.7     Create /etc/oraInst.loc file and put the below content in it

inventory_loc=/u01/app/oraInventory

inst_group=dba

1.4.8     Setup Oracle EBS users

# passwd oracle
# passwd applmgr

verify the users.

# id oracle
uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba)
[root@fbsebs u01]# id applmgr
uid=54322(applmgr) gid=54321(oinstall) groups=54321(oinstall)

Add applmgr to dba group as well.

# sudo usermod -aG dba applmgr
[root@fbsebs u01]# id applmgr
uid=54322(applmgr) gid=54321(oinstall) groups=54321(oinstall),54322(dba)

1.4.9     Login as root on server and make a directory. This directory will be used for database and application base.

# mkdir /u01/app
# chown oracle:dba /u01/app
# chmod 777 /u01/app

1.5       Setup new layout for R12.2 file system. Login as root and go to the directory where the EBS12.2.0 zip files are kept and run rapidwiz

[root@ebstest stage1220]# pwd
/mnt/stage1220
[root@ebstest stage1220]# ls
V100052-01_1of3.zip  V100060-01_1of3.zip  V29856-01.zip       V35804-01_1of2.zip
V100052-01_2of3.zip  V100060-01_2of3.zip  V35802-01.zip       V35804-01_2of2.zip
V100052-01_3of3.zip  V100060-01_3of3.zip  V35803-01_1of3.zip  V46095-01_1of2.zip
V100059-01_1of2.zip  V100061-01.zip       V35803-01_2of3.zip  V46095-01_2of2.zip
V100059-01_2of2.zip  V100102-01.zip       V35803-01_3of3.zip  V75792-01.zip

1.6      Build Staging Area

1.6.1    Make we have all the zip downloaded and placed at /mnt/stage1220.

[root@fbsvis stage1220]# ls
V100052-01_2of3.zip  V100057-01.zip       V100061-01.zip      V35804-01_1of2.zip
V100052-01_3of3.zip  V100058-01.zip       V100102-01.zip      V35804-01_2of2.zip
p32947483_R12_GENERIC.zip  V100053-01_1of2.zip  V100059-01_1of2.zip  V29856-01.zip       
V46095-01_1of2.zip V100053-01_2of2.zip  V100059-01_2of2.zip  V35802-01.zip       
V46095-01_2of2.zip V100054-01.zip V100060-01_1of3.zip  V35803-01_1of3.zip  V75792-01.zip
V100055-01.zip       V100060-01_2of3.zip  V35803-01_2of3.zip V100052-01_1of3.zip        
V100056-01.zip       V100060-01_3of3.zip  V35803-01_3of3.zip

1.6.2    Now we will unzip the startCD zip files.

[root@fbsvis stage1220]# ls V100052*
V100052-01_1of3.zip  
V100052-01_2of3.zip  
V100052-01_3of3.zip
[root@fbsvis stage1220]# unzip V100052*

After unzipping the above 3 zip files we will see a folder created with startCD name.

[root@fbsvis stage]# ls -ld startCD
drwxr-xr-x. 5 root root 4096 Mar 27 08:14 startCD


Let's check the version of start CD.

[root@fbsvis stage1220]# cd startCD/Disk1/rapidwiz/
[root@fbsvis rapidwiz]# ls
bin      driver  File    jlib  oui       RapidWiz.cmd  RapidWizVersion  
TechInstallers  unzip 
ClientWiz.cmd  etc     images  jre   rapidwiz  RapidWiz.ini  RapidWizVersion.cmd  
template        Xpatches
[root@fbsvis rapidwiz]# cd /u01/mnt/stage12201220/startCD/Disk1/rapidwiz/
[root@fbsvis rapidwiz]# ./RapidWizVersion
 
 

Oracle E-Business Suite Rapid Install Wizard
 
Version 12.2.0.51
 
(c) Copyright 2000-2011 Oracle Corporation.  All rights reserved.

 

Note: During installation rapidwiz might error with the unzip version if it higher than 5.5x.

The startCD provide us with correct version of the unzip. We will use same.


mv /usr/bin/unzip /usr/bin/unzip_orig
ln -s /mnt/stage1220/startCD/Disk1/rapidwiz/unzip/Linux_x64/unzip /usr/bin/unzip


Check version

unzip -version
 

We will build stage now which will automatically take care of all unzipping all other zip file and checking its integrity.

Go to below directory and run buildstage.sh

[root@fbsvis rapidwiz]# cd bin/
[root@fbsvis bin]# pwd
/u01/mnt/stage12201220/startCD/Disk1/rapidwiz/bin
[root@fbsvis bin]# ./buildStage.sh 

                     Copyright (c) 2002, 2013 Oracle Corporation
                        Redwood Shores, California, USA
 
                       Oracle E-Business Suite Rapid Install
 
                                 Version 12.2.0
 
 
 

Press Enter to continue...

Press Enter





Select Option 1



Select option 2 as we are using Linux.

It was ask for the directory containing all the zip files.


Running command:

/mnt/stage1220/startCD/Disk1/rapidwiz/bin/../jre/Linux_x64/1.6.0/bin/java -classpath 
/mnt/stage1220/startCD/Disk1/rapidwiz/bin/../jlib/emocmutl.jar:/mnt/stage1220/startCD/Disk1
/rapidwiz/bin/../jlib/ewt-3_4_22.jar:/mnt/stage1220/startCD/Disk1/rapidwiz/bin/../jlib
/share-1_1_18.jar:/mnt/stage1220/startCD/Disk1/rapidwiz/bin/../jlib/jnls.jar:/mnt/stage1220
/startCD/Disk1/rapidwiz/bin/../jlib/ACC.JAR:/mnt/stage1220/startCD/Disk1/rapidwiz/bin/..
/jlib/netcfg.jar:/mnt/stage1220/startCD/Disk1/rapidwiz/bin/../jlib/ojdbc14.jar:/mnt
/stage1220/startCD/Disk1/rapidwiz/bin/../jlib/OraInstaller.jar:/mnt/stage1220/startCD
/Disk1/rapidwiz/bin/../jlib/java oracle.apps.ad.rapidwiz.util.StageBuilder /mnt/stage1220
/startCD/Disk1/rapidwiz/bin Linux_x64 Linux_x64


WARNING: Insufficient free space in directory /mnt/stage1220 to unzip all EBS installation 
media.Specify the directory containing the zipped installation media:
 

I have kept all the file as /mnt/stage1220 location. I will pass the same path and hit enter. I will get some warning related to zip files which are missing. I don't wanted to install vision database so I skipped those zip to be downloaded and will proceed without it.

/mnt/stage1220
----------
Finished unzipping shiphome.
------------
Directory /mnt/stage1220/TechPatches 
 

After this it will run few more unzip command once successful it will come out and we can go and see the stage directory.

[root@fbsvis stage1220]# ls
32947483                   V100053-01_1of2.zip  V100060-01_1of3.zip  V35803-01_3of3.zip
EBSInstallMedia            V100053-01_2of2.zip  V100060-01_2of3.zip  V35804-01_1of2.zip
p32947483_R12_GENERIC.zip  V100054-01.zip       V100060-01_3of3.zip  V35804-01_2of2.zip
startCD                    V100055-01.zip       V100061-01.zip       V46095-01_1of2.zip
TechInstallMedia           V100056-01.zip       V100102-01.zip       V46095-01_2of2.zip
TechPatches                V100057-01.zip       V29856-01.zip        V75792-01.zip
V100052-01_1of3.zip        V100058-01.zip       V35802-01.zip
V100052-01_2of3.zip        V100059-01_1of2.zip  V35803-01_1of3.zip
V100052-01_3of3.zip        V100059-01_2of2.zip  V35803-01_2of3.zip


1.7      Patching the Staging Area

After running the buildStage script, you should patch the stage area with the latest consolidated fixes since the release of the current StartCD. For StartCD 12.2.0.51, the consolidated fixes are delivered in Patch 32947483.

Download Patch 32947483.

Unzip this patch using the following command:

unzip p 32947483_R12_GENERIC.zip.Change to the 32947483 directory.

Patch the stage area using the following commands:

UNIX:

sh patchRIStage.sh

When prompted for the location of the Rapid Install stage, enter the path to the stage area you created for StartCD 12.2.0.51.

Tip: Run the script as the same user(root) that you used to run the buildStage script when creating the stage area.

[root@ebstest 32947483]# ./patchRIStage.sh
Patch directory is /mnt/stage1220/32947483
 
Enter the location of the Rapid Install Stage area:/mnt/stage1220
Copied /mnt/stage1220/32947483/Disk1/rapidwiz/template/adcfgdeploy.sh to 
/mnt/stage1220/startCD/Disk1/rapidwiz/template/adcfgdeploy.sh.
Copied /mnt/stage1220/32947483/Disk1/rapidwiz/template/adcfgdeploy.cmd to 
/mnt/stage1220/startCD/Disk1/rapidwiz/template/adcfgdeploy.cmd.
Copied /mnt/stage1220/32947483/Disk1/rapidwiz/template/adrundeploy.cmd to 
/mnt/stage1220/startCD/Disk1/rapidwiz/template/adrundeploy.cmd.
Copied /mnt/stage1220/32947483/Disk1/rapidwiz/template/adrundb.sh to 
/mnt/stage1220/startCD/Disk1/rapidwiz/template/adrundb.sh.
Copied /mnt/stage1220/32947483/Disk1/rapidwiz/template/adrundb.cmd to 
/mnt/stage1220/startCD/Disk1/rapidwiz/template/adrundb.cmd.
Copied /mnt/stage1220/32947483/Disk1/rapidwiz/template/adrunat.sh to 
/mnt/stage1220/startCD/Disk1/rapidwiz/template/adrunat.sh.
Copied /mnt/stage1220/32947483/Disk1/rapidwiz/template/adrunat.cmd to 
/mnt/stage1220/startCD/Disk1/rapidwiz/template/adrunat.cmd.
Copied /mnt/stage1220/32947483/Disk1/rapidwiz/template/adrunfmw.cmd to 
/mnt/stage1220/startCD/Disk1/rapidwiz/template/adrunfmw.cmd.
Copied /mnt/stage1220/32947483/Disk1/rapidwiz/template/adsetpass.sh to 
/mnt/stage1220/startCD/Disk1/rapidwiz/template/adsetpass.sh.
Copied /mnt/stage1220/32947483/Disk1/rapidwiz/template/adsetpass.cmd to 
/mnt/stage1220/startCD/Disk1/rapidwiz/template/adsetpass.cmd.
Copied /mnt/stage1220/32947483/Disk1/rapidwiz/etc/afcpctx.sh to 
/mnt/stage1220/startCD/Disk1/rapidwiz/etc/afcpctx.sh.
Copied /mnt/stage1220/32947483/Disk1/rapidwiz/etc/afcpctx.cmd to 
/mnt/stage1220/startCD/Disk1/rapidwiz/etc/afcpctx.cmd.
Copied /mnt/stage1220/32947483/Disk1/rapidwiz/bin/riwTDBup.sh to 
/mnt/stage1220/startCD/Disk1/rapidwiz/bin/riwTDBup.sh.
Copied /mnt/stage1220/32947483/Disk1/rapidwiz/bin/riwTDBup.cmd to 
/mnt/stage1220/startCD/Disk1/rapidwiz/bin/riwTDBup.cmd.
Copied /mnt/stage1220/32947483/Disk1/rapidwiz/etc/adstartallmanaged.cmd to 
/mnt/stage1220/startCD/Disk1/rapidwiz/etc/adstartallmanaged.cmd.
Copied /mnt/stage1220/32947483/Disk1/rapidwiz/etc/oamksvc.obj to 
/mnt/stage1220/startCD/Disk1/rapidwiz/etc/oamksvc.obj.
Copied /mnt/stage1220/32947483/Disk1/rapidwiz/etc/OAMKSVC.exe to 
/mnt/stage1220/startCD/Disk1/rapidwiz/etc/OAMKSVC.exe.
Copied /mnt/stage1220/32947483/Disk1/rapidwiz/etc/adwindowsservicesuser.cmd to 
/mnt/stage1220/startCD/Disk1/rapidwiz/etc/adwindowsservicesuser.cmd.
Copied /mnt/stage1220/32947483/Disk1/rapidwiz/etc/adsvNodeManager.cmd to 
/mnt/stage1220/startCD/Disk1/rapidwiz/etc/adsvNodeManager.cmd.
Copied /mnt/stage1220/32947483/Disk1/rapidwiz/etc/igccmprf.cmd to 
/mnt/stage1220/startCD/Disk1/rapidwiz/etc/igccmprf.cmd.
Copied /mnt/stage1220/32947483/Disk1/rapidwiz/jlib/java/oracle/apps/ad/rapidwiz/data
/AppsInstall.class to /mnt/stage1220/startCD/Disk1/rapidwiz/jlib/java/oracle/apps/ad
/rapidwiz/data/AppsInstall.class. Copied /mnt/stage1220/32947483/Disk1/rapidwiz/jlib
/java/oracle/apps/ad/clone/util/OracleHomeCloner.class to /mnt/stage1220/startCD/Disk1
/rapidwiz/jlib/java/oracle/apps/ad/clone/util/OracleHomeCloner.class.
Copied /mnt/stage1220/32947483/Disk1/rapidwiz/jlib/java/oracle/apps/ad/clone/util
/OracleHomeCloner$AbsorbPrintStream.class to /mnt/stage1220/startCD/Disk1/rapidwiz/jlib
/java/oracle/apps/ad/clone/util/OracleHomeCloner$AbsorbPrintStream.class.
Copied /mnt/stage1220/32947483/Disk1/rapidwiz/jlib/java/oracle/apps/ad/rapidwiz/util
/CheckerClass.class to /mnt/stage1220/startCD/Disk1/rapidwiz/jlib/java/oracle/apps/ad
/rapidwiz/util/CheckerClass.class. Copied /mnt/stage1220/32947483/Disk1/rapidwiz/jlib/java
/oracle/apps/ad/util/TimedProcess.class to /mnt/stage1220/startCD/Disk1/rapidwiz/jlib/java
/oracle/apps/ad/util/TimedProcess.class. Copied /mnt/stage1220/32947483/Disk1/rapidwiz/jlib
/java/oracle/apps/ad/util/TimedProcess$TimedProcessProcess.class to /mnt/stage1220/startCD
/Disk1/rapidwiz/jlib/java/oracle/apps/ad/util/TimedProcess$TimedProcessProcess.class.
Copied /mnt/stage1220/32947483/Disk1/rapidwiz/jlib/java/oracle/apps/ad/util
/TimedProcess$AsyncStreamReader.class to /mnt/stage1220/startCD/Disk1/rapidwiz/jlib/java
/oracle/apps/ad/util/TimedProcess$AsyncStreamReader.class. Copied /mnt/stage1220/32947483/Disk1
/rapidwiz/jlib/java/oracle/apps/ad/util/TimedProcess$TimedProcessTimer.class to 
/mnt/stage1220/startCD/Disk1/rapidwiz/jlib/java/oracle/apps/ad/util
/TimedProcess$TimedProcessTimer.class. Copied /mnt/stage1220/32947483/Disk1/rapidwiz/etc
/txkManageDBConnectionPool.pl to /mnt/stage1220/startCD/Disk1/rapidwiz/etc
/txkManageDBConnectionPool.pl. Copied /mnt/stage1220/32947483/Disk1/rapidwiz/TechInstallers
/ASInstallHome/fnd/patch/115/etc/txkUpdateBSU.sh to /mnt/stage1220/startCD/Disk1/rapidwiz
/TechInstallers/ASInstallHome/fnd/patch/115/etc/txkUpdateBSU.sh. Copied /mnt/stage1220/32947483
/Disk1/rapidwiz/TechInstallers/ASInstallHome/fnd/patch/115/etc/txkUpdateBSU.cmd to 
/mnt/stage1220/startCD/Disk1/rapidwiz/TechInstallers/ASInstallHome/fnd/patch/115/etc
/txkUpdateBSU.cmd. Copied /mnt/stage1220/32947483/Disk1/rapidwiz/etc/Java.pm to /mnt/stage1220
/startCD/Disk1/rapidwiz/etc/Java.pm. Copied /mnt/stage1220/32947483/Disk1/rapidwiz/etc
/TechstackDB.pm to /mnt/stage1220/startCD/Disk1/rapidwiz/etc/TechstackDB.pm.
Completed patching of the Rapid Install Stage area /mnt/stage1220


Give 777 permission to stage location.

[root@ebstest rapidwiz]# cd /mnt/stage1220
[root@ebstest stage1220]# ls -ltr
total 8
drwxr-xr-x. 3 root    root     4096 Dec 10 21:01 software
 
[root@ebstest stage1220]# chmod -R 777 software
[root@ebstest stage1220]# ls -ltrr
total 8
drwxrwxrwx. 3 root    root     4096 Dec 10 21:01 software

 

1.8      Modification of StartCD for Linux 8

Note: This workaround has been given from EBS users, not from EBS Development.

[root@ebstest stage1220 cd /<Staging Dir>/TechInstallMedia/ohs11119/Disk3/stage
/Components/oracle.buildtools.rsf/11.1.0.7.0/1/DataFiles
[root@ebstest DataFiles]#  jar xvf filegroup4.jar
[root@ebstest DataFiles]#  cd lib/stubs
[root@ebstest stubs]#  mv libc.so.6 libc.so.6.safe
[root@ebstest stubs]# cp -p /lib64/libc.so.6 .
[root@ebstest stubs]# cd -
[root@ebstest DataFiles]#  mv filegroup4.jar filegroup4.jar.safe
[root@ebstest DataFiles]#  jar cvf filegroup4.jar lib

 

Known Issues:

Error:
 
oracle.apps.fnd.txk.config.ProcessStateException: OUI process failed : Exit=1 See log 
for details. CMD= /b01/1225/TechInstallMedia/ohs11117/Disk1/runInstaller -waitForCompletion -ignoreSysPrereqs 
-force -silent -responseFile /u01/app/VIS/fs2/inst/apps/VIS_af82/temp/cfgHome/response/APPS_OHS_HOME/txkOHS_11117.rsp
 
at oracle.apps.fnd.txk.config.OUIPatchActionNode.processState(OUIPatchActionNode.java:159)
at oracle.apps.fnd.txk.config.PatchActionNode.processState(PatchActionNode.java:187)
at oracle.apps.fnd.txk.config.PatchNode.processState(PatchNode.java:338)
at oracle.apps.fnd.txk.config.PatchesNode.processState(PatchesNode.java:79)
at oracle.apps.fnd.txk.config.InstallNode.processState(InstallNode.java:68)
at oracle.apps.fnd.txk.config.TXKTopology.traverse(TXKTopology.java:594)
at oracle.apps.fnd.txk.config.InstallService.doInvoke(InstallService.java:224)
at oracle.apps.fnd.txk.config.InstallService.invoke(InstallService.java:237)
at oracle.apps.fnd.txk.config.InstallService.main(InstallService.java:291)
 
Cannot install Web Tier Utilities
 
RW-50010: Error: – script has returned an error: 1
RW-50004: Error code received when running external process. Check log file for details.
Running APPL_TOP Install Driver for VIS instance

1.9 Start installation using Rapidwiz from root user

[root@ebstest rapidwiz]# pwd
/mnt/stage1220/startCD/Disk1/rapidwiz
[root@ebstest rapidwiz]# ls
bin            etc     jlib  rapidwiz      RapidWizVersion      template
ClientWiz.cmd  File    jre   RapidWiz.cmd  RapidWizVersion.cmd  unzip
driver         images  oui   RapidWiz.ini  TechInstallers       Xpatches
[root@ebstest rapidwiz]# ./rapidwiz
# ./rapidwiz

 


 


 


 


 


 


 


 


 


 


 


 


 


 


 


 


 

 



 



 

1.10       Once the installation is done, please verify the application version from the below query

SQL> select release_name from apps.fnd_product_groups;
 
RELEASE_NAME
--------------------------------------------------
12.2.0

 

1.       Reference Docs:

Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.2) for Linux x86-64 (Doc ID 1330701.1)

No comments:

Post a Comment