Wednesday 15 June 2016

Oracle EBS 12.1.3 to 12.2.4 Upgrade Issues

Completed a Successful Upgrade  iteration on one of the environment: 12.1.3 to 12.2.4

Below Mentioned are the few issues faced and their resolution:

The Install was done on a new Application server and then performed Upgrade.


1. While executing rapidwiz for Online Application ( 12.2.0)  installation, facing an error related to jre file:

libXtst.so.6: cannot open shared object file: No such file or directory


Solution:


Installed OS Package:  xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386
AND

# unlink /usr/lib/libXtst.so.6
# ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6



2. Error while adop :

Checking for existing adop sessions.
    [UNEXPECTED]Duplicate rows found for host appsmines01 in FND_OAM_CONTEXT_FILES table
*******FATAL ERROR*******
PROGRAM : (/u01/app/***/***/fs1/EBSapps/appl/ad/12.0.0/bin/adzdoptl.pl)
TIME    : Sat Jun 11 09:36:47 2016
FUNCTION: ADOP::CommonUtil::getAppltopId [ Level 1 ]
ERRORMSG: Duplicate rows found for host ausuldppimebs01 in FND_OAM_CONTEXT_FILES table


Solution:

Found duplicate entries for apps contextfile in fnd_oam_context_files
Repopulated xml entries by : fnd node cleanup , autoconfig on both db and apps side.



3. 12.2.4 upgrade patch 17919161 failed with below error :


ADOP session:

*******FATAL ERROR*******
PROGRAM : (/u01/app/***/fs1/EBSapps/appl/ad/12.0.0/bin/adzdoptl.pl)
TIME    : Sat Jun 11 20:58:29 2016
FUNCTION: ADOP::GlobalVars::_validateApplyRestartArgs [ Level 1 ]
ERRORMSG: When running adop after a previous patching cycle failed, you must specify either the 'abandon' or 'restart' parameter .


[STATEMENT] Please run adopscanlog utility, using the command

"adopscanlog -latest=yes"

to get the list of the log files along with snippet of the error message corresponding to each log file.


adop exiting with status = 255 (Fail)


LOGFILE:

The following Oracle Reports objects did not generate successfully:
au      plsql   INVISMMX.pll
An error occurred while generating Oracle Reports library files.
***
Continue as if it were successful :
***


Solution:

Installed OS package: openmotif21-2.1.30-11.EL7.i686.rpm and restaretd ADOP ( restart=yes).



4. on Database server fails:


$ perl cr9idata.pl
Can't locate File/CheckTree.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /u01/app/oracle/product/11.2.0.4/db_5/appsutil/perl /u01/app/oracle/product/11.2.0.4/db_5/appsutil/perl /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at cr9idata.pl line 40.
BEGIN failed--compilation aborted at cr9idata.pl line 40.


Solution:


export PERL5LIB=$ORACLE_HOME/perl/lib/5.10.0:$ORACLE_HOME/perl/site_perl/5.10.0:$ORACLE_HOME/appsutil/perl
export PATH=$ORACLE_HOME/perl:$ORACLE_HOME/perl/lib:$ORACLE_HOME/perl/bin:$PATH




5. System Tablespace low on space: Patch hangs:

TABLESPACE_NAME                PERCENTAGE_USED SPACE_ALLOCATED SPACE_USED SPACE_FREE  DATAFILES
------------------------------ --------------- --------------- ---------- ---------- ----------
SYSTEM                                   99.31           12326   12240.91      85.09         13


Solution:


SQL> alter tablespace system add datafile '+DATA_1' size 25G;

Tablespace altered.


6.  After Upgrade, opmn/Apache doesnt start with below error :

/u01/app/***/fs1/inst/apps/*****/admin/scripts/adapcctl.sh: line 161: /u01/app/****/fs1/FMW_Home/webtier/instances/EBS_web_****_OHS1/bin/opmnctl: No such file or directory


Solution:

After R12.2.4 Upgrade Found OPMNCTL Missing While Starting Services (Doc ID 1953456.1)


Monday 6 June 2016

Oracle EBS 12.2.0 Rapid Install wizard Fails with error : libXtst.so.6: cannot open shared object file: No such file or directory


While executing rapidwiz for Online EBS 12.2.0 installation, facing an error related to jre file:

libXtst.so.6: cannot open shared object file: No such file or directory

1. The libXtst.so.6 file is getting accessed by rapidwiz from /u01/app/oracle/patch/R122v50/Stage/startCD/Disk1/rapidwiz/jre/Linux_x64/1.6.0/lib/i386/xawt/.

The RapidWiz is invoked from : /u01/app/oracle/patch/R122v50/Stage/startCD/Disk1/rapidwiz

2. The TMPDIR And _java_options are already set , before executing runit.sh , also made sure to manually set the values and execute. But no Luck.

3. Created a softlink :

$ pwd
/u01/app/oracle/patch/R122v50/Stage/startCD/Disk1/rapidwiz/jre/Linux_x64/1.6.0/lib/i386/xawt
$ ls -ltr
total 352
-rwxrwxrwx 1 applmgr oinstall 353146 May 26  2015 libmawt.so
lrwxrwxrwx 1 applmgr dba          23 Jun  6 11:05 libXtst.so.6 -> /usr/lib64/libXtst.so.6

However after this the rapidwiz gives error: libxtst.so.6 wrong elf class. This dint resolve.


Resolution:

when compared on a server where already installation was successfully completed, saw the below mentioned OS package missing:

$  rpm -qa --qf='%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' xorg-x11-libs*
xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386
$

The above package wasn't existing in the server, where we had issue:

$  rpm -qa --qf='%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' xorg-x11-libs*
$


Installed the below packages:

xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm
binutils-2.17.50.0.6-6.0.1.el5.i386.rpm

Performed the below:

# unlink /usr/lib/libXtst.so.6
# ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6


Resolved !!!!