You have removed the patch log directoy which contains adworker's log and patch log files.How do you re create it?
Let's create a scenario
==============
/apps/vision/apps/apps_st/appl/admin/vision
[applvision@apps vision]$mv log 21sep2013_log
[applvision@apps vision]$ ls -tlhr
total 52K
-rw------- 1 applvision applmgr 25K Sep 16 03:31 adalldefaults.txt
drwx------ 2 applvision applmgr 4.0K Sep 20 06:35 21sep2013_log
drwx------ 3 applvision applmgr 16K Sep 20 06:40 out
drwxr-xr-x 2 applvision applmgr 4.0K Sep 20 06:41 restart
[applvision@apps 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/09220124/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]$ pwd
/apps/vision/inst/apps/vision_apps/admin/scripts
[applvision@apps scripts]$
source the env file
==================
[applvision@apps appl]$ ls -tlrh APPS*.env
-rw-r--r-- 1 applvision applmgr 1.1K Sep 22 01:25 APPSvision_apps.env
[applvision@apps appl]$ . ./APPSvision_apps.env
/apps/vision/apps/apps_st/appl/admin/vision
[applvision@apps vision]$ ls
21sep2013_log adalldefaults.txt log out restart
[applvision@apps vision]$ ls -lrh
total 56K
drwxr-xr-x 2 applvision applmgr 4.0K Sep 20 06:41 restart
drwx------ 3 applvision applmgr 16K Sep 20 06:40 out
drwx------ 2 applvision applmgr 4.0K Sep 22 01:25 log
-rw------- 1 applvision applmgr 25K Sep 22 01:25 adalldefaults.txt
drwx------ 2 applvision applmgr 4.0K Sep 20 06:35 21sep2013_log
[applvision@apps vision]$ cd log
[applvision@apps log]$ pwd
/apps/vision/apps/apps_st/appl/admin/vision/log
[applvision@apps log]$ ls -lrh
total 0
[applvision@apps log]$
Note *;- But log file will contians nothing ,its a empty directory.
Let's create a scenario
==============
/apps/vision/apps/apps_st/appl/admin/vision
[applvision@apps vision]$mv log 21sep2013_log
[applvision@apps vision]$ ls -tlhr
total 52K
-rw------- 1 applvision applmgr 25K Sep 16 03:31 adalldefaults.txt
drwx------ 2 applvision applmgr 4.0K Sep 20 06:35 21sep2013_log
drwx------ 3 applvision applmgr 16K Sep 20 06:40 out
drwxr-xr-x 2 applvision applmgr 4.0K Sep 20 06:41 restart
[applvision@apps 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/09220124/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]$ pwd
/apps/vision/inst/apps/vision_apps/admin/scripts
[applvision@apps scripts]$
source the env file
==================
[applvision@apps appl]$ ls -tlrh APPS*.env
-rw-r--r-- 1 applvision applmgr 1.1K Sep 22 01:25 APPSvision_apps.env
[applvision@apps appl]$ . ./APPSvision_apps.env
/apps/vision/apps/apps_st/appl/admin/vision
[applvision@apps vision]$ ls
21sep2013_log adalldefaults.txt log out restart
[applvision@apps vision]$ ls -lrh
total 56K
drwxr-xr-x 2 applvision applmgr 4.0K Sep 20 06:41 restart
drwx------ 3 applvision applmgr 16K Sep 20 06:40 out
drwx------ 2 applvision applmgr 4.0K Sep 22 01:25 log
-rw------- 1 applvision applmgr 25K Sep 22 01:25 adalldefaults.txt
drwx------ 2 applvision applmgr 4.0K Sep 20 06:35 21sep2013_log
[applvision@apps vision]$ cd log
[applvision@apps log]$ pwd
/apps/vision/apps/apps_st/appl/admin/vision/log
[applvision@apps log]$ ls -lrh
total 0
[applvision@apps log]$
Note *;- But log file will contians nothing ,its a empty directory.
Do we need to run autoconfig for just creating one log directory ? Why cant we use "mkdir log" , instead of running autoconfig.
ReplyDelete