Wednesday 15 October 2014

EBS : adrelink fails in RHEL 6+ while executing patches

Error:

Relink of module “MSONEW” failed.
…….
Relink of module “FEMCCE” failed.
…….
Relink of module “MSRNEW” failed.
…….
Relink of module “MSCCPP” failed.
…….
Relink of module “MSCMON” failed.
…….
Relink of module “MSCNEW” failed.
…….
Relink of module “MSCNSP” failed.
………
Relink of module “MSCNSPNM” failed.
………
Relink of module “MSCPCL” failed.
………
Relink of module “MSCPDW” failed.
………
Relink of module “MSCPRG” failed.
………
Relink of module “MSCSDW” failed.
………
Relink of module “MSCSLD” failed.
………


It asks us whether we want to continue patch session as Normal or else Stop

NO-Will stop the patch session and YES will allows us continue patching as if normal.

So to exit patch session type NO and once patch session ends. we have to perform below work around.

Solution:

To fix this problem, we are required to replace the following line under the Linux section of file ” $AD_TOP/bin/adrelinknew.sh”:

From:

CPP='g++'
CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh'

TO:

CPP='g++'
CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh -Wl,--noinhibit-exec'

No comments:

Post a Comment

Oracle : Database Startup Time

 Oracle Instance Startup Time SET LINES 2000 SET PAGES 9999 COLUMN INSTANCE_NAME FOR A20 SELECT     instance_name,     to_char(startup_time,...