If we lost adapcctl.sh, adalnctl.sh, and adcmctl.sh scripts.Is it possible to re- generate it?
yes we can re-generate it,By running autoconfig.
Let's create a scenario
=================
[applvision@apps scripts]$ pwd
/apps/vision/inst/apps/vision_apps/admin/scripts
[applvision@apps scripts]$ ps -fu applvision
UID PID PPID C STIME TTY TIME CMD
501 6040 6033 0 07:52 ? 00:00:00 sshd: applvision@pts/2
501 6041 6040 0 07:52 pts/2 00:00:00 -bash
501 6395 6041 0 08:05 pts/2 00:00:00 ps -fu applvision
[applvision@apps scripts]$ mv adapcctl.sh adapcctl.sh_7oct2013
[applvision@apps scripts]$ mv adalnctl.sh adalnctl.sh_7oct2013
[applvision@apps scripts]$ mv adcmctl.sh adcmctl.sh_7oct2013
[applvision@apps scripts]$ ls -ltrh adapcctl.sh adalnctl.sh adcmctl.sh
ls: adapcctl.sh: No such file or directory
ls: adalnctl.sh: No such file or directory
ls: adcmctl.sh: No such file or directory
[applvision@apps scripts]$
[applvision@apps scripts]$ date
Tue Oct 8 08:08:29 IST 2013
[applvision@apps scripts]$
Solution *:-Now run autoconfig to re generate all missing/lost scripts.
[applvision@apps scripts]$ 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/10080810/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 scripts]$ ls -ltrh adapcctl.sh adalnctl.sh adcmctl.sh
-rwx------ 1 applvision applmgr 7.2K
Oct 8 08:11 adalnctl.sh
-rwx------ 1 applvision applmgr 17K
Oct 8 08:11 adcmctl.sh
-rwx------ 1 applvision applmgr 8.1K
Oct 8 08:12 adapcctl.sh
[applvision@apps scripts]$ date
Tue Oct 8 08:15:50 IST 2013
[applvision@apps scripts]$
Note *:- My autoconfig completed successfully and new scripts are re-generated.
Quote of the day!!
Optimism is the faith that leads to achievement. Nothing can be done without hope and confidence.