Contact Premier Online Trainings Today
Premier Online Trainings

Oracle Apps DBA - Relinking of ad module “adwrknew” failed while applying patch 9239089

Date Added: 18 Nov.2019 Date Updated: 18 Nov.2019 Oracle Apps DBA Full Blog

Relinking of ad module “adwrknew” failed while applying patch 9239089

Issue -

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 /apps/applmgr/PROD/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 Mon Nov 18 22:51:04 IST 2019
 
adrelink is exiting with status 1
 
End of adrelink session
Date/time is  Mon Nov 18 22:51:04 IST 2019

Solution --

Download patch 12415211 and perform below steps.

[applmgr@ebs121 12415211]$ echo $ORACLE_HOME
/apps/applmgr/PROD/apps/tech_st/10.1.2
[applmgr@ebs121 12415211]$
$cp -r $ORACLE_HOME/lib/stubs $ORACLE_HOME/lib/stubs_org
$cd /soft/1213/12415211/files/lib/stubs/
$cp -r libgcc_s-2.3.2-stub.so /apps/applmgr/PROD/apps/tech_st/10.1.2/lib/stubs
$cd /apps/applmgr/PROD/apps/tech_st/10.1.2/lib/stubs
$chmod 755 libgcc_s-2.3.2-stub.so
$ln -s libgcc_s-2.3.2-stub.so libgcc_s.so.1
$ln -s libgcc_s.so.1 libgcc_s.so
 
 
 
$cd $INST_TOP/ora/10.1.3/
$. PROD_ebs121.env
[applmgr@ebs121 10.1.3]$ echo $ORACLE_HOME
/apps/applmgr/PROD/apps/tech_st/10.1.3
[applmgr@ebs121 10.1.3]$
$cp -r $ORACLE_HOME/lib/stubs/ $ORACLE_HOME/lib/stubs_org
$cd /soft/1213/12415211/files/lib/stubs/ 
$cp -r libgcc_s-2.3.2-stub.so /apps/applmgr/PROD/apps/tech_st/10.1.3/lib/stubs
$cd /apps/applmgr/PROD/apps/tech_st/10.1.3/lib/stubs
$chmod 755 libgcc_s-2.3.2-stub.so
$ln -s libgcc_s-2.3.2-stub.so libgcc_s.so.1
$ln -s libgcc_s.so.1 libgcc_s.so
 
Restart the failed patch 9239089