Contact Premier Online Trainings Today
Premier Online Trainings

Oracle Apps DBA - Relink of module "FEMCCE" failed.

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

Relink of module "FEMCCE" failed.

issue --

Relink of module "FEMCCE" 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/fem/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 'fem' on Tue Nov 19 08:16:37 IST 2019
 
 
adrelink is exiting with status 1
 
End of adrelink session
Date/time is  Tue Nov 19 08:16:37 IST 2019
**********************************************************
 
Line-wrapping log file for readability ...
Done line-wrapping log file.
 
Original copy is /apps/applmgr/PROD/apps/apps_st/appl/admin/PROD/log/adrelink.lsv
New copy is /apps/applmgr/PROD/apps/apps_st/appl/admin/PROD/log/adrelink.log
 
 
An error occurred while relinking application programs.
Continue as if it were successful [No] :
 
solution --
 
[applmgr@ebs121 ~]$ cp -r /apps/applmgr/PROD/apps/apps_st/appl/ad/12.0.0/bin/adrelinknew.sh /apps/applmgr/PROD/apps/apps_st/appl/ad/12.0.0/bin/adrelinknew.sh_bkp
 
To fix this problem, users are required to replace the following line under the Linux section of the $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'
After making this change, users are then required to run the adadmin utility and relink application executables.
 
REFERENCES
 
[applmgr@ebs121 ~]$ diff $AD_TOP/bin/adrelinknew.sh $AD_TOP/bin/adrelinknew.sh_bkp
1729c1729
<       CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh -Wl,--noinhibit-exec'
---
>       CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh'
[applmgr@ebs121 ~]$