ERROR WHILE UPGRADING APPLICATION FROM R12.1.1 to R12.1.3
Received the below error when applying the prerequisite patch 9239089 for R12.1.1 to R12.1.3:
Error from log the adrelink.log :
Relink of module "adwrknew" failed.
See error messages above (also recorded in log file) for possible
reasons for the failure. Also, please check that the Unix userid
running adrelink has read, write, and execute permissions
on the directory /u01/applebs/EBSDB/apps/apps_st/appl/ad/12.0.0/bin,
and that there is sufficient space remaining on the disk partition
containing your Oracle Applications installation.
Done with link of product 'ad' on Sat Feb 18 02:02:40 IST 2017
adrelink is exiting with status 1
End of adrelink session
REFERENCE:
Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86-64 (Doc ID 761566.1)
SOLUTION:
cd $AD_TOP/bin
cp -rp adrelinknew.sh adrelinknew.sh_orig
vi $AD_TOP/bin/adrelinknew.sh
CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh'
with
CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh -Wl,--noinhibit-exec'
--Apply the patch again, now the patch will complete successfully.
Additional Information: The application of an EBS Release Update Pack (RUP) or AD family pack could over-write the adrelinknew.sh file - users must then re-edit and make changes to the above file in order to avoid relinking failures(Before Applying RUP 9239090 again edit the adrelinknew.sh file)