Friday 27 September 2013

if we lost adrelink.sh and adlicmgr.sh script.Is it possible to regenrate it?

if we lost adrelink.sh and adlicmgr.sh script.Is it possible to regenrate it?

If anything miss we will go for autoconfig choice.Let's do the same here to get adrelink.sh and adlicmgr.sh file.

======================
Let's create a senario
======================
[applvision@apps ~]$ cd $AD_TOP/bin
[applvision@apps bin]$ ls -ltrh adrelink.sh
-rwxr-xr-x 1 applvision applmgr 1.7K Dec 31  2006 adrelink.sh
[applvision@apps bin]$ mv adrelink.sh adrelink.sh_27sep2013
[applvision@apps bin]$ ls -ltrh adrelink.sh
ls: adrelink.sh: No such file or directory
[applvision@apps bin]$ sh /apps/vision/inst/apps/vision_apps/admin/scripts/adautocfg.sh
Enter the APPS user password:

The log file for this session is located at: /apps/vision/inst/apps/vision_apps/admin/log/09280717/adconfig.log

AutoConfig is configuring the Applications environment...

AutoConfig will consider the custom templates if present.
        Using CONFIG_HOME location     : /apps/vision/inst/apps/vision_apps
        Classpath                   : /apps/vision/apps/apps_st/comn/java/lib/appsborg2.zip:/apps/vision/apps/apps_st/comn/java/classes

        Using Context file          : /apps/vision/inst/apps/vision_apps/appl/admin/vision_apps.xml

Context Value Management will now update the Context file

        Updating Context file...COMPLETED

        Attempting upload of Context file and templates to database...COMPLETED

Configuring templates from all of the product tops...
        Configuring AD_TOP........COMPLETED
        Configuring FND_TOP.......COMPLETED
        Configuring ICX_TOP.......COMPLETED
        Configuring MSC_TOP.......COMPLETED
        Configuring IEO_TOP.......COMPLETED
        Configuring BIS_TOP.......COMPLETED
        Configuring AMS_TOP.......COMPLETED
        Configuring CCT_TOP.......COMPLETED
        Configuring WSH_TOP.......COMPLETED
        Configuring CLN_TOP.......COMPLETED
        Configuring OKE_TOP.......COMPLETED
        Configuring OKL_TOP.......COMPLETED
        Configuring OKS_TOP.......COMPLETED
        Configuring CSF_TOP.......COMPLETED
        Configuring IGS_TOP.......COMPLETED
        Configuring IBY_TOP.......COMPLETED
        Configuring JTF_TOP.......COMPLETED
        Configuring MWA_TOP.......COMPLETED
        Configuring CN_TOP........COMPLETED
        Configuring CSI_TOP.......COMPLETED
        Configuring WIP_TOP.......COMPLETED
        Configuring CSE_TOP.......COMPLETED
        Configuring EAM_TOP.......COMPLETED
        Configuring FTE_TOP.......COMPLETED
        Configuring ONT_TOP.......COMPLETED
        Configuring AR_TOP........COMPLETED
        Configuring AHL_TOP.......COMPLETED
        Configuring OZF_TOP.......COMPLETED
        Configuring IES_TOP.......COMPLETED
        Configuring CSD_TOP.......COMPLETED
        Configuring IGC_TOP.......COMPLETED

AutoConfig completed successfully.
[applvision@apps bin]$ ls -ltrh $AD_TOP/bin/adrelink.sh
ls: /apps/vision/apps/apps_st/appl/ad/12.0.0/bin/adrelink.sh: No such file or directory
[applvision@apps bin]$

Answer *:-
Both are the shell scripts,Its not possible to regenerate it.
we need to copy both the files from other server.

No comments:

Post a Comment