UTL_RECOMP.RECOMP_PARALLEL
HI,
PROD
EBS R12
AIX 5.2
db 10.2.0.2
During applying patch there is running UTL_RECOMP.RECOMP_PARALLEL compile script since one hours when i check total invalid objects it stucked on 143 since one hours. Please advice
Thanks
Can you find any errors i the database log file?
Any locks in the database?
Please see these docs.
BEGIN utl_recomp.recomp_serial or BEGIN utl_recomp.recomp_parallel are stuck [ID 804294.1]
Compiling Invalid Objects Using Adadmin Hangs Or Fails With ORA-07445 [ID 1277719.1]
ORA-03113, ORA-03114, ORA-01041 While Running "adadmin", "adpatch" or "adutlrcmp.sql" [ID 1125213.1]
Thanks,
Hussein
Similar Messages
-
Error utl_recomp.recomp_parallel();
how to do the following?
begin
utl_recomp.recomp_parallel();
end;
Error starting at line 1 in command:
begin
utl_recomp.recomp_parallel();
end;
Error report:
ORA-06550: line 2, column 4:
PLS-00201: identifier 'UTL_RECOMP.RECOMP_PARALLEL' must be declared
ORA-06550: line 2, column 4:
PL/SQL: Statement ignored
06550. 00000 - "line %s, column %s:\n%s"
*Cause: Usually a PL/SQL compilation error.
*Action:
I've got it from http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/general007.htmDo you have the proper privileges to execute that package?
http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/u_recomp.htm#BABJCDDJ
Edited by: hoek on Nov 3, 2010 4:03 PM -
Utl_recomp.recomp_parallel issue
Hi,
I tried to run below several times and it's coming out of session?
SQL> execute utl_recomp.recomp_parallel(8);
BEGIN utl_recomp.recomp_parallel(8); END;
ERROR at line 1:
ORA-03113: end-of-file on communication channel
Any idea?
Regards
HWhen you run something in parallel you spawn/use background processes.
These background processes report errors to the alert log or a trace file.
Check your background_dump_dest for recent activity on a trace/log file.
Post any error stacks that you need help interpreting. -
Error while upgrading from 11i to R12 and while applying patch u4440000.drv
Error :
There are now 55242 jobs remaining (current phase=A78):
0 running, 1 ready to run and 55241 waiting.
Assigned: file adobjcmp.sql on worker 1 for product ad username APPLSYS.
FAILED: file adobjcmp.sql on worker 1 for product ad username APPLSYS.
Deferred: file adobjcmp.sql on worker 1 for product ad username APPLSYS. (Deferment number 1 for this job)
Assigned: file adobjcmp.sql on worker 1 for product ad username APPLSYS.
FAILED: file adobjcmp.sql on worker 1 for product ad username APPLSYS.
ATTENTION: All workers either have failed or are waiting:
FAILED: file adobjcmp.sql on worker 1.
In worker log file
STATUS_MESSAGE
Running UTL_RECOMP.RECOMP_PARALLEL...
declare
ERROR at line 1:
ORA-03113: end-of-file on communication channel
ERROR:
ORA-03114: not connected to ORACLE
SP2-0359: memory exhausted
Time when worker failed: Mon Oct 21 2013 09:07:10
And in the Alert log file
Errors in file /u01/ora/visdb/10.2.0/admin/VIS_linux105/udump/vis_ora_28457.trc:
ORA-07445: exception encountered: core dump [qcpiqbk()+1113] [SIGSEGV] [Address not mapped to object] [0x4] [] []
But the database is in open stage only.
SQL> select status from v$instance;
STATUS
OPEN
And when i compile invalids manaully. it is saying that
ERROR:
ORA-03114: not connected to ORACLEHi,
Running UTL_RECOMP.RECOMP_PARALLEL...
declare
ERROR at line 1:
ORA-03113: end-of-file on communication channel
Please refer:
"ORA-3113: end-of-file on communication channel" Error When Compiling invalid Objects Using Adadmin (Doc ID 1277719.1)
ORA-03113, ORA-03114, ORA-01041 While Running "adadmin", "adpatch" or "adutlrcmp.sql" (Doc ID 1125213.1)
As Hussein suggest, please log an SR for such internal errors, and the lookup note pointed out by Hussein should probably give a note with solutions.
Thanks &
Best Regards, -
Autopatch - Error running adutlrcmp.pls in adprdcAdUtilrcmp()
Hi,
We have recently migrated our EBS 10g database from 32 bit RHEL4 server to 64 bit OEL5 server.
All the apps servers are runing on 32 bit RHEL 4 server.
After migrating all apps services are working fine.
Now i am trying to upgrade the database to 11g.
As part of that, applied 11g Release 2 interoperability patch for 11.5.10 (8815204).
The patch log file shoing the below error while compiling invalid objects.
===============================================
Running utl_recomp.recomp_parallel(8), if it exists
OWNER NUM_INVALID
PORTAL30_SSO 1
PUBLIC 26
CTXSYS 5
OLAPSYS 28
GRCMP 1
APPS 408
PORTAL30 30
7 rows selected.
Elapsed: 00:00:00.23
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.01
STATUS_MESSAGE
Running UTL_RECOMP.RECOMP_PARALLEL...
declare
ERROR at line 1:
ORA-03113: end-of-file on communication channel
memory exhausted
ORA-24323: value not allowed
Error accessing package DBMS_APPLICATION_INFO
ERROR:
ORA-03114: not connected to ORACLE
memory exhausted
memory exhausted
AutoPatch error:
Error running adutlrcmp.pls in adprdcAdUtilrcmp()
An error occurred while compiling invalids using the SYS.UTL_RECOMP() package.
Ignoring the failure and continuing...
==========================================================
What is the reason for this? Is it due to 32 bit and 64 bit diff?
How can i solve this issue?
Thanks,While running adutlrp.sql below error occured
===================================
DOC> 1. Query showing jobs created by UTL_RECOMP
DOC> SELECT job_name FROM dba_scheduler_jobs
DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>
DOC> 2. Query showing UTL_RECOMP jobs that are running
DOC> SELECT job_name FROM dba_scheduler_running_jobs
DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>#
DECLARE
ERROR at line 1:
ORA-03113: end-of-file on communication channel
ERROR:
ORA-03114: not connected to ORACLE
DOC> The following query reports the number of objects that have compiled
DOC> with errors (objects that compile with errors have status set to 3 in
DOC> obj$). If the number is higher than expected, please examine the error
DOC> messages reported with each object (using SHOW ERRORS) to see if they
DOC> point to system misconfiguration or resource constraints that must be
DOC> fixed before attempting to recompile these objects.
DOC>#
ERROR:
ORA-03114: not connected to ORACLE
DOC> The following query reports the number of errors caught during
DOC> recompilation. If this number is non-zero, please query the error
DOC> messages in the table UTL_RECOMP_ERRORS to see if any of these errors
DOC> are due to misconfiguration or resource constraints that must be
DOC> fixed before objects can compile successfully.
DOC>#
ERROR:
ORA-03114: not connected to ORACLE
====================================================
SQL> select * from UTL_RECOMP_ERRORS
2 ;
OBJ#
ERROR_AT
COMPILE_ERR
158557
25-SEP-11 06.22.23.008812 AM
ORA-04045: errors during recompilation/revalidation of PORTAL30.WWSSO_PSTORE_EX
ORA-00980: synonym translation is no longer valid
158558
25-SEP-11 06.22.23.011485 AM
OBJ#
ERROR_AT
COMPILE_ERR
ORA-04045: errors during recompilation/revalidation of PORTAL30.WWSSO_API
ORA-00980: synonym translation is no longer valid
158559
25-SEP-11 06.22.23.013549 AM
ORA-04045: errors during recompilation/revalidation of PORTAL30.WWSSO_API_PRIVAT
E
OBJ#
ERROR_AT
COMPILE_ERR
ORA-00980: synonym translation is no longer valid
1608837
25-SEP-11 06.23.17.180561 AM
ORA-04045: errors during recompilation/revalidation of GRCMP.HFM_TMP_ORGANIZATIO
N_D
ORA-00980: synonym translation is no longer valid
OBJ#
ERROR_AT
COMPILE_ERR
SQL>
===================================================================
why ORA-03113: end-of-file on communication channel error occured? Please advise.
All PORTAL objects are invalid after migrating to 64 bit.
Thanks, -
PMON failed to acquire latch, see PMON dump
Hi,
Database alert log show the following errors.
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
PMON failed to acquire latch, see PMON dump
During this time we excuting query,
'exec sys.utl_recomp.recomp_parallel(8)' two session,
One session hanged , another session running background,
Kindly guide to us to find this issue
Thanks and Regards
Perumal Swamy.RHi I have the same problem on a windows 2003 server, and in my alert log file there is that message :
Wed Aug 10 11:20:40 2005
kwqiclode: Error 1403 happened during loading of queue
ORA-1403 encountered when generating server alert SMG-3503
kwqiclode: Error 1403 happened during loading of queue
Wed Aug 10 11:21:43 2005
kwqiclode: Error 1403 happened during loading of queue
kwqiclode: Error 1403 happened during loading of queue
Wed Aug 10 11:22:46 2005
kwqiclode: Error 1403 happened during loading of queue
kwqiclode: Error 1403 happened during loading of queue
Wed Aug 10 11:23:49 2005
kwqiclode: Error 1403 happened during loading of queue
kwqiclode: Error 1403 happened during loading of queue
Wed Aug 10 11:24:49 2005
kwqiclode: Error 1403 happened during loading of queue
kwqiclode: Error 1403 happened during loading of queue
Wed Aug 10 11:25:52 2005
kwqiclode: Error 1403 happened during loading of queue
kwqiclode: Error 1403 happened during loading of queue
Wed Aug 10 11:26:55 2005
kwqiclode: Error 1403 happened during loading of queue
kwqiclode: Error 1403 happened during loading of queue
kwqiclode: Error 1403 happened during loading of queue
Wed Aug 10 11:27:55 2005
kwqiclode: Error 1403 happened during loading of queue
kwqiclode: Error 1403 happened during loading of queue
Wed Aug 10 11:28:58 2005
kwqiclode: Error 1403 happened during loading of queue
kwqiclode: Error 1403 happened during loading of queue
Wed Aug 10 11:29:40 2005
kwqiclode: Error 1403 happened during loading of queue
Wed Aug 10 11:30:01 2005
kwqiclode: Error 1403 happened during loading of queue
kwqiclode: Error 1403 happened during loading of queue
Wed Aug 10 11:31:04 2005
kwqiclode: Error 1403 happened during loading of queue
ORA-1403 encountered when generating server alert SMG-3503
kwqiclode: Error 1403 happened during loading of queue
Wed Aug 10 11:32:07 2005
kwqiclode: Error 1403 happened during loading of queue
kwqiclode: Error 1403 happened during loading of queue
Wed Aug 10 11:33:10 2005
kwqiclode: Error 1403 happened during loading of queue
kwqiclode: Error 1403 happened during loading of queue
and in my pmon trace file d:\syges\bdump\syges_pmon_240.trc there is the above message :
*** 2005-08-09 19:27:50.312
PMON unable to acquire latch 2f0b508 process allocation
possible holder pid = 17 ospid=2216
*** 2005-08-09 19:27:50.343
PMON unable to acquire latch 2f0b508 process allocation
possible holder pid = 17 ospid=2216
*** 2005-08-09 19:27:50.359
PMON unable to acquire latch 2f0b508 process allocation
possible holder pid = 17 ospid=2216
*** 2005-08-09 19:27:50.375
PMON unable to acquire latch 2f0b508 process allocation
possible holder pid = 17 ospid=2216
*** 2005-08-09 19:27:50.390
PMON unable to acquire latch 2f0b508 process allocation
possible holder pid = 17 ospid=2216
*** 2005-08-09 19:27:50.406
PMON unable to acquire latch 2f0b508 process allocation
possible holder pid = 17 ospid=2216
*** 2005-08-09 19:27:50.421
PMON unable to acquire latch 2f0b508 process allocation
possible holder pid = 17 ospid=2216
*** 2005-08-09 19:27:50.437
PMON unable to acquire latch 2f0b508 process allocation
*** 2005-08-09 19:27:50.453
version on my database :
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Prod
PL/SQL Release 10.1.0.4.0 - Production
CORE 10.1.0.4.0 Production
TNS for 32-bit Windows: Version 10.1.0.4.0 - Production
NLSRTL Version 10.1.0.4.0 - Production -
Upgrading from R12.1.1 to R12.1.2
Hi,
I have the following configuration:
Oracle Enterprise Linux:5.3
EBS Version:R12.1.1
Database version:11.1.0.7
OracleAS 10g Forms and Reports:10.1.2.3.0
OracleAS 10g: 10.1.3.4.0
Please explain is it recommended to upgrade all Tech stack Components before upgrading from R12.1.1 to R12.1.2
I am upgrading from R12.1.1 to R12.1.2 without upgrading any tech stack components, as it requires minimum versions and R12.1.1 tech stack components are supporting those versions
Can i go ahead on production after applying it on test
will it create any problem, if i could upgrade tech stack components later, will it be a problem for me
Please explain...
Thanks,
Alig
Edited by: user12257829 on Aug 17, 2010 12:30 AMHi
Hussein
While Upgrading from R12.1.1 to R12.1.2 faced many errors(Applied 8502056 patch) and then applied 7303033
first adrelink failed.
1. An error occurred while relinking application programs.
Continue as if it were successful [No] : Yes
but i entered Yes to continue as my OS is OEL 5.3 binutil version is binutils-2.17.50.0.6-9.el5
as my system binutil is updated one but in the note at MOS 758831.1, binutils-2.17.50.0.6-6.0.1.el5.x86_64.rpm, this doesnt apply to my system as my binutil is updated one.
2. The following Oracle Forms objects did not generate successfully:
au resource OKLCSASD.pll
An error occurred while generating Oracle Forms library files.
Continue as if it were successful [No] : Yes
as i entered yes to continue with the patch and tried to compile OKLCSASD.pll thru adadmin and manully aslo but didnt succeed.
The patch is completed atlast, and a huge number of invalid objects where created ..
I tried to recompile thru admin,utlrp,adcompsc.sql & utl_recomp.recomp_parallel but unable to compile a single objects
How could i make sure that patch is applied successfully & recompileinvalid object
find below invalid objects
BIS_MEASURE_SECURITY_PVT
BIS_INDICATOR_REGION_PVT
BIS_TARGET_LEVEL_PVT
BIS_ACTUAL_PUB
ENG_ECO_PUB
BIS_PMF_REG_SERVICE_PVT
ENGECOBO
AS_SALES_LEAD_OPP_PVT
BISVIEWER_PMF
BIS_PMF_DEFINER_WRAPPER_PVT
IES_TELESALES_BP_PKG
OKL_REVERSE_CONTRACT_PVT
OKL_CONTRACT_PVT
OKL_AM_PARTIES_PVT_W
OKL_AM_CREATE_QUOTE_PVT_W
OKL_AM_REPURCHASE_ASSET_PVT_W
OKL_AM_RESTRUCTURE_QUOTE_PVT_W
OKL_AM_SEND_FULFILLMENT_PVT_W
OKL_SPLIT_ASSET_PVT_W
OKL_TRX_QUOTES_PUB
OKL_CONTRACT_REBOOK_PUB
OKL_AM_TERMNT_QUOTE_PUB
OKL_TXL_QUOTE_LINES_PUB
OKL_TRANSACTION_PUB
OKL_ACTIVATE_ASSET_PVT
OKL_GENERATE_ACCRUALS_PVT
OKL_ASSET_DETAILS_PVT
OKL_AM_ASSET_DISPOSE_PVT
OKL_ACTIVATE_IB_PVT
OKL_AM_PROCESS_ASSET_TRX_PVT
OKL_AM_QA_DATA_INTEGRITY_PVT
OKL_AM_PARTIES_PVT
OKL_AM_ASSET_RELOCATION_PVT
OKL_AM_UTIL_PVT
OKL_AM_ASSET_RETURN_PVT
OKL_BLK_AST_UPD_PVT
OKL_CONTRACT_BOOK_PVT
OKL_KBK_APPROVALS_WF
OKL_COPY_ASSET_PVT
OKL_AM_CONSOLIDATED_QTE_PVT
OKL_AM_CREATE_QUOTE_PVT
OKL_AM_CALCULATE_QUOTE_PVT
OKL_CS_CREATE_QUOTE_PVT
OKL_CS_WF
OKL_CURE_CALC_PVT
OKL_EQUIPMENT_EXCHANGE_PVT
OKL_FUNDING_WF
OKL_INTEREST_CALC_PVT
OKL_LA_JE_PVT
OKL_CREATE_KLE_PVT
OKL_LCKBX_CSH_APP_PVT
OKL_LIKE_KIND_EXCHANGE_PVT
OKL_AM_BTCH_EXP_LEASE_LOAN_PVT
OKL_AM_LEASE_LOAN_TRMNT_PVT
OKL_AM_LOAN_TRMNT_PVT
OKL_LOSS_PROV_PVT
OKL_AM_LEASE_TRMNT_PVT
OKL_MASS_REBOOK_PVT
OKL_MISC_TRANS_PVT
OKL_QA_DATA_INTEGRITY
OKL_AM_QUOTES_WF
OKL_CONTRACT_REBOOK_PVT
OKL_CURE_RECON_PVT
OKL_RELEASE_PVT
OKL_REV_LOSS_PROV_PVT
OKL_AM_REPURCHASE_ASSET_PVT
OKL_AM_RESTRUCTURE_RENTS_PVT
OKL_AM_RESTRUCTURE_QUOTE_PVT
OKL_AM_RECYCLE_TRMNT_PVT
OKL_AM_PROCESS_RV_TRX_PVT
OKL_AM_RV_WRITEDOWN_PVT
OKL_AM_SEND_FULFILLMENT_PVT
OKL_LA_STREAM_PVT
OKL_SPLIT_CONTRACT_PVT
OKL_SPLIT_ASSET_PVT
OKL_AM_SV_WRITEDOWN_PVT
OKL_AM_AMORTIZE_PVT
OKL_TRANS_CONTRACTS_PVT
OKL_AM_TERMNT_QUOTE_PVT
OKL_CS_TRANSFER_ASSUMPTION_PVT
OKL_TRANSACTION_PVT
OKL_VARIABLE_INTEREST_PVT
OKL_GENERATE_ACCRUALS_PUB_W
OKL_VP_K_ARTICLE_PUB_W
OKL_AM_CONSOLIDATED_QTE_PUB_W
OKL_AM_CREATE_QUOTE_PUB_W
OKL_TRX_QUOTES_PUB_W
OKL_CONTRACT_REBOOK_PUB_W
OKL_AM_REPURCHASE_ASSET_PUB_W
OKL_AM_RESTRUCTURE_QUOTE_PUB_W
OKL_AM_SEND_FULFILLMENT_PUB_W
OKL_SPLIT_ASSET_PUB_W
OKL_TRX_ASSETS_PUB_W
OKL_TRX_CONTRACTS_PUB_W
OKL_TRANS_CONTRACTS_PUB_W
OKL_TXL_QUOTE_LINES_PUB_W
OKL_TRANSACTION_PUB_W
AST_UWQ_WRAPPER_PKG
OKL_AM_CNTRCT_LN_TRMNT_PVT
OKL_CS_PRINCIPAL_PAYDOWN_PVT
OKL_SERVICE_INTEGRATION_PVT
OKL_AM_TERMINATE_INV_AGMT_PVT
OKL_AM_TERMNT_INTERFACE_PVT
CSC_ACTION_ASSEMBLER_PVT_W
OKL_AM_SYSTEM_PARAMS_PUB
OKL_VENDOR_AGREEMENT_PUB
OKL_AM_INTEGRATION_PVT
OKL_PERIOD_SWEEP_PVT
OKL_SEC_AGREEMENT_PVT
OKL_VSS_WF
OKL_SSC_WF
OKL_AM_SYSTEM_PARAMS_PUB_W
WSH_IB_TXN_MATCH_PKG
WSH_RCV_CORR_RTV_TXN_PKG
WSH_IB_UI_RECON_GRP
OKL_AM_BAL_WRITEOFF_PVT
OKL_VP_SYNC_CR_PVT
OKL_CREDIT_LINE_WF
OKL_PROP_TAX_ADJ_PVT
OKL_PROCESS_PPD_PVT
OKL_LA_SALES_TAX_PVT
OKL_AM_TERMNT_VENDOR_PRG_PVT
OKL_AM_VENDOR_RES_SHARE_PVT
OKL_MULTIGAAP_ENGINE_PVT
one thing important while generating .pll/.fmb thru adadmin it asks for FND_INSTALL_PROCESSES & AD_DEFERRED_JOBS to be dropped, if we select to drop it will drop this tables and patch process will not continue if these tables were dropped and created for .pll/.fmb generation
How to avoid this & to apply patch cleanly
Thanks,
Alig
Edited by: user12257829 on Aug 19, 2010 3:56 AM
Edited by: user12257829 on Aug 19, 2010 3:59 AM -
Adadmin Compile APPS schema never complete & it running for infinite time
Hi,
When I am trying to compile apps schema from adadmin --> compile apps schema, It never complete & it is not compiling invalid objects, I tried to manually run the adutlrcmp.sql through SQL, also the same problem the scripts is stuck (hang) in the UTL_RECOMP.RECOMP_PARALLEL proceure.
Please note the following:
1- That I am able to compile invalid objects manually through Toad Or through alter package.
2- The compile apps schema was running successfully & very fast in the past.
What should I do? how can I resolve this issue ?
Your quick feed back is very much appreciated.
MarwanHi Hussein,
The following is the adadmin log for the compile apps schema:
AD code level : [B.1]
Connecting to SYSTEM......Connected successfully.
Connecting to APPS......Connected successfully.
sqlplus -s APPS/***** @/u03/applprod/prod/apps/apps_st/appl/ad/12.0.0/sql/adutlrcmp.sql APPLSYS ***** APPS ***
** ***** 0 0 NONE FALSE
Arguments are:
AOL_schema = APPLSYS, AOL_password = *****,
Schema_to_compile = APPS, Schema_to_compile_pw = *****,
SYSTEM_password = *****, Total_workers = 0, Logical_worker_num = 0
Object_type_to_not_compile = NONE
Use_stored_dependencies = FALSE
Connected.
Running utl_recomp.recomp_parallel(0), if it exists
no rows selected
Elapsed: 00:00:00.17
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.00
STATUS_MESSAGE
Running UTL_RECOMP.RECOMP_PARALLEL...
declare
ERROR at line 1:
ORA-01013: user requested cancel of current operation
An error occurred while running a SQL*Plus script.
As you can see the :
STATUS_MESSAGE
Running UTL_RECOMP.RECOMP_PARALLEL...
Is stucking & you wait for a long long time & it never ends So I canceled it manually.
And when checking the database locks the following appears:
OWNER OBJECT_NAME
APPLSYS FND_CONCURRENT_QUEUES
APPLSYS FND_CONCURRENT_REQUESTS
Regards,
Marwan -
PLS-00907: cannot load library unit PREORDER.GLOBALS@PREORDER
Hi all, I am getting below error while compiling the package in oracle 11g.
SQL> select version from v$instance;
VERSION
11.2.0.3.0
SQL> !uname -a
SunOS ghb1s311 5.10 Generic_142900-13 sun4u sparc SUNW,Sun-Fire-V890
SQL> SELECT owner,
object_type,
object_name,
status
FROM dba_objects
WHERE status = 'INVALID'
ORDER BY owner, object_type, object_name;
2 3 4 5 6 7
OWNER OBJECT_TYPE OBJECT_NAME STATUS
KOMPIMP PACKAGE BODY IMPORT_NI_STAMMDATEN INVALID
SQL> alter package KOMPIMP.IMPORT_NI_STAMMDATEN compile body;
Warning: Package Body altered with compilation errors.
SQL> show error
Errors for PACKAGE BODY KOMPIMP.IMPORT_NI_STAMMDATEN:
LINE/COL ERROR
0/0 PLS-00907: cannot load library unit PREORDER.GLOBALS@PREORDER
(referenced by PREORDER.MANAGE_DATEN@PREORDER)
1201/5 PL/SQL: Statement ignored
SQL> select object_name,object_type,owner,status from dba_objects where object_name like 'GLOBALS';
OBJECT_NAME OBJECT_TYPE OWNER STATUS
GLOBALS PACKAGE KOMPIMP VALID
SQL> select object_name,object_type,owner,status from dba_objects where object_name like 'PREORDER';
OBJECT_NAME OBJECT_TYPE OWNER STATUS
PREORDER DATABASE LINK KOMPIMP VALID
These package(GLOBALS') is valid then also this is not compiling.
Please suggest to solve this problem.
Thanks in AdvanceHi
Without commenting on the specific HR packages, it sounds like you are causing invalidations when you recompile.
The first thing to do is to try to minimize the scope of each recompilation. So if the body of a package A is invalid, don't recompile the specification (which will invalidate any other package B that references a function, procedure, type or package variable in A). Just recompile the body (which afaik NEVER invalidates anything else).
alter package A compile body;If you have invalid package specs (which you do now) try to recompile them in dependency order. So if package (spec) A depends on (eg references a package (header) variable or type definition in) package B, then be dure to compile B before A.
In general, you should recompile invalid specifications first, then invalid package bodies.
The tricky objects are Views - a view can depend on a package spec (if the view SQL includes a reference to a package function) and a package spec or body can of course depend on a view. Good developers try to avoid circular dependencies! So our compilation order becomes:
* Views (unless dependent on packages)
* Package specs
* Views that depend on packages
* Package bodies
(Stand-alone stored procedures and functions are a pain in the neck, as they can depend on each other and on views, packages etc).
You can try using utlrp.sql (in rdvms/admin) which calls utl_recomp.recomp_parallel - but I don't know how good this is at sorting out dependencies.
HTH
Regards Nigel -
Compilation Error for prvtbkrs.plb execution
I tried to solve the issue for RMAN connection and i run this script
prvtbkrs.plb
Warning: Package Body created with compilation errors.
SQL> show err
Errors for PACKAGE BODY DBMS_BACKUP_RESTORE:
LINE/COL ERROR
3975/7 PL/SQL: SQL Statement ignored
3976/31 PL/SQL: ORA-00942: table or view does not exist
4054/6 PL/SQL: SQL Statement ignored
4054/35 PL/SQL: ORA-00942: table or view does not exist
4072/6 PL/SQL: Statement ignored
4072/6 PLS-00201: identifier 'SYS.DBMS_SYS_ERROR' must be declared
5457/11 PL/SQL: SQL Statement ignored
5459/18 PL/SQL: ORA-00942: table or view does not exist
I cant connect using RMAN...Please help me with this issue.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
ORA-04063: package body "SPS.DBMS_BACKUP_RESTORE" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SPS.DBMS_BACKUP_RESTORE"
RMAN-04015: error setting target database character set to WE8MSWIN1252I run the script and
SQL> @C:\app\Administrator\product\11.1.0\SPS\RDBMS\ADMIN\utlrp.sql
SELECT dbms_registry_sys.time_stamp('utlrp_bgn') as timestamp from dual
ERROR at line 1:
ORA-00904: "DBMS_REGISTRY_SYS"."TIME_STAMP": invalid identifier
DOC> The following PL/SQL block invokes UTL_RECOMP to recompile invalid
DOC> objects in the database. Recompilation time is proportional to the
DOC> number of invalid objects in the database, so this command may take
DOC> a long time to execute on a database with a large number of invalid
DOC> objects.
DOC>
DOC> Use the following queries to track recompilation progress:
DOC>
DOC> 1. Query returning the number of invalid objects remaining. This
DOC> number should decrease with time.
DOC> SELECT COUNT(*) FROM obj$ WHERE status IN (4, 5, 6);
DOC>
DOC> 2. Query returning the number of objects compiled so far. This number
DOC> should increase with time.
DOC> SELECT COUNT(*) FROM UTL_RECOMP_COMPILED;
DOC>
DOC> This script automatically chooses serial or parallel recompilation
DOC> based on the number of CPUs available (parameter cpu_count) multiplied
DOC> by the number of threads per CPU (parameter parallel_threads_per_cpu).
DOC> On RAC, this number is added across all RAC nodes.
DOC>
DOC> UTL_RECOMP uses DBMS_SCHEDULER to create jobs for parallel
DOC> recompilation. Jobs are created without instance affinity so that they
DOC> can migrate across RAC nodes. Use the following queries to verify
DOC> whether UTL_RECOMP jobs are being created and run correctly:
DOC>
DOC> 1. Query showing jobs created by UTL_RECOMP
DOC> SELECT job_name FROM dba_scheduler_jobs
DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>
DOC> 2. Query showing UTL_RECOMP jobs that are running
DOC> SELECT job_name FROM dba_scheduler_running_jobs
DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>#
utl_recomp.recomp_parallel(threads);
ERROR at line 4:
ORA-06550: line 4, column 4:
PLS-00201: identifier 'UTL_RECOMP.RECOMP_PARALLEL' must be declared
ORA-06550: line 4, column 4:
PL/SQL: Statement ignored
SELECT dbms_registry_sys.time_stamp('utlrp_end') as timestamp from dual
ERROR at line 1:
ORA-00904: "DBMS_REGISTRY_SYS"."TIME_STAMP": invalid identifier
PL/SQL procedure successfully completed.
DOC> The following query reports the number of objects that have compiled
DOC> with errors (objects that compile with errors have status set to 3 in
DOC> obj$). If the number is higher than expected, please examine the error
DOC> messages reported with each object (using SHOW ERRORS) to see if they
DOC> point to system misconfiguration or resource constraints that must be
DOC> fixed before attempting to recompile these objects.
DOC>#
select COUNT(*) "OBJECTS WITH ERRORS" from obj$ where status = 3
ERROR at line 1:
ORA-00942: table or view does not exist
DOC> The following query reports the number of errors caught during
DOC> recompilation. If this number is non-zero, please query the error
DOC> messages in the table UTL_RECOMP_ERRORS to see if any of these errors
DOC> are due to misconfiguration or resource constraints that must be
DOC> fixed before objects can compile successfully.
DOC>#
select COUNT(*) "ERRORS DURING RECOMPILATION" from utl_recomp_errors
ERROR at line 1:
ORA-00942: table or view does not exist
PL/SQL procedure successfully completed.
ERROR:
ORA-04067: not executed, package body "SPS.DBMS_OUTPUT" does not exist
ORA-06508: PL/SQL: could not find program unit being called: "SPS.DBMS_OUTPUT"
ORA-06512: at line 1
BEGIN dbms_registry_sys.validate_components; END;
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'DBMS_REGISTRY_SYS.VALIDATE_COMPONENTS' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
ERROR:
ORA-04067: not executed, package body "SPS.DBMS_OUTPUT" does not exist
ORA-06508: PL/SQL: could not find program unit being called: "SPS.DBMS_OUTPUT"
ORA-06512: at line 1
SQL> -
Upgrade R12.1.1 to R12.1.3
Hi all,
before starting upgrade process I was download some patch
9239089
9239090
9817770
9966055
9239095
I starting upgrade my Oracle EBS release 12.1.1 to 12.13 on OL6.4 Operating system. now i already apply patch 9239090 after patch 9239089
I check the log file, last process is..
STOP_TASK: [Run SQL scripts and EXEC commands] [] [Fri Jan 24 2014 00:05:02]
STRT_TASK: [Compile invalid objects in DB] [] [Fri Jan 24 2014 00:05:02]
Compiling invalid objects...
STRT_TASK: [Run ST parallel compile (APPS)] [] [Fri Jan 24 2014 00:05:02]
sqlplus -s APPS/***** @/u01/oracle/prod/apps/apps_st/appl/ad/12.0.0/sql/adutlrcmp.sql APPLSYS ***** APPS ***** ***** 16 0 NONE FALSE
Connected.
Arguments are:
AOL_schema = APPLSYS, AOL_password = *****,
Schema_to_compile = APPS, Schema_to_compile_pw = *****,
SYSTEM_password = *****, Total_workers = 16, Logical_worker_num = 0
Object_type_to_not_compile = NONE
Use_stored_dependencies = FALSE
Connected.
Running utl_recomp.recomp_parallel(16), if it exists
OWNER NUM_INVALID
APPLSYSPUB 2
PUBLIC 2102
CTXSYS 2
SYSTEM 1
APPS 84736
ICX 1
6 rows selected.
Elapsed: 00:00:06.27
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.18
STATUS_MESSAGE
Running UTL_RECOMP.RECOMP_PARALLEL...
process has been running for 14 hours but nothing prompt process result. what on that process is hang or crash? how to check it ?
can u give me suggest ??
Thanks
AriesHi Aries,
Please run following query as apps user:
select count(*) from user_objects
where status='INVALID';
You can monitor how many objects left to compile with the above query. In order to re-run the query issue command "/" in sql prompt and you can have a track on the process.
Thanks &
Best Regards,
Asif -
Package compile faile with error ORA-03113: end-of-file on communication..
Hi There,
We're trying to compile a package and we're getting this error that we're not sure how to debug and/or tackle. Your assistance is highly appreciated.
create or replace
ERROR at line 1:
ORA-03113: end-of-file on communication channel
Process ID: 4252
Session ID: 1149 Serial number: 5910
The package use to compile without any issues; also we have it working in other environments. We can't see any differences at this stage.
Oracle Version:11.2.0.1 x64
OS: Windows 2008 Server R2
Thanks in advance for your help.
ThanksI have tried dropping the package and re-compiling it but to no avail. I can compile other packages/procedures/functions without any issues.
Also, trying to run either EXEC UTL_RECOMP.recomp_parallel(4, 'SCHEMA_NAME'); or @?/rdbms/admin/UTLRP.SQL gives the following erros:
ERROR at line 1:
ORA-03113: end-of-file on communication channel
Process ID: 7040
Session ID: 388 Serial number: 9039
ERROR:
ORA-03114: not connected to ORACLE
DOC> The following query reports the number of objects that have compiled
DOC> with errors (objects that compile with errors have status set to 3 in
DOC> obj$). If the number is higher than expected, please examine the error
DOC> messages reported with each object (using SHOW ERRORS) to see if they
DOC> point to system misconfiguration or resource constraints that must be
DOC> fixed before attempting to recompile these objects.
DOC>#
ERROR:
ORA-03114: not connected to ORACLE
DOC> The following query reports the number of errors caught during
DOC> recompilation. If this number is non-zero, please query the error
DOC> messages in the table UTL_RECOMP_ERRORS to see if any of these errors
DOC> are due to misconfiguration or resource constraints that must be
DOC> fixed before objects can compile successfully.
DOC>#
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE -
Compile Package with DreamCoder
Hi
I compile the package and debugge with DreamCoder for oracle and is very easy for all PL/SQL developers.
All task for developers is simple with this product .
URL : http://www.mentattech.com
Regards,
PeterI have tried dropping the package and re-compiling it but to no avail. I can compile other packages/procedures/functions without any issues.
Also, trying to run either EXEC UTL_RECOMP.recomp_parallel(4, 'SCHEMA_NAME'); or @?/rdbms/admin/UTLRP.SQL gives the following erros:
ERROR at line 1:
ORA-03113: end-of-file on communication channel
Process ID: 7040
Session ID: 388 Serial number: 9039
ERROR:
ORA-03114: not connected to ORACLE
DOC> The following query reports the number of objects that have compiled
DOC> with errors (objects that compile with errors have status set to 3 in
DOC> obj$). If the number is higher than expected, please examine the error
DOC> messages reported with each object (using SHOW ERRORS) to see if they
DOC> point to system misconfiguration or resource constraints that must be
DOC> fixed before attempting to recompile these objects.
DOC>#
ERROR:
ORA-03114: not connected to ORACLE
DOC> The following query reports the number of errors caught during
DOC> recompilation. If this number is non-zero, please query the error
DOC> messages in the table UTL_RECOMP_ERRORS to see if any of these errors
DOC> are due to misconfiguration or resource constraints that must be
DOC> fixed before objects can compile successfully.
DOC>#
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE -
How to run @?/rdbms/admin/utlrp.sql from OEM?
After I make database changes I have to run utlrp.sql to compile all the invalid objects. I know how to do it from the host. But now I'm running this release from the OEM as sql jobs.
Is there any equivalent of @?/rdbms/sadmin/utlrp.sql running from OEM?
error msg:
DOC> 2. Query showing UTL_RECOMP jobs that are running
DOC> SELECT job_name FROM dba_scheduler_running_jobs
DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>#
utl_recomp.recomp_parallel(threads);
ERROR at line 4:
ORA-06550: line 4, column 4:
PLS-00201: identifier 'UTL_RECOMP.RECOMP_PARALLEL' must be declared
ORA-06550: line 4, column 4:
PL/SQL: Statement ignored
Elapsed: 00:00:00.01
SELECT dbms_registry_sys.time_stamp('utlrp_end') as timestamp from dual
ERROR at line 1:
ORA-00904: "DBMS_REGISTRY_SYS"."TIME_STAMP": invalid identifier
Elapsed: 00:00:00.00
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.01
DOC> The following query reports the number of objects that have compiled
DOC> with errors (objects that compile with errors have status set to 3 in
DOC> obj$). If the number is higher than expected, please examine the error
DOC> messages reported with each object (using SHOW ERRORS) to see if they
DOC> point to system misconfiguration or resource constraints that must be
DOC> fixed before attempting to recompile these objects.
DOC>#
select COUNT(*) "OBJECTS WITH ERRORS" from obj$ where status = 3
ERROR at line 1:
ORA-00942: table or view does not existHi,
How can you create job in OEM to use EXEC UTL_RECOMP.recomp_serial(); inorder to compile all db objects.
I tried few things but all resulting in error.
I am creating OEM job as SQL script and where it ask for SQL script I am giving below code:
1.
WHENEVER SQLERROR EXIT FAILURE;
EXEC UTL_RECOMP.recomp_serial;Error:
SQL> SQL> SQL> SQL> SQL> BEGIN utl_recomp.recomp_serial ; END;
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'UTL_RECOMP.RECOMP_SERIAL' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
2.when trying with using utlrp.sql:
WHENEVER SQLERROR EXIT FAILURE;
@?/rdbms/admin/utlrp.sql;Error:
SQL> SQL> SQL> SQL> SQL> SELECT dbms_registry_sys.time_stamp('utlrp_bgn') as timestamp from dual
ERROR at line 1:
ORA-00904: "DBMS_REGISTRY_SYS"."TIME_STAMP": invalid identifier
I can run utlrp.sql without any error manually from sql prompt as sys user.
I am login into OEM as SYSTEM user and also with user who has privilege for backup.
thanks, -
Compile Apps Schema took sooooo long
Hi Friends,
EBS R12.1
OEL 5.4
I am compiling apps schema due to some invalid object when applying patch. but the program is running forever like 24hrs + now :(
Have you encountered similar problem yet? Can you help me troubleshoot this kind of issue?
adadmin
Compile/Reload Applications Database Entities
1. Compile APPS schema
2. Compile menu information
3. Compile flexfields
4. Reload JAR files to database
5. Return to Main Menu
Enter your choice [5] : 1
sqlplus -s APPS/***** @/u01/applprod/PROD/apps/apps_st/appl/ad/12.0.0/sql/adutlrcmp.sql APPLSYS ***** APPS ***** ***** 16 0 NONE FALSEThe above program is running forever and its has activity when you check OS status "top""
top - 14:27:49 up 63 days, 4:59, 6 users, load average: 2.12, 2.17, 2.23
Tasks: 432 total, 2 running, 430 sleeping, 0 stopped, 0 zombie
Cpu(s): 12.5%us, 0.2%sy, 0.0%ni, 86.9%id, 0.4%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 8171552k total, 8121216k used, 50336k free, 34908k buffers
Swap: 8388600k total, 1101216k used, 7287384k free, 5796552k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
23133 oraprod 25 0 1227m 116m 109m R 100.0 1.5 1144:00 oracle
27215 root 16 0 13004 1364 820 S 0.7 0.0 0:04.44 top
18303 root 15 0 13004 1360 816 R 0.3 0.0 0:00.03 top
23346 oradev1 15 0 1215m 41m 41m S 0.3 0.5 3:48.11 oracle
24746 appldev1 17 0 821m 246m 6244 S 0.3 3.1 8:25.78 javaPlease help....
Thanks a lot
MsKHi,
I tried to abort the program (ctrl+c) and this is the result in the adadmin.log
sqlplus -s APPS/***** @/u01/applprod/PROD/apps/apps_st/appl/ad/12.0.0/sql/adutlrcmp.sql APPLSYS ***** APPS ***** ***** 16 0 NONE FALSE
Arguments are:
AOL_schema = APPLSYS, AOL_password = *****,
Schema_to_compile = APPS, Schema_to_compile_pw = *****,
SYSTEM_password = *****, Total_workers = 16, Logical_worker_num = 0
Object_type_to_not_compile = NONE
Use_stored_dependencies = FALSE
Connected.
Running utl_recomp.recomp_parallel(16), if it exists
OWNER NUM_INVALID
APPS 87
Elapsed: 00:00:00.09
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.00
STATUS_MESSAGE
Running UTL_RECOMP.RECOMP_PARALLEL...
declare
ERROR at line 1:
ORA-01013: user requested cancel of current operation
An error occurred while running a SQL*Plus script.
Continue as if it were successful [No] : No
AD Administration error:
Error running adutlrcmp.sql in adprdcAdUtilrcmp()
An error occurred while compiling invalids using the SYS.UTL_RECOMP() package.
Time is: Tue Sep 28 2010 14:29:09
Backing up restart files, if any......Done.
Maybe you are looking for
-
HT203176 mountain lion, finder is unresponsive/times out
I am trying to help a friend who has a Mac Book Pro that is extremely slow (15 minutes to get to the sign in prompt) and completely unusable. I am running into prblems trying to clean the system cache because the finder is unresponsiver to any attemp
-
hi Folks, i want to generate an idoc PEXR2002 using transaction f110 ( automatic payment program) Does anybody have any idea on how to do it. your inputs are valuable. Regards, Padma
-
How to extract the number of the image which looks like a number
Now,I can generate a image which contains a random number,but I can not extract the number of the image.Any one can help me?
-
Reservation problem in production order for PIPE line materials
while releasing the specific production order reservation number generated but in generated reservation pipe line materials are not existig hence while doing confimation as backflush indicator activated hence this got stucked in COGI. On observation
-
Information Bubble on Specific Field
Hello Experts, I need to implement a mouse-over information bubble on some specific field. which enables the users to get the information about the values to be filled into the field. Thus i tried to use the Information Bubble script from the TTOCOD(