You are on page 1of 3

11/28/13 Document Display

ORA-03113, ORA-03114, ORA-01041 While Running "adadmin", "adpatch" or "adutlrcmp.sql"


(Doc ID 1125213.1)
Modified: 10-Jan-2013 Type: HOWTO

In this Document

Goal
Fix
References

APPLIES TO:

Oracle Application Install - Version 11.5.10.2 to 12.1.3 [Release 11.5.10 to 12.1]


Information in this document applies to any platform.
***Checked for relevance on 10-Jan-2013***

GOAL

During adpatch database objects are often compiled. This is done by adpatch calling the SQL script "adutlrcmp.sql".
This can also occur during adadmin > "Compile APPS Schema". The following error is observed in the adpatch,
adadmin and/or adworker log.

sqlplus -s APPS/*****
@/soft/applications/oraclehost_VIS/OA01/apps/apps_st/appl/ad/12.0.0/sql/adutlrcmp.sql
APPLSYS ***** APPS ***** ***** 32 0 NONE FALSE

Arguments are:

AOL_schema = APPLSYS, AOL_password = *****,


Schema_to_compile = APPS, Schema_to_compile_pw = *****,
SYSTEM_password = *****, Total_workers = 32, Logical_worker_num = 0
Object_type_to_not_compile = NONE
Use_stored_dependencies = FALSE

Connected.
Running utl_recomp.recomp_parallel(32), if it exists

OWNER NUM_INVALID
------------------------------ -----------
SYS 1
ORDSYS 2
APPS 1057

Elapsed: 00:00:00.24
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.03

STATUS_MESSAGE
------------------------------------------------------------------------------
Running UTL_RECOMP.RECOMP_PARALLEL...

declare
*
ERROR at line 1:
ORA-03113: end-of-file on communication channel
https://support.oracle.com/epmos/faces/SearchDocDisplay?_adf.ctrl-state=l4oi68rza_9 1/3
11/28/13 Document Display

ERROR:
ORA-03114: not connected to ORACLE

FIX

These particular "ORA-" errors (ORA-03113, ORA-03114, ORA-01041) have many possible causes.

1) The first recommended action to take when investigating these errors is to check the RDBMS alert_<SID>.log. This
log will help to identify if the problem is with the RDBMS or with something else, such as the application code. Open the
alert<SID>.log, possible locations of that log file are:

R12 on 11g database: <RDBMS ORACLE_HOME>/admin/<SID_HOST>/diag/rdbms/prod/<SID>/trace/alert_<SID>.log

11i on 9i database: <RDBMS ORACLE_HOME>/admin/FIV10_xion/bdump/alert_FIV10.log

If more errors are discovered in the alert log, please initiate a new search on My Oracle Support for the specific cause
of those errors.

2) The AD Utilities script "adutlrcmp.sql" is really a wrapper which calls an RDBMS script "utlrp.sql". In order to
diagnose the problem further, it is suggested to run the "utlrp.sql" manually as "SYS". This can quickly help to diagnose
if the problem is at RDBMS level due to "utlrp.sql" or at the E-Businesse Suite level due to "adadmin" , "adpatch" or
"adutlrcmp.sql".

"utlrp.sql" is located under <RDBMS ORACLE_HOME>/rdbms/admin/utlrp.sql. DO NOT run "utlirp.sql" as this script
will invalidate all objects in the database.

3) One of the cause of these is that the variable "Total_workers" has been set to a high value. It is commonly believed
that more workers is better, but sometimes this causes problems.

Total_workers = 32, Logical_worker_num = 0


Object_type_to_not_compile = NONE
Use_stored_dependencies = FALSE

Connected.
Running utl_recomp.recomp_parallel(32), if it exists

If the server is not a "32 x CPU machine", there is likely not enough resources (SGA, CPU, MEMORY, etc.) for 32 slave
processes to execute the 32 jobs in parallel (Total_workers = 32 Running utl_recomp.recomp_parallel(32))
and this causes the compilation to fail with ORA-03113 or ORA-03114.

To resolve the cause of this issue, reduce The "Total_workers" to something much smaller, such as "8". Retry adpatch
or adadmin with fewer workers to test if this resolves the issue.

If the issue still exists at this time, more suggestions are offered here:

Note 756063.1 Title: How to Troubleshoot "adpatch" Performance Issues: Slow, Hanging or Crashes

Other helpful notes in diagnosing and troubleshooting these "ORA-" errors are referenced below.

REFERENCES

NOTE:19790.1 - OERR: ORA 3113 "end-of-file on communication channel"

https://support.oracle.com/epmos/faces/SearchDocDisplay?_adf.ctrl-state=l4oi68rza_9 2/3
11/28/13 Document Display

NOTE:429252.1 - Forms With Dblink Fails With ORA-01041 ORA-03113


NOTE:750404.1 - Adpatch Failed With ORA-03113 And ORA-01041 While Applying Patch 3582074 Or Any Big One
NOTE:756063.1 - How to Troubleshoot "adpatch" Performance Issues: Slow, Hanging or Crashes
NOTE:476486.1 - What should be done if Remote Server 7.x and 8.x Tasks or Components Fails with ORA-03113: end-
of-file on communication channel?

https://support.oracle.com/epmos/faces/SearchDocDisplay?_adf.ctrl-state=l4oi68rza_9 3/3

You might also like