Infolinks

Monday 9 July 2012

Installing EBS 12.1.1 on Redhat ES 6.0 x86_64

Installing EBS 12.1.1 on Redhat ES 6.0 x86_64

I wrote this note before EBS 12.1.1 was certified against RH6 (06May2011), and suggest that this only gets implemented on TEST systems. I first show all the errors I got during the installation process, how to correct them, and the I show screenshots from all the installation windows, with descriptions should it be required
The below needs to be done after a full installation of Redhat 6 x86_64 is done.
  • Install the following RPM's - exact versions as shown

[root@oraclerh6pw7 rpms]# rpm -Uhv libXp*.rpm
warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY
warning: libXp-1.0.0-8.1.el5.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 37017186: NOKEY
Preparing...                 ########################################### [100%]
   1:libXp                   ########################################### [ 50%]
   2:libXp                   ########################################### [100%]
[root@oraclerh6pw7 rpms]# 

  • Resolving " libXtst.so.6: cannot open shared object file" errors during installation


[root@oraclerh6pw7 rapidwiz]# Exception in thread "main" java.lang.UnsatisfiedLinkError: /u01/stage/StageR12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.6.0/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
     at java.lang.ClassLoader$NativeLibrary.load(Native Method)
     at java.lang.ClassLoader.loadLibrary0(Unknown Source)
     at java.lang.ClassLoader.loadLibrary(Unknown Source)
     at java.lang.Runtime.load0(Unknown Source)
     at java.lang.System.load(Unknown Source)
     at java.lang.ClassLoader$NativeLibrary.load(Native Method)
     at java.lang.ClassLoader.loadLibrary0(Unknown Source)
     at java.lang.ClassLoader.loadLibrary(Unknown Source)
     at java.lang.Runtime.loadLibrary0(Unknown Source)
     at java.lang.System.loadLibrary(Unknown Source)
     at sun.security.action.LoadLibraryAction.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
     at sun.awt.DebugHelper.(Unknown Source)
     at java.awt.Component.(Unknown Source)


Before:

[root@oraclerh6pw7 new]# find / -name *libXtst.so.6*
/usr/lib64/libXtst.so.6
/usr/lib64/libXtst.so.6.1.0
[root@oraclerh6pw7 new]#

After:

[root@oraclerh6pw7 Packages]# rpm -Uhv libXi-1.3-3.el6.i686.rpm libXi-devel-1.3-3.el6.i686.rpm
warning: libXi-1.3-3.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing...                 ########################################### [100%]
   1:libXi                   ########################################### [ 50%]
   2:libXi-devel             ########################################### [100%]
[root@oraclerh6pw7 Packages]#

[root@oraclerh6pw7 Packages]# rpm -Uhv libXtst-1.0.99.2-3.el6.i686.rpm libXtst-devel-1.0.99.2-3.el6.i686.rpm
warning: libXtst-1.0.99.2-3.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing...                 ########################################### [100%]
   1:libXtst                 ########################################### [ 50%]
   2:libXtst-devel          ########################################### [100%]
[root@oraclerh6pw7 Packages]#

[root@oraclerh6pw7 Packages]# find / -name *libXtst.so.6*
/usr/lib/libXtst.so.6
/usr/lib/libXtst.so.6.1.0
/usr/lib64/libXtst.so.6
/usr/lib64/libXtst.so.6.1.0
[root@oraclerh6pw7 Packages]#


  • Unzip errors using RH6 - unzip5 vs unzip6
  
Error:

Processing Disk1....

RC-20200: Fatal: Could not find Unzip. At this time only Native UnZip 5.X is supported.

Please make sure you have UnZip 5.X in your path and try again...


[root@oraclerh6pw7 Packages]# unzip -version
caution:  both -n and -o specified; ignoring -o
UnZip 6.00 of 20 April 2009, by Info-ZIP.  Maintained by C. Spieler.  Send


[root@oraclerh6pw7 rapidwiz]# ./RapidWizVersion

Oracle Applications Rapid Install Wizard

Version 12.1.1.9

(c) Copyright 2000-2006 Oracle Corporation.  All rights reserved.

[root@oraclerh6pw7 rapidwiz]#


Solution:

upgrade to rapidwiz version 12.1.1.11 OR move /usr/bin/unzip to /usr/bin/unzip6, and cp unzip v5 from the startCD directory from the staging area to /usr/bin/unzip

Download and Install patch p8639046_R12_GENERIC.zip to overcome this issue, and make sure the unzip from the new patch is in the path . The other option is also to overwrite /usr/bin/unzip, with the one from the patch, after making a proper backup of it. RH6 comes with unzip6, but EBS 12.1.1 searches for unzip5*

--> Download patch p8639046_R12_GENERIC.zip and copy in R12 Stage area.

--> unzip patch in stage R12 Stage directory "/R12_Stage"

/R12_Stage
bash-3.00$ ls
oraAppDB oraDB oraiAS startCD
oraApps oraNLS p8639046_R12_GENERIC.zip
bash-3.00$

use command:

unzip -o p8639046_R12_GENERIC.zip

--> confirm the version of rapidwiz with command:

--> Execute command from "/R12_Stage/startCD/Disk1/rapidwiz

bash-3.00# ./RapidWizVersion

Old version of rapidwiz: 12.1.1.9
New upgraded version : 12.1.1.11

After:

[root@oraclerh6pw7 rapidwiz]# ./RapidWizVersion

Oracle Applications Rapid Install Wizard

Version 12.1.1.11

(c) Copyright 2000-2006 Oracle Corporation.  All rights reserved.


[root@oraclerh6pw7 rapidwiz]#

  • HTTP listener refusing to start:

HTTP
   checking URL = http://oraclerh6pw7.home.co.za:8010
   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.


Solution:

[root@oraclerh6pw7 applprod]# rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n" | grep compat-db
compat-db-4.6.21-15.el6 (x86_64)
compat-db43-4.3.29-15.el6 (x86_64)
compat-db42-4.2.52-15.el6 (x86_64)
You have new mail in /var/spool/mail/root
[root@oraclerh6pw7 applprod]#

You must have the x86 ones as well, and not only the 64 bit ones

[root@oraclerh6pw7 tmprpm]# ls -l
total 1748
-r--r--r-- 1 root root 844308 May  4 15:39 compat-db42-4.2.52-15.el6.i686.rpm
-r--r--r-- 1 root root 914344 May  4 15:39 compat-db43-4.3.29-15.el6.i686.rpm
-r--r--r-- 1 root root  12624 May  4 15:39 compat-db-4.6.21-15.el6.i686.rpm
[root@oraclerh6pw7 tmprpm]# rpm -Uhv *.rpm
warning: compat-db42-4.2.52-15.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing...                 ########################################### [100%]
   1:compat-db43            ########################################### [ 33%]
   2:compat-db42            ########################################### [ 67%]
   3:compat-db               ########################################### [100%]
[root@oraclerh6pw7 tmprpm]# rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n" | grep compat-db
compat-db42-4.2.52-15.el6 (i686)
compat-db-4.6.21-15.el6 (x86_64)
compat-db43-4.3.29-15.el6 (x86_64)
compat-db42-4.2.52-15.el6 (x86_64)
compat-db43-4.3.29-15.el6 (i686)
compat-db-4.6.21-15.el6 (i686)
[root@oraclerh6pw7 tmprpm]#


[root@oraclerh6pw7 tmprpm]# rpm -Uhv glibc-devel-2.12-1.7.el6.i686.rpm
warning: glibc-devel-2.12-1.7.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing...                 ########################################### [100%]
   1:glibc-devel            ########################################### [100%]
[root@oraclerh6pw7 tmprpm]#


  • Errors starting opmn


[applprod@oraclerh6pw7 scripts]$ ./adopmnctl.sh start

You are running adopmnctl.sh version 120.6

Starting Oracle Process Manager (OPMN) ...
libopmnoraclenls.so: unable to load
/u01/PROD/inst/apps/PROD_oraclerh6pw7/ora/10.1.3/opmn/bin/opmnctl: line 898:  8127 Segmentation fault      (core dumped) $OPMNADMIN ping
libopmnoraclenls.so: unable to load
libopmnoraclenls.so: unable to load
/u01/PROD/inst/apps/PROD_oraclerh6pw7/ora/10.1.3/opmn/bin/opmnctl: line 898:  8137 Segmentation fault      (core dumped) $OPMNADMIN pingwait
opmnctl: opmn start failed.

adopmnctl.sh: exiting with status 0

adopmnctl.sh: check the logfile /u01/PROD/inst/apps/PROD_oraclerh6pw7/logs/appl/admin/log/adopmnctl.txt for more information ... 

[applprod@oraclerh6pw7 scripts]$


Solution:

Install the 32-bit version of glibc-devel-2.3.4-2.19.i686.rpm.
Note: To install 32-bit packages on a 64-bit system, you may need to use the --force option and the --nodeps option of the rpm utility.
[root@oraclerh6pw7 Server]# rpm -Uhv glibc-devel-2.5-49.i386.rpm glibc-devel-2.5-49.x86_64.rpm --force --nodeps
warning: glibc-devel-2.5-49.i386.rpm: Header V3 DSA/SHA1 Signature, key ID 37017186: NOKEY
Preparing...                 ########################################### [100%]
   1:glibc-devel            ########################################### [ 50%]
   2:glibc-devel            ########################################### [100%]
[root@oraclerh6pw7 Server]#

[applprod@oraclerh6pw7 ~]$ cd $IAS_ORACLE_HOME
[applprod@oraclerh6pw7 10.1.3]$ cd bin
[applprod@oraclerh6pw7 bin]$ ./genclntsh -32
[applprod@oraclerh6pw7 bin]$

Start opmn as usual using "adopmnctl start"


  • Errors starting APACHE


[applprod@oraclerh6pw7 scripts]$ ./adapcctl.sh start

You are running adapcctl.sh version 120.7.12010000.2

Starting OPMN managed Oracle HTTP Server (OHS) instance ...
opmnctl: opmn is already running.
opmnctl: starting opmn managed processes...
================================================================================
opmn id=oraclerh6pw7.home.co.za:6210
    0 of 1 processes started.

ias-instance id=PROD_oraclerh6pw7.oraclerh6pw7.home.co.za
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
--------------------------------------------------------------------------------
ias-component/process-type/process-set:
    HTTP_Server/HTTP_Server/HTTP_Server/

Error
--> Process (index=1,uid=1805659207,pid=12698)
    failed to start a managed process after the maximum retry limit
    Log:
    /u01/PROD/inst/apps/PROD_oraclerh6pw7/logs/ora/10.1.3/opmn/HTTP_Server~1.log


adapcctl.sh: exiting with status 0

adapcctl.sh: check the logfile /u01/PROD/inst/apps/PROD_oraclerh6pw7/logs/appl/admin/log/adapcctl.txt for more information ... 

[applprod@oraclerh6pw7 scripts]$

--------
11/05/04 17:09:40 Start process
--------
/u01/PROD/inst/apps/PROD_oraclerh6pw7/ora/10.1.3/Apache/Apache/bin/apachectl startssl: execing httpd
/u01/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:

[root@oraclerh6pw7 tmprpm]# rpm -Uhv compat-db-4.1.25-9.i386.rpm --force --nodeps
warning: compat-db-4.1.25-9.i386.rpm: Header V3 DSA/SHA1 Signature, key ID 652e84dc: NOKEY
Preparing...                 ########################################### [100%]
   1:compat-db               ########################################### [100%]
[root@oraclerh6pw7 tmprpm]#

[applprod@oraclerh6pw7 scripts]$ vi /u01/PROD/inst/apps/PROD_oraclerh6pw7/logs/ora/10.1.3/opmn/HTTP_Server~1.log
[applprod@oraclerh6pw7 scripts]$ ./adapcctl.sh start

You are running adapcctl.sh version 120.7.12010000.2

Starting OPMN managed Oracle HTTP Server (OHS) instance ...
opmnctl: opmn is already running.
opmnctl: starting opmn managed processes...

adapcctl.sh: exiting with status 0

adapcctl.sh: check the logfile /u01/PROD/inst/apps/PROD_oraclerh6pw7/logs/appl/admin/log/adapcctl.txt for more information ... 

[applprod@oraclerh6pw7 scripts]$


AFTER implementing the above workarounds, you will be able to do a full install of EBS 12.1.1 on RH6 x86_64



Start the installation using rapidwiz from the StartCD rapidwiz directory:












The below forum note, suggests ignoring the above error, which I did:
http://forums.oracle.com/forums/thread.jspa?threadID=2207518&tstart=105
Click "Next" to continue





This will take a long time - enjoy lots of coffee :)
When successfully completed, the below window will show



http://oraclerh6pw7.home.co.za:8010/OA_HTML/AppsLogin



No comments:

Post a Comment