# Oracle EBS 12.2 File System, Log File Locations and Control Scripts

> Source: https://netray.co/tools/oracle-ebs-12-2-file-system-log-locations-scripts-reference
> Publisher: Netray (netray.co), AI and integration engineering for ERP and manufacturing systems.
> Section: Free Tools

## Short answer

Where things live in an EBS 12.2 install: environment variables, every log you need to find and the start/stop scripts, with 12.1 equivalents.

## Category

oracle

## Erp

Oracle E-Business Suite

## Audience

- Apps DBA
- ERP administrator
- Oracle EBS developer

## Tool

**Kind:** worksheet

**Mode:** reference

**Columns:**

#### Item

**Key:** item

**Type:** text

#### Group

**Key:** grp

**Type:** select

**Options:**

- Environment variable
- Log location
- Control script

#### Value or path pattern

**Key:** value

**Type:** text

#### What it is for

**Key:** purpose

**Type:** text

#### 12.1 equivalent

**Key:** r121

**Type:** text

**Rows:**

**Item:** EBSapps.env

**Grp:** Environment variable

**Value:** . <EBS_BASE>/EBSapps.env run (or patch)

**Purpose:** Sets the environment for the run or the patch file system

**R121:** APPS<CONTEXT_NAME>.env under the APPL_TOP

**Item:** RUN_BASE

**Grp:** Environment variable

**Value:** <EBS_BASE>/fs1 or fs2, whichever is currently run

**Purpose:** Root of the run file system; switches at each cutover

**R121:** None (single file system)

**Item:** PATCH_BASE

**Grp:** Environment variable

**Value:** <EBS_BASE>/fs2 or fs1, the other one

**Purpose:** Root of the patch file system that adop patches

**R121:** None

**Item:** NE_BASE

**Grp:** Environment variable

**Value:** <EBS_BASE>/fs_ne

**Purpose:** Non-editioned file system shared by both editions: concurrent logs and output, adop logs

**R121:** None

**Item:** FILE_EDITION

**Grp:** Environment variable

**Value:** run or patch

**Purpose:** Tells you which file system the current shell is set for; check before editing any file

**R121:** None

**Item:** APPL_TOP

**Grp:** Environment variable

**Value:** $RUN_BASE/EBSapps/appl

**Purpose:** Product tops ($ONT_TOP, $PO_TOP, custom tops)

**R121:** <base>/apps/apps_st/appl

**Item:** COMMON_TOP

**Grp:** Environment variable

**Value:** $RUN_BASE/EBSapps/comn

**Purpose:** Java classes, HTML, shared utilities

**R121:** <base>/apps/apps_st/comn

**Item:** ORACLE_HOME (apps tier)

**Grp:** Environment variable

**Value:** $RUN_BASE/EBSapps/10.1.2

**Purpose:** Forms and Reports 10.1.2 tools home

**R121:** <base>/apps/tech_st/10.1.2

**Item:** FMW_HOME

**Grp:** Environment variable

**Value:** $RUN_BASE/FMW_Home

**Purpose:** Fusion Middleware home: WebLogic Server, web tier, oracle_common

**R121:** None; 12.1 used OC4J in the 10.1.3 home

**Item:** IAS_ORACLE_HOME

**Grp:** Environment variable

**Value:** $FMW_HOME/webtier

**Purpose:** Oracle HTTP Server and OPMN web tier home

**R121:** <base>/apps/tech_st/10.1.3

**Item:** EBS_DOMAIN_HOME

**Grp:** Environment variable

**Value:** $FMW_HOME/user_projects/domains/<EBS domain name>

**Purpose:** WebLogic domain: AdminServer, oacore, forms, oafm managed servers

**R121:** None

**Item:** INST_TOP

**Grp:** Environment variable

**Value:** $RUN_BASE/inst/apps/<CONTEXT_NAME>

**Purpose:** Instance-specific configuration, scripts and logs

**R121:** <base>/inst/apps/<CONTEXT_NAME>

**Item:** ADMIN_SCRIPTS_HOME

**Grp:** Environment variable

**Value:** $INST_TOP/admin/scripts

**Purpose:** Apps tier start/stop and AutoConfig scripts

**R121:** Same, $INST_TOP/admin/scripts

**Item:** CONTEXT_FILE

**Grp:** Environment variable

**Value:** $INST_TOP/appl/admin/<CONTEXT_NAME>.xml

**Purpose:** Applications context file; AutoConfig regenerates configuration from it

**R121:** Same location under 12.1 INST_TOP

**Item:** APPLCSF

**Grp:** Environment variable

**Value:** Typically $NE_BASE/inst/<CONTEXT_NAME>/logs/appl/conc

**Purpose:** Top for concurrent request log and output files; on fs_ne so logs survive cutover

**R121:** $INST_TOP/logs/appl/conc

**Item:** APPLLOG / APPLOUT

**Grp:** Environment variable

**Value:** log / out (subdirectories under $APPLCSF)

**Purpose:** Concurrent log and output subdirectory names

**R121:** Same

**Item:** APPLTMP / APPLPTMP

**Grp:** Environment variable

**Value:** Instance temp directory / a directory the database can write to

**Purpose:** Temporary files for programs; APPLPTMP must match a directory usable by PL/SQL file I/O on the DB server

**R121:** Same variables

**Item:** Concurrent request log

**Grp:** Log location

**Value:** $APPLCSF/$APPLLOG/l<request_id>.req

**Purpose:** Log of one concurrent request

**R121:** Same pattern under 12.1 APPLCSF

**Item:** Concurrent request output

**Grp:** Log location

**Value:** $APPLCSF/$APPLOUT/o<request_id>.out (default naming)

**Purpose:** Output of one concurrent request

**R121:** Same

**Item:** Internal Concurrent Manager log

**Grp:** Log location

**Value:** $APPLCSF/$APPLLOG/<SID>_MMDD.mgr

**Purpose:** ICM log; first place to look when managers will not start

**R121:** Same

**Item:** Workflow mailer log

**Grp:** Log location

**Value:** $APPLCSF/$APPLLOG/FNDCPGSC<process_id>.txt

**Purpose:** Log of the Workflow Mailer and agent listener service process

**R121:** Same

**Item:** adop logs

**Grp:** Log location

**Value:** $NE_BASE/EBSapps/log/adop/<session_id>/

**Purpose:** Logs for every adop phase, per session and node

**R121:** None; adpatch logs in $APPL_TOP/admin/<SID>/log

**Item:** AutoConfig logs

**Grp:** Log location

**Value:** $INST_TOP/admin/log/<MMDDhhmm>/

**Purpose:** adconfig.log and related files for each AutoConfig run

**R121:** Same pattern

**Item:** WebLogic managed server logs

**Grp:** Log location

**Value:** $EBS_DOMAIN_HOME/servers/<oacore_server1 | forms_server1 | oafm_server1 | AdminServer>/logs/

**Purpose:** <server>.log and <server>.out; oacore logs for OA Framework page errors

**R121:** OC4J logs under $INST_TOP/logs/ora/10.1.3/j2ee

**Item:** Oracle HTTP Server logs

**Grp:** Log location

**Value:** $IAS_ORACLE_HOME/instances/<instance>/diagnostics/logs/OHS/<component>/

**Purpose:** Access and error logs for the web listener

**R121:** $INST_TOP/logs/ora/10.1.3/Apache

**Item:** Startup script logs

**Grp:** Log location

**Value:** $INST_TOP/logs/appl/admin/log/

**Purpose:** Logs written by adstrtal.sh, adstpall.sh and the individual control scripts

**R121:** Same

**Item:** adstrtal.sh

**Grp:** Control script

**Value:** $ADMIN_SCRIPTS_HOME/adstrtal.sh apps/<apps_pwd>

**Purpose:** Start all apps tier services; in 12.2 also prompts for the WebLogic admin password

**R121:** Same script, no WebLogic password

**Item:** adstpall.sh

**Grp:** Control script

**Value:** $ADMIN_SCRIPTS_HOME/adstpall.sh apps/<apps_pwd>

**Purpose:** Stop all apps tier services

**R121:** Same

**Item:** adadminsrvctl.sh

**Grp:** Control script

**Value:** $ADMIN_SCRIPTS_HOME/adadminsrvctl.sh start | stop | status

**Purpose:** Start or stop the WebLogic AdminServer

**R121:** None

**Item:** adnodemgrctl.sh

**Grp:** Control script

**Value:** $ADMIN_SCRIPTS_HOME/adnodemgrctl.sh start | stop | status

**Purpose:** Start or stop the WebLogic Node Manager

**R121:** None

**Item:** admanagedsrvctl.sh

**Grp:** Control script

**Value:** $ADMIN_SCRIPTS_HOME/admanagedsrvctl.sh start oacore_server1

**Purpose:** Start or stop one managed server (oacore_server1, forms_server1, oafm_server1 and others)

**R121:** adoacorectl.sh, adformsctl.sh, adoafmctl.sh

**Item:** adopmnctl.sh

**Grp:** Control script

**Value:** $ADMIN_SCRIPTS_HOME/adopmnctl.sh start | stop | status

**Purpose:** Start or stop OPMN for the web tier

**R121:** Same script name

**Item:** adapcctl.sh

**Grp:** Control script

**Value:** $ADMIN_SCRIPTS_HOME/adapcctl.sh start | stop | status

**Purpose:** Start or stop Oracle HTTP Server

**R121:** Same

**Item:** adcmctl.sh

**Grp:** Control script

**Value:** $ADMIN_SCRIPTS_HOME/adcmctl.sh start | stop apps/<apps_pwd>

**Purpose:** Start or stop the concurrent managers (ICM)

**R121:** Same

**Item:** adalnctl.sh

**Grp:** Control script

**Value:** $ADMIN_SCRIPTS_HOME/adalnctl.sh start | stop

**Purpose:** Applications TNS listener (APPS_<SID>) used for FNDFS report and log viewing

**R121:** Same

**Item:** jtffmctl.sh

**Grp:** Control script

**Value:** $ADMIN_SCRIPTS_HOME/jtffmctl.sh start | stop

**Purpose:** Fulfillment Server

**R121:** Same

**Item:** adautocfg.sh (apps tier)

**Grp:** Control script

**Value:** $ADMIN_SCRIPTS_HOME/adautocfg.sh

**Purpose:** Run AutoConfig on the run file system apps tier

**R121:** Same

**Item:** addbctl.sh

**Grp:** Control script

**Value:** $ORACLE_HOME/appsutil/scripts/<CONTEXT_NAME>/addbctl.sh start | stop [immediate]

**Purpose:** Start or stop the database on the DB tier

**R121:** Same

**Item:** addlnctl.sh

**Grp:** Control script

**Value:** $ORACLE_HOME/appsutil/scripts/<CONTEXT_NAME>/addlnctl.sh start | stop <SID>

**Purpose:** Start or stop the database TNS listener

**R121:** Same

**Item:** adautocfg.sh (DB tier)

**Grp:** Control script

**Value:** $ORACLE_HOME/appsutil/scripts/<CONTEXT_NAME>/adautocfg.sh

**Purpose:** Run AutoConfig on the database tier

**R121:** Same

**Item:** adpreclone.pl

**Grp:** Control script

**Value:** DB tier: perl adpreclone.pl dbTier (in the DB scripts directory); apps tier: perl adpreclone.pl appsTier (in $ADMIN_SCRIPTS_HOME)

**Purpose:** Prepare a tier for Rapid Clone

**R121:** Same commands

**Notes:** Scope: EBS 12.2 on Linux/UNIX with 12.1 equivalents. Exact base paths are chosen at install time and some names (for example the WebLogic domain directory and OHS instance names) differ by AD-TXK code level; echo the variable on your own system to confirm.

## Content

**Intro:** A lookup of where things live in an Oracle EBS 12.2 installation: the environment variables, the log files admins search for every week and the control scripts that start and stop each tier. Each row shows the 12.1 equivalent for teams that support both.

**Sections:**

#### Run versus patch file system

**Body:** EBS 12.2 has two complete copies of the apps tier code, fs1 and fs2, plus a non-editioned fs_ne. At any time one copy is the run file system (users connect to it) and the other is the patch file system (adop applies patches to it). Cutover swaps them, so RUN_BASE can be fs1 today and fs2 tomorrow. Always source the environment with EBSapps.env run for normal administration and check $FILE_EDITION before editing anything. Files that must survive a cutover, such as concurrent request logs and output and adop logs, live on fs_ne under $NE_BASE. Customisations copied only to the run file system are lost at the next cutover unless they are registered with adop's custom synchronisation driver, which is the most common surprise for teams new to 12.2.

#### Finding a request's log by SQL

**Body:** The concurrent manager records the exact path of each file, so you do not need to guess: SELECT request_id, phase_code, status_code, logfile_name, logfile_node_name, outfile_name, outfile_node_name FROM fnd_concurrent_requests WHERE request_id = 1234567. LOGFILE_NAME and OUTFILE_NAME are full paths, and the node columns tell you which apps node to log on to in a multi-node install. For a manager rather than a request, query FND_CONCURRENT_PROCESSES.LOGFILE_NAME for the manager process, or look for the ICM's <SID>_MMDD.mgr file in $APPLCSF/$APPLLOG. The workflow mailer runs under the Workflow Mailer Service manager, so its FNDCPGSC log appears in the same directory.

**Bullets:**

- Request log: l<request_id>.req
- Request output: o<request_id>.out
- Manager log: FND_CONCURRENT_PROCESSES.LOGFILE_NAME

#### Start and stop order

**Body:** Start the database tier first, then the apps tier; stop in reverse. On the DB node: addlnctl.sh start <SID> for the listener, then addbctl.sh start for the database. On each apps node: source EBSapps.env run and run adstrtal.sh, which in 12.2 starts Node Manager, the AdminServer (on the primary node), OPMN and OHS, the managed servers, the Applications listener and the concurrent managers, prompting for the APPS and WebLogic admin passwords. To stop, run adstpall.sh on every apps node, then addbctl.sh stop immediate and addlnctl.sh stop <SID> on the DB node. Use the individual scripts (admanagedsrvctl.sh, adcmctl.sh) only when you need to bounce one service, and check $INST_TOP/logs/appl/admin/log when a service does not come up.

#### Gotchas

**Body:** Do not run AutoConfig on the patch file system outside an adop cycle, and do not edit context-driven configuration files by hand on either file system; change the context file through the supported tools and let AutoConfig regenerate. In a multi-node install the AdminServer runs only on the primary node, so adadminsrvctl.sh on other nodes does nothing useful. The WebLogic domain directory and OHS instance names have changed with AD-TXK code levels, so echo $EBS_DOMAIN_HOME rather than typing a path from an old note. Keep fs_ne clean: concurrent output and adop session logs accumulate there and a full fs_ne stops both concurrent processing and patching. Purge old requests with Purge Concurrent Request and/or Manager Data (FNDCPPUR).

**Cta:** If you want your DBAs to ask in plain English which requests failed overnight and see the matching log lines, we can set up a private assistant on your own EBS servers.

**Faq:**

#### What is the file system layout in Oracle EBS 12.2?

**Answer:** Under the EBS base there are fs1 and fs2, two editions of the apps tier code (one run, one patch), and fs_ne for non-editioned files. Each of fs1 and fs2 contains EBSapps (APPL_TOP, COMMON_TOP, 10.1.2 home), FMW_Home (WebLogic and web tier) and inst (INST_TOP). The database tier has its own Oracle Home with appsutil.

#### Where is the concurrent request log file in EBS 12.2?

**Answer:** In $APPLCSF/$APPLLOG, named l<request_id>.req, with output in $APPLCSF/$APPLOUT as o<request_id>.out. In 12.2 APPLCSF normally points to the non-editioned file system so logs survive cutover. The definitive path is FND_CONCURRENT_REQUESTS.LOGFILE_NAME for that request, with LOGFILE_NODE_NAME telling you which node holds it.

#### Where is the workflow mailer log?

**Answer:** The Workflow Notification Mailer runs inside the Workflow Mailer Service (a service manager), and its log is FNDCPGSC<process_id>.txt in $APPLCSF/$APPLLOG. Find the current one with ls -lrt FNDCPGSC*.txt or from the service's process in FND_CONCURRENT_PROCESSES. Raise the mailer's log level in Workflow Manager when diagnosing delivery problems, and reset it afterwards.

#### How do I start the listener and database in EBS 12.2?

**Answer:** On the database node, as the database OS user, run $ORACLE_HOME/appsutil/scripts/<CONTEXT_NAME>/addlnctl.sh start <SID> for the TNS listener and addbctl.sh start for the database. Then start the apps tier with adstrtal.sh. The apps tier Applications listener (adalnctl.sh) is a separate listener for FNDFS and starts with adstrtal.sh.

## Search terms

file system in oracle ebs, oracle ebs 12.2 log file location, oracle ebs workflow mailer log location, oracle ebs 12.2.12 start listener, oracle ebs 12.2 start database, oracle ebs 12.2 architecture, adstrtal.sh 12.2, oracle ebs concurrent request log location

---
Talk to an engineer: https://netray.co/contact?intent=erp_ai | Machine catalog: https://netray.co/agent/catalog.json
