In this post, I would like to write something useful for patching and fine-tuning. When times, we have to relink a particular binary file (executable) in connection with patching or else corrupted file etc. I am providing the step-by-step procedure of relinking a particular executable.
Login as owner of Application Tier and source the environment file before starting
]$ adadmin
You have to enter the answers to the prompt of adadmin as usual
At the AD Administration Main Menu select the option: Maintain Applications Files menu
1. At the Maintain Applications Files menu select the option: Relink Applications programs
2. At the prompt "Do you wish to proceed with the relink [Yes] ?" Hit return for the default option.
2. At the prompt "Enter the name of your Oracle Applications environment file below.
File name [*.env]" Hit return for the default option or correct the file if necessary.
3. At the prompt "Enter list of products to link ('all' for all products) [all] :" enter the product's short name associated with the target executable, such as "fnd".
4. At the prompt "Generate specific executables for each selected product [No] ?" enter Yes
5. At the prompt "Relink with debug information [No] ?" Hit return for the default option.
6. At the prompt "Enter executables to relink, or enter 'all' [all] :" the exact name of the executable to be relinked.
scripts]$ cd $AD_TOP
12.0.0]$ cd bin
bin]$ ls
adadmin adchkdig adcustomizer.sh adgensgn.sh admrgpch adproc.sh adsplice_wrapper adutils.sh adadminnew adchkutl.sh adcustupld.pl adgentns.pl admsi_main.pl adpwhide.cmd adsstart advldmerge.pl adadmin_wrapper adclonectx.pl adcvm.cmd adgetlnxver.sh admsi.pl adpwmask adtmplreport.cmd adwait adaimgr adclone.pl adcvm.sh adgetnode.cmd adncnv adrebase adtmplreport.sh adworker adbldxml.pl adclone.sh addefgen adgetreg adodfcmp adregenv adtopgen.sh adxerr.pl adcfginfo.cmd adconfig.cmd addlnctl.pl adident adogdgen.sh adrelinknew.sh aducsifm.pm adcfginfo.sh adconfig.pl addmimp adjava adownmt.sh adrelink.sh aducsifm.sh adchgatname.pl adconfig.sh addos2unix.pl adjkey adpatch adsctest.sh aducssp.pl adchgbase.pl adctrl adgenhfver.pl adlibin.sh adpatchnew adshell.pl aducssp.sh adchgjreopt.pl adctrlnew adgenhnm adlibout.sh adpatch_wrapper adshell.sh adunload.sh adchkcfg.cmd adctrl_wrapper adgennls.pl admerge.pl adphmigr.pl adsplice adurs adchkcfg.sh adcustomizer.cmd adgenpsf.pl admkappsutil.pl adprmkey adsplicenew adutils.pl
bin]$ mkdir bkp
bin]$ mv adpatch bkp
To relink adpatch:
bin]$ adrelink.sh force=y ‘ad adpatch’
**********************************************************
You are running adrelink, version 120.43
Start of adrelink session
Date/time is Tue Jan 16 18:14:39 IST 2018
adrelink is exiting with status 0
End of adrelink session
Date/time is Tue Jan 16 18:14:54 IST 2018
**********************************************************
Line-wrapping log file for readability ...
Done line-wrapping log file.
Original copy is /u02/home/apps/apps_st/appl/admin/log/adrelink.lsv
New copy is /u02/home/apps/apps_st/appl/admin/log/adrelink.log
Another short-cut is that
Go to cd $AD_TOP/bin
To relink more than one like- adpatch, adsplice, and adadmin:
bin]$ adrelink.sh force=y "ad adpatch" "ad adsplice" "ad adadmin"
To relink all AD executables:
bin]$ adrelink.sh force=y "ad all"
No comments:
Post a Comment