Your Doorstep to the Temple of Oracle

Oracle EBS

Patch failed with Relinking

Posted by appsdba11i on May 25, 2011

Hi Folks

Recenty i got an issue with patch..   Patch failed with Relinking..the following are the details

Patch Failed With Relink Error..

Relink of module “RAXTRX” failed.
See error messages above (also recorded in log file) for possible
reasons for the failure.  Also, please check that the Unix userid

Recent Change : cloned from Prdouction

Error MSg :- adrelink error

make -f /apps11i/apapps11i/11510/admin/APPS11i/out/link_ar_20452.mk
/apps11i/apapps11i/11510/ar/11.5.0/bin/RAXTRX

Starting  link of ar executable ‘RAXTRX’ on Wed March 25 02:12:13 IST 2011
gcc -s -L/apps11i/product/806/lib -L/apps11i/product/806/lib/stubs -ldl -o
/apps11i/apapps11i/11510/ar/11.5.0/bin/RAXTRX
/apps11i/apapps11i/11510/ar/11.5.0/lib/raamai.o \
/apps11i/apapps11i/11510/ar/11.5.0/lib/libar.a
/apps11i/apapps11i/11510/fnd/11.5.0/lib/libfnd.a -lsql
/apps11i/product/806/lib/nautab.o /apps11i/product/806/lib/naeet.o
/apps11i/product/806/lib/naect.o /apps11i/product/806/lib/naedhs.o `cat
/apps11i/product/806/lib/naldflgs` -lnetv2 -lnttcp -lnetwork -lncr  -lclient
-lvsn -lcommon -lgeneric -lmm -lnlsrtl3  -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3
-lnetv2 -lnttcp -lnetwork -lncr  -lclient -lvsn -lcommon -lgeneric  -lepc
-lnlsrtl3  -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -lclient -lvsn -lcommon
-lgeneric -lnlsrtl3  -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3   `cat
/apps11i/product/806/lib/sysliblist` -ldl -lpthread -lm
/apps11i/product/806/rdbms/lib/defopt.o
/apps11i/product/806/rdbms/lib/ssbbded.o
/usr/bin/ld: cannot find /PROD/806/lib/stubs/libc.so.6
collect2: ld returned 1 exit status
make: *** [/apps11i/apapps11i/11510/ar/11.5.0/bin/RAXTRX] Error 1
Done with link of ar executable ‘RAXTRX’ on Wed March 25 02:12:14 IST 2011

Relink of module “RAXTRX” failed.
See error messages above (also recorded in log file) for possible
reasons for the failure.  Also, please check that the Unix userid

Cause:-libc.so is pointing to Production ..

Resolution/Fix:- Need to change libc.so reference to apps11i

Steps to resolve this Problem
============================

1) login as apuser(applmgr)
2) change directory to $ORACLE_HOME/lib/stubs
3) cat libc.so

chk wther its pointing to the COrrect instance

4) if not Then chanage to Present instance and restart the patch…

In my case :

$ cd $ORACLE_HOME/lib/stubs

$  ls -lrt libc.so
-rw-r–r–  1 apapps11i dba    77 Mar 25 02:42 libc.so

$ cat libc.so
GROUP ( /PROD/806/lib/stubs/libc.so.6   /usr/lib/libc_nonshared.a )

here Our libc.so pointed to PROD instance..
changing entry from /PROD/806/lib/stubs/libc.so.6 to /apps11i/806/lib/stubs/libc.so.6
And restarted the patch… Its applied successfully

Reference Note:-
=================

1275418.1
244256.1


Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

 
%d bloggers like this: