APPS R12 LOG FILE LOCATIONS

7
1 R12 APPS ARCHITECHTURE

Transcript of APPS R12 LOG FILE LOCATIONS

Page 1: APPS R12 LOG FILE LOCATIONS

1

R12 APPS ARCHITECHTURE

Page 2: APPS R12 LOG FILE LOCATIONS

2

APPS R12 LOG FILE LOCATIONS

Log files are useful in troubleshooting issues in Oracle Applications. Here is the list of Log file location in Oracle Applications for Startup/Shutdown, Cloning, Patching, DB & Apps Listener and various components in Apps R12/12i:

A. Startup/Shutdown Log files for Application Tier in R12

Instance Top is new TOP added in R12 (to read more click here)

–Startup/Shutdown error message text files like adapcctl.txt, adcmctl.txt… $INST_TOP/apps/$CONTEXT_NAME/logs/appl/admin/log

–Startup/Shutdown error message related to tech stack (10.1.2, 10.1.3 forms/reports/web)$INST_TOP/apps/$CONTEXT_NAME/logs/ora/ (10.1.2 & 10.1.3)$INST_TOP/apps/$CONTEXT_NAME/logs/ora/10.1.3/Apache/error_log[timestamp]$INST_TOP/apps/$CONTEXT_NAME/logs/ora/10.1.3/opmn/ (OC4J~…, oa*, opmn.log)$INST_TOP/apps/$CONTEXT_NAME/logs/ora/10.1.2/network/ (listener log)$INST_TOP/apps/$CONTEXT_NAME/logs/appl/conc/log (CM log files)

B. Log files related to cloning in R12

Preclone log files in source instancei) Database Tier - /$ORACLE_HOME/appsutil/log/$CONTEXT_NAME/(StageDBTier_MMDDHHMM.log)

ii) Application Tier - $INST_TOP/apps/$CONTEXT_NAME/admin/log/ (StageAppsTier_MMDDHHMM.log)

Clone log files in target instance

Database Tier - $ORACLE_HOME/appsutil/log/$CONTEXT_NAME/ApplyDBTier_.logApps Tier - $INST_TOP/apps/$CONTEXT_NAME/admin/log/ApplyAppsTier_.log

If your clone on DB Tier fails while running txkConfigDBOcm.pl (Check metalink note - 415020.1)During clone step on DB Tier it prompts for “Target System base directory for source homes” and during this you have to give like /base_install_dir like ../../r12 and not oracle home like ../../r12/db/tech_st_10.2.0

Page 3: APPS R12 LOG FILE LOCATIONS

3

—–C. Patching related log files in R12

i) Application Tier adpatch log - $APPL_TOP/admin/$SID/log/ ii) Developer (Developer/Forms & Reports 10.1.2) Patch - $ORACLE_HOME/.patch_storage iii) Web Server (Apache) patch - $IAS_ORACLE_HOME/.patch_storageiv) Database Tier opatch log - $ORACLE_HOME/.patch_storage

D. Autoconfig related log files in R12i) Database Tier Autoconfig log :$ORACLE_HOME/appsutil/log/$CONTEXT_NAME/MMDDHHMM/adconfig.log$ORACLE_HOME/appsutil/log/$CONTEXT_NAME/MMDDHHMM/NetServiceHandler.log

ii) Application Tier Autoconfig log - $INST_TOP/apps/$CONTEXT_NAME/admin/log/$MMDDHHMM/adconfig.log

Autoconfig context file location in R12 - $INST_TOP/apps/$CONTEXT_NAME/appl/admin/$CONTEXT_NAME.xml

E. Other log files in R121) Database Tier1.1) Relink Log files :$ORACLE_HOME/appsutil/log/$CONTEXT_NAME /MMDDHHMM/ make_$MMDDHHMM.log

1.2) Alert Log Files :$ORACLE_HOME/admin/$CONTEXT_NAME/bdump/alert_$SID.log

1.3) Network Logs :$ORACLE_HOME/network/admin/$SID.log

1.4) OUI Logs :OUI Inventory Logs :$ORACLE_HOME/admin/oui/$CONTEXT_NAME/oraInventory/logs

2) Application Tier$ORACLE_HOME/j2ee/DevSuite/log$ORACLE_HOME/opmn/logs$ORACLE_HOME/network/logs

Page 4: APPS R12 LOG FILE LOCATIONS

4

Tech Stack Patch 10.1.3 (Web/HTTP Server)$IAS_ORACLE_HOME/j2ee/forms/logs$IAS_ORACLE_HOME/j2ee/oafm/logs$IAS_ORACLE_HOME/j2ee/oacore/logs$IAS_ORACLE_HOME/opmn/logs$IAS_ORACLE_HOME/network/log$INST_TOP/logs/ora/10.1.2$INST_TOP/logs/ora/10.1.3$INST_TOP/logs/appl/conc/log$INST_TOP/logs/appl/admin/log

Database Tier Scripts in R12————————————–For Database tier you need to start database and database listener. Scripts are located in Database_Install_Dir/db/tech_st/10.2.0/appsutil/scripts/$CONTEXT_NAME- For DatabaseUse script addbctl.sh

- For Database ListenerUse script addlnctl.sh

or alternatively you can uselsnrctl startstop listener_name (For Database Listener)sqlplus “/as sysdba”SQL> startup shutdown immediate

Middle/Application Tier Scripts in R12————————————————-

Scripts for Application Tier services in R12 are located in “Install_base/inst/apps/$CONTEXT_NAME/admin/scripts“where CONTEXT_NAME is of format SID_HOSTNAME

i) adstrtal.shMaster script to start all components/services of middle tier or application tier. This script will use Service Control API to start all services which are enabled after checking them in context file (SID_HOSTNAME.xml or CONTEXT_NAME.xml)

Page 5: APPS R12 LOG FILE LOCATIONS

5

ii) adstpall.shMaster script to stop all components/services of middle tier or application tier.

iii) adalnctl.shScript to start / stop apps listener (FNDFS and FNDFS). This listener will file will be in 10.1.2 ORACLE_HOME (i.e. Forms & Reports Home)listener.ora file will be in $INST_TOP/apps/$CONTEXT_NAME/ora/10.1.2/network/admin directory(Mostly similar to one in 11i with only change in ORACLE_HOME i.e. from 8.0.6 to 10.1.2 )

iv) adapcctl.shScript to start/stop Web Server or Oracle HTTP Server. This script uses opmn (Oracle Process Manager and Notification Server) with syntax similar to opmnctl [startstop]proc ohslike opmnctl stopproc ohs .

(In 11i this script directly used to call apachectl executable but now calls opmnctl which in turn calls apachectl. In 11i web server oracle home was 1.0.2.2.2 but in R12 its 10.1.3)

v) adcmctl.shScript to start / stop concurrent manager, Similar to one in 11i. (This script in turn calls startmgr.sh )

vi) adformsctl.shScript to start / stop Forms OC4J from 10.1.3 Oracle_Home. This script will also use opmnctl to start/stop Forms OC4J likeopmnctl stopproc type=oc4j instancename=forms

vii) adformsrvctl.shThis script is used only if you wish to start forms in socket mode. Default forms connect method in R12 is servlet.If started this will start frmsrv executable from 10.1.2 Oracle_Home in Apps R12

viii) adoacorectl.shThis script will start/stop oacore OC4J in 10.1.3 Oracle_Home. This scripts will also use opmnctl (similar to adapcctl & adformsctl) to start oacore instance of OC4J likeopmnctl startproc type=oc4j instancename=oacore

Page 6: APPS R12 LOG FILE LOCATIONS

6

ix) adoafmctl.shThis script will start/stop oafm OC4J in 10.1.3 Oracle_Home. This scripts will also use opmnctl (similar to above) to start oacore instance of OC4J likeopmnctl startproc type=oc4j instancename=oafm

x) adopmnctl.shThis script will start/stop opmn service in 10.1.3 Oracle_Home. opmn will control all services in 10.1.3 Oracle_Home like web server or various oc4j instances. If any services are stopped abnormally opmn will/should start them automatically.

xi) jtffmctl.shThis script will be used to start/stop one to one fulfilment server.

xii) mwactl.shTo start / stop mwa telnet server where mwa is mobile application.