Error in stage : drop capture queue ORA-04063: AGADM_SCHEMA1.RM_QUEUE_ID3

Hi,
Recently i upgrade my database from Oracle 11.2.0.1 to Oracle 11.2.0.2 on RHEL 5. I have two way replication configured on my servers. I am trying to reconfigure by dropping existing queues.
SQL> begin
2 dbms_streams_adm.remove_queue('RM_QUEUE_ID3', TRUE);
3 exception
4 when others then
5 dbms_output.put_line('error in stage : drop capture queue');
6 dbms_output.put_line(sqlerrm);
7 end;
8 /
error in stage : drop capture queue
ORA-04063: AGADM_SCHEMA1.RM_QUEUE_ID3 has errors
PL/SQL procedure successfully completed
SQL> select status from user_objects where object_name like 'RM_QUEUE_ID3';
STATUS
INVALID
One issue i observe is queue is in invalid state.
Please suggest.
Thanks
Umesh

Thanks Paul
Please see below:
SQL> select name, queue_Table, qid, queue_type from user_queues;
AQ$_RM_QUEUE_TABLE16_E RM_QUEUE_TABLE16 978860 EXCEPTION_QUEUE
RM_QUEUE_ID16 RM_QUEUE_TABLE16 978861 NORMAL_QUEUE
AQ$_RM_QUEUE_TABLE6_E RM_QUEUE_TABLE6 978641 EXCEPTION_QUEUE
RM_QUEUE_ID6 RM_QUEUE_TABLE6 978642 NORMAL_QUEUE
AQ$_RM_QUEUE_TABLE2_E RM_QUEUE_TABLE2 978541 EXCEPTION_QUEUE
RM_QUEUE_ID2 RM_QUEUE_TABLE2 978542 NORMAL_QUEUE
AQ$_RM_QUEUE_TABLE15_E RM_QUEUE_TABLE15 978292 EXCEPTION_QUEUE
RM_QUEUE_ID15 RM_QUEUE_TABLE15 978293 NORMAL_QUEUE
AQ$_RM_QUEUE_TABLE12_E RM_QUEUE_TABLE12 978112 EXCEPTION_QUEUE
RM_QUEUE_ID12 RM_QUEUE_TABLE12 978114 NORMAL_QUEUE
RM_QUEUE_ID11 RM_QUEUE_TABLE11 978001 NORMAL_QUEUE
RM_QUEUE_ID7 RM_QUEUE_TABLE7 977918 NORMAL_QUEUE
AQ$_RM_QUEUE_TABLE5_E RM_QUEUE_TABLE5 977834 EXCEPTION_QUEUE
RM_QUEUE_ID5 RM_QUEUE_TABLE5 977835 NORMAL_QUEUE
AQ$_RM_QUEUE_TABLE1_E RM_QUEUE_TABLE1 977665 EXCEPTION_QUEUE
RM_QUEUE_ID1 RM_QUEUE_TABLE1 977666 NORMAL_QUEUE
AQ$_RM_QUEUE_TABLE3_E RM_QUEUE_TABLE3 977751 EXCEPTION_QUEUE
RM_QUEUE_ID3 RM_QUEUE_TABLE3 977752 NORMAL_QUEUE
18 rows selected
SQL> select queue_table, type, object_type, compatible from user_queue_tables;
RM_QUEUE_TABLE1 OBJECT SYS.ANYDATA 10.0.0
RM_QUEUE_TABLE11 OBJECT SYS.ANYDATA 10.0.0
RM_QUEUE_TABLE12 OBJECT SYS.ANYDATA 10.0.0
RM_QUEUE_TABLE15 OBJECT SYS.ANYDATA 10.0.0
RM_QUEUE_TABLE16 OBJECT SYS.ANYDATA 10.0.0
RM_QUEUE_TABLE2 OBJECT SYS.ANYDATA 10.0.0
RM_QUEUE_TABLE3 OBJECT SYS.ANYDATA 10.0.0
RM_QUEUE_TABLE5 OBJECT SYS.ANYDATA 10.0.0
RM_QUEUE_TABLE6 OBJECT SYS.ANYDATA 10.0.0
RM_QUEUE_TABLE7 OBJECT SYS.ANYDATA 10.0.0
10 rows selected
SQL> select view_name from user_views where view_name like 'AQ$%';
AQ$_RM_QUEUE_TABLE7_F
AQ$_RM_QUEUE_TABLE6_F
AQ$_RM_QUEUE_TABLE5_F
AQ$_RM_QUEUE_TABLE3_F
AQ$_RM_QUEUE_TABLE2_F
AQ$_RM_QUEUE_TABLE1_F
AQ$_RM_QUEUE_TABLE16_F
AQ$_RM_QUEUE_TABLE15_F
AQ$_RM_QUEUE_TABLE12_F
AQ$_RM_QUEUE_TABLE11_F
AQ$RM_QUEUE_TABLE7_S
AQ$RM_QUEUE_TABLE7_R
AQ$RM_QUEUE_TABLE7
AQ$RM_QUEUE_TABLE6_S
AQ$RM_QUEUE_TABLE6_R
AQ$RM_QUEUE_TABLE6
AQ$RM_QUEUE_TABLE5_S
AQ$RM_QUEUE_TABLE5_R
AQ$RM_QUEUE_TABLE5
AQ$RM_QUEUE_TABLE3_S
AQ$RM_QUEUE_TABLE3_R
AQ$RM_QUEUE_TABLE3
AQ$RM_QUEUE_TABLE2_S
AQ$RM_QUEUE_TABLE2_R
AQ$RM_QUEUE_TABLE2
AQ$RM_QUEUE_TABLE1_S
AQ$RM_QUEUE_TABLE1_R
AQ$RM_QUEUE_TABLE16_S
AQ$RM_QUEUE_TABLE16_R
AQ$RM_QUEUE_TABLE16
AQ$RM_QUEUE_TABLE15_S
AQ$RM_QUEUE_TABLE15_R
AQ$RM_QUEUE_TABLE15
AQ$RM_QUEUE_TABLE12_S
AQ$RM_QUEUE_TABLE12_R
AQ$RM_QUEUE_TABLE12
AQ$RM_QUEUE_TABLE11_S
AQ$RM_QUEUE_TABLE11_R
AQ$RM_QUEUE_TABLE11
AQ$RM_QUEUE_TABLE1
40 rows selected
SQL> select table_name, iot_type from user_tables where table_name like 'AQ$%';
AQ$_RM_QUEUE_TABLE7_S
AQ$_RM_QUEUE_TABLE7_P
AQ$_RM_QUEUE_TABLE7_L
AQ$_RM_QUEUE_TABLE6_S
AQ$_RM_QUEUE_TABLE6_P
AQ$_RM_QUEUE_TABLE6_L
AQ$_RM_QUEUE_TABLE5_S
AQ$_RM_QUEUE_TABLE5_P
AQ$_RM_QUEUE_TABLE5_L
AQ$_RM_QUEUE_TABLE3_S
AQ$_RM_QUEUE_TABLE3_P
AQ$_RM_QUEUE_TABLE3_L
AQ$_RM_QUEUE_TABLE2_S
AQ$_RM_QUEUE_TABLE2_P
AQ$_RM_QUEUE_TABLE2_L
AQ$_RM_QUEUE_TABLE1_S
AQ$_RM_QUEUE_TABLE1_P
AQ$_RM_QUEUE_TABLE1_L
AQ$_RM_QUEUE_TABLE16_S
AQ$_RM_QUEUE_TABLE16_P
AQ$_RM_QUEUE_TABLE16_L
AQ$_RM_QUEUE_TABLE15_S
AQ$_RM_QUEUE_TABLE15_P
AQ$_RM_QUEUE_TABLE15_L
AQ$_RM_QUEUE_TABLE12_S
AQ$_RM_QUEUE_TABLE12_P
AQ$_RM_QUEUE_TABLE12_L
AQ$_RM_QUEUE_TABLE11_S
AQ$_RM_QUEUE_TABLE11_P
AQ$_RM_QUEUE_TABLE11_L
AQ$_RM_QUEUE_TABLE7_T IOT
AQ$_RM_QUEUE_TABLE7_I IOT
AQ$_RM_QUEUE_TABLE7_H IOT
AQ$_RM_QUEUE_TABLE7_G IOT
AQ$_RM_QUEUE_TABLE7_D IOT
AQ$_RM_QUEUE_TABLE7_C IOT
AQ$_RM_QUEUE_TABLE6_T IOT
AQ$_RM_QUEUE_TABLE6_I IOT
AQ$_RM_QUEUE_TABLE6_H IOT
AQ$_RM_QUEUE_TABLE6_G IOT
AQ$_RM_QUEUE_TABLE6_D IOT
AQ$_RM_QUEUE_TABLE6_C IOT
AQ$_RM_QUEUE_TABLE5_T IOT
AQ$_RM_QUEUE_TABLE5_I IOT
AQ$_RM_QUEUE_TABLE5_H IOT
AQ$_RM_QUEUE_TABLE5_G IOT
AQ$_RM_QUEUE_TABLE5_D IOT
AQ$_RM_QUEUE_TABLE5_C IOT
AQ$_RM_QUEUE_TABLE3_T IOT
AQ$_RM_QUEUE_TABLE3_I IOT
AQ$_RM_QUEUE_TABLE3_H IOT
AQ$_RM_QUEUE_TABLE3_G IOT
AQ$_RM_QUEUE_TABLE3_D IOT
AQ$_RM_QUEUE_TABLE3_C IOT
AQ$_RM_QUEUE_TABLE2_T IOT
AQ$_RM_QUEUE_TABLE2_I IOT
AQ$_RM_QUEUE_TABLE2_H IOT
AQ$_RM_QUEUE_TABLE2_G IOT
AQ$_RM_QUEUE_TABLE2_D IOT
AQ$_RM_QUEUE_TABLE2_C IOT
AQ$_RM_QUEUE_TABLE1_T IOT
AQ$_RM_QUEUE_TABLE1_I IOT
AQ$_RM_QUEUE_TABLE1_H IOT
AQ$_RM_QUEUE_TABLE1_G IOT
AQ$_RM_QUEUE_TABLE1_D IOT
AQ$_RM_QUEUE_TABLE1_C IOT
AQ$_RM_QUEUE_TABLE16_T IOT
AQ$_RM_QUEUE_TABLE16_I IOT
AQ$_RM_QUEUE_TABLE16_H IOT
AQ$_RM_QUEUE_TABLE16_G IOT
AQ$_RM_QUEUE_TABLE16_D IOT
AQ$_RM_QUEUE_TABLE16_C IOT
AQ$_RM_QUEUE_TABLE15_T IOT
AQ$_RM_QUEUE_TABLE15_I IOT
AQ$_RM_QUEUE_TABLE15_H IOT
AQ$_RM_QUEUE_TABLE15_G IOT
AQ$_RM_QUEUE_TABLE15_D IOT
AQ$_RM_QUEUE_TABLE15_C IOT
AQ$_RM_QUEUE_TABLE12_T IOT
AQ$_RM_QUEUE_TABLE12_I IOT
AQ$_RM_QUEUE_TABLE12_H IOT
AQ$_RM_QUEUE_TABLE12_G IOT
AQ$_RM_QUEUE_TABLE12_D IOT
AQ$_RM_QUEUE_TABLE12_C IOT
AQ$_RM_QUEUE_TABLE11_T IOT
AQ$_RM_QUEUE_TABLE11_I IOT
AQ$_RM_QUEUE_TABLE11_H IOT
AQ$_RM_QUEUE_TABLE11_G IOT
AQ$_RM_QUEUE_TABLE11_D IOT
AQ$_RM_QUEUE_TABLE11_C IOT
90 rows selected
SQL>

Similar Messages

  • ORA-12012-ORA-12008-ORA-04063: error on r11i

    Heloo all;
    I have this error:
    Errors in file 9.2.0/admin/erp/bdump/prod_j000_18936.trc:
    ORA-12012: error on auto execute of job 189
    ORA-12008: error in materialized view refresh path
    ORA-04063: package body "APPS.FND_GLOBAL" has errors
    undo_suppress_errors = FALSE
    undo_suppress_errors = FALSE
    ORA-12012: error on auto execute of job 189
    ORA-12008: error in materialized view refresh path
    ORA-04063: package body "APPS.FND_GLOBAL" has errors
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 820
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 877
    ORA-06512: at "SYS.DBMS_IREFRESH", line 683
    ORA-06512: at "SYS.DBMS_REFRESH", line 195
    ORA-06512: at line 1
    ORA-00060: Deadlock detected. More info in file 9.2.0/admin/terp/udump/prod_ora_736.trc.
    ORA-1653: unable to extend table APPLSYS.DR$FND_LOBS_CTX$I by 16 in tablespace APPS_TS_TX_DATA
    ORA-1653: unable to extend table APPLSYS.DR$FND_LOBS_CTX$I by 16 in tablespace APPS_TS_TX_DATA
    my APPS_TS_TX_DATA doesnt have size problem...iAPPS.FND_GLOBAL doesnt inviladi!....
    after this error message today i have this error:
    undo_suppress_errors = FALSE
    ORA-00060: Deadlock detected. More info in file /oradb/PROD/proddb/9.2.0/admin/erp/udump/prod_ora_3463.trc.
    for the both error undo_suppress_errors seems common...
    is anyone has this error before?
    Thanks
    Helios

    Helios,
    Please review the following documents and try the suggested solutions.
    Note: 743785.1 - How I resolved ORA-1653 on APPS_TS_TX_DATA tablespace
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=743785.1
    Note: 154207.1- d1553256.drv Errors ORA-01631 Max Extents Reached Table APPLSYS.DR$FND_LOBS_CTX$I
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=154207.1
    Note: 367861.1 - "Rebuild Help Search Index" fails with ORA-01631: max # extents (505) reached in table APPLSYS.DR$FND_LOBS_CTX$
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=367861.1
    Note: 180588.1 - Solving ORA-01653: UNABLE TO EXTEND TABLE %S.%S BY %S IN TABLESPACE %S
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=180588.1
    If you still get ORA-00060 after resolving the above error, refer to:
    Note: 62365.1 - What to do with "ORA-60 Deadlock Detected" Errors
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=62365.1
    Note: 164661.1 - ORA-60 / Deadlocks Most Common Causes
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=164661.1
    Regards,
    Hussein

  • ORA-00604: error occurred at recursive SQL level 1 ORA-04063: table....

    Hi all,
    i have the following code:
    DROP TYPE unit_function FORCE
    DROP TYPE unit_moving_point FORCE
    DROP TYPE moving_point_tab FORCE
    DROP TYPE moving_point FORCE
    DROP TABLE moving_object_ref
    DROP TABLE moving_point_ref
    CREATE OR REPLACE TYPE unit_function AS OBJECT
    xi NUMBER,
    yi NUMBER
    CREATE OR REPLACE TYPE unit_moving_point AS OBJECT
    p tau_tll.d_period_sec,
    m unit_function
    CREATE OR REPLACE TYPE moving_point_tab AS TABLE OF unit_moving_point;
    CREATE OR REPLACE TYPE moving_point AS OBJECT
    u_tab moving_point_tab
    CREATE TABLE moving_point_ref OF moving_point NESTED TABLE u_tab STORE AS m_u_tab
    When i execute this for the first time the drop commands fail, as expected and the types/tables are successfully created. But if i try to run again the same code i get this error:
    ORA-00604: error occurred at recursive SQL level 1 ORA-04063: table "HERMESL.MOVING_POINT_REF" has errors
    I have tried to first drop the tables and after the types but then I get this error:
    ORA-00604: error occurred at recursive SQL level 1 ORA-22914: DROP of nested tables not supported
    this error occurs when the "DROP TYPE unit_function FORCE" and "DROP TYPE unit_moving_point FORCE" commands is to be executed...
    Can anyone help me?
    Thanks...

    Works on 10.1.0.3.
    What is your exact version?
    SQL> DROP TYPE unit_function FORCE
      2  /
    DROP TYPE unit_function FORCE
    ERROR at line 1:
    ORA-04043: object UNIT_FUNCTION does not exist
    SQL> DROP TYPE unit_moving_point FORCE
      2  /
    DROP TYPE unit_moving_point FORCE
    ERROR at line 1:
    ORA-04043: object UNIT_MOVING_POINT does not exist
    SQL> DROP TYPE moving_point_tab FORCE
      2  /
    DROP TYPE moving_point_tab FORCE
    ERROR at line 1:
    ORA-04043: object MOVING_POINT_TAB does not exist
    SQL> DROP TYPE moving_point FORCE
      2  /
    DROP TYPE moving_point FORCE
    ERROR at line 1:
    ORA-04043: object MOVING_POINT does not exist
    SQL> DROP TABLE moving_object_ref
      2  /
    DROP TABLE moving_object_ref
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> DROP TABLE moving_point_ref
      2  /
    DROP TABLE moving_point_ref
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL>
    SQL> CREATE OR REPLACE TYPE unit_function AS OBJECT
      2  (
      3  xi NUMBER,
      4  yi NUMBER
      5  );
      6  /
    Type created.
    SQL> CREATE OR REPLACE TYPE unit_moving_point AS OBJECT
      2  (
      3            m unit_function
      4  );
      5  /
    Type created.
    SQL> CREATE OR REPLACE TYPE moving_point_tab AS TABLE OF unit_moving_point;
      2  /
    Type created.
    SQL> CREATE OR REPLACE TYPE moving_point AS OBJECT
      2  (
      3  u_tab moving_point_tab
      4  );
      5  /
    Type created.
    SQL> CREATE TABLE moving_point_ref OF moving_point
      2  NESTED TABLE u_tab
      3  STORE AS m_u_tab
      4  /
    Table created.
    SQL> DROP TYPE unit_function FORCE
      2  /
    Type dropped.
    SQL> DROP TYPE unit_moving_point FORCE
      2  /
    Type dropped.
    SQL> DROP TYPE moving_point_tab FORCE
      2  /
    Type dropped.
    SQL> DROP TYPE moving_point FORCE
      2  /
    Type dropped.
    SQL> DROP TABLE moving_object_ref
      2  /
    DROP TABLE moving_object_ref
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> DROP TABLE moving_point_ref
      2  /
    Table dropped.
    SQL>
    SQL> CREATE OR REPLACE TYPE unit_function AS OBJECT
      2  (
      3  xi NUMBER,
      4  yi NUMBER
      5  );
      6  /
    Type created.
    SQL> CREATE OR REPLACE TYPE unit_moving_point AS OBJECT
      2  (
      3            m unit_function
      4  );
      5  /
    Type created.
    SQL> CREATE OR REPLACE TYPE moving_point_tab AS TABLE OF unit_moving_point;
      2  /
    Type created.
    SQL> CREATE OR REPLACE TYPE moving_point AS OBJECT
      2  (
      3  u_tab moving_point_tab
      4  );
      5  /
    Type created.
    SQL> CREATE TABLE moving_point_ref OF moving_point
      2  NESTED TABLE u_tab
      3  STORE AS m_u_tab
      4  /
    Table created.
    SQL> disconnect
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options

  • ORA-04063: package body "SYS.INITJVMAUX" has errors

    Hi,
    I am upgrading the database from 9.2.0.1 to 9.2.0.6 on microsoft windows xp version 2002
    Following the readme of the patch 3948480 Oracle9i Patch Set Notes Release 2 (9.2.0.6.0) Patch Set 5 for Windows (32-Bit)
    When doing the Postinstallation Tasks step 8.2.2 Upgrade the Database step 6 running the catpatch.sql script getting the following error in the log file
    =====================================================
    Warning: Package Body created with compilation errors.
    Errors for PACKAGE BODY INITJVMAUX:
    LINE/COL ERROR
    23/1 PL/SQL: Statement ignored
    23/19 PLS-00201: identifier 'DBMS_ASSERT.NOOP' must be declared
    84/4 PL/SQL: Statement ignored
    84/22 PLS-00201: identifier 'DBMS_ASSERT.NOOP' must be declared
    call initjvmaux.drp('drop table java$rmjvm$aux')
    ERROR at line 1:
    ORA-04068: existing state of packages has been discarded
    ORA-04063: package body "SYS.INITJVMAUX" has errors
    ==========================================================
    Regards,

    Check out status of components from dba_registry. In case you are not using JVM in your database and only java component is invalid, then you can ignore the error. Else you will be required to load java manually. Check metalink for same,
    -Amit
    http://askoracledba.wordpress.com

  • ORA-04063: package body "SYS.DBMS_SQLTUNE" error while upgrading

    Hi,
    i am trying to upgrade oracle database 10.2.0.2 to 11.2.0.1 with dbua tool. While upgrading 'Oracle Server' ORA-04063: package body "SYS.DBMS_SQLTUNE" error has occured.
    In oracle server log :
    Rem Create the automatic SQL Tuning task
    Rem If the task already exists (catproc is being re-run), do not error.
    begin
    2 sys.dbms_sqltune_internal.i_create_auto_tuning_task;
    3 exception
    4 when others then
    5 if (sqlcode = -13607) then -- task already exists
    6 null;
    7 else
    8 raise;
    9 end if;
    10 end;
    11 /
    begin
    ERROR at line 1:
    ORA-04063: package body "SYS.DBMS_SQLTUNE" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_SQLTUNE"
    ORA-06512: at line 8
    After unsuccesful upgrade i restore and recover the database. SYS.DBMS_SQLTUNE package and package body were valid. But when i compile them the package body becomes invalid.
    I search the error and reach 390221.1 metalink note:
    Solution
    - Drop synonyms
    drop public synonym existsnode;
    drop public synonym extract;
    But there are no synonyms that is mentioned in this note in my db.
    How can i resolve this problem? Thank you.

    Have you not read the note ORA-04063: package body "SYS.DBMS_SQLTUNE" has errors - Upgrade From 10G To 11G Fails On Dbms_sqltune ID 1271490.1+ ?
    Nicolas.

  • Adcfgclone fails with ORA-04063: view "SYS.DBA_NETWORK_ACLS" error

    Hi all,
    While running adcfgclone on dbtier if fails with following error
    ORA-04063: view "SYS.DBA_NETWORK_ACLS" error
    here is the scene:
    we are trying to clone a production instance for doing some patching
    while running adcfgclone on target (test instance) it fails
    our current environment is
    application:R12.1.3
    db:11.1.0.7
    os: rhel 5.6
    here is output from
    autoconfig file:
    SQLPLUS Executable : /u02/testoba/db/tech_st/11.1.0/bin/sqlplus
    SQL*Plus: Release 11.1.0.7.0 - Production on Thu Apr 18 09:28:32 2013
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    Enter value for 1: Enter value for 2: Enter value for 3: Connected.
    PL/SQL procedure successfully completed.
    Commit complete.
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    adcrobj.sh exiting with status 0
    ERRORCODE = 0 ERRORCODE_END
    .end std out.
    .end err out.
    AutoConfig Services Phase
    Running Service Process 2 of 4 for AppsUtil
    Executing script in InstantiateFile:
    /u02/testoba/db/tech_st/11.1.0/appsutil/install/TESTOBA_testsrv/addbperms.sh
    script returned:
    addbperms.sh started at Thu Apr 18 09:28:32 IST 2013
    The environment settings are as follows ...
    ORACLE_HOME : /u02/testoba/db/tech_st/11.1.0
    ORACLE_SID : TESTOBA
    TWO_TASK :
    PATH : /u02/testoba/db/tech_st/11.1.0/perl/bin:/u02/testoba/db/tech_st/11.1.0/bin:/usr/bin:/usr/sbin:/u02/testoba/db/tech_st/11.1.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/u02/testoba/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/u02/testoba/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oratest/bin:.
    Library Path : /u02/testoba/db/tech_st/11.1.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/u02/testoba/db/tech_st/11.1.0/lib:/usr/dt/lib:/u02/testoba/db/tech_st/11.1.0/ctx/lib
    SQLPLUS Executable : /u02/testoba/db/tech_st/11.1.0/bin/sqlplus
         Changing permissions for file sqlplus.
         Changing permissions for file extproc.
         Changing permissions for file tkprof.
    addbperms.sh exiting with status 0
    .end std out.
    .end err out.
    AutoConfig Services Phase
    Running Service Process 3 of 4 for AppsUtil
    Executing script in InstantiateFile:
    /u02/testoba/db/tech_st/11.1.0/perl/bin/perl -I /u02/testoba/db/tech_st/11.1.0/perl/lib/5.8.3 -I /u02/testoba/db/tech_st/11.1.0/perl/lib/site_perl/5.8.3 -I /u02/testoba/db/tech_st/11.1.0/appsutil/perl /u02/testoba/db/tech_st/11.1.0/appsutil/install/TESTOBA_testsrv/txkConfigDbOcm.pl
    script returned:
    Configuring OCM on the Database Tier....
    Testing database connection...
    Database connection test passed.
    Response file /u02/testoba/db/tech_st/11.1.0/appsutil/clone/adclnocm.res required to configure OCM does not exists
    ERRORCODE = 0 ERRORCODE_END
    .end std out.
    .end err out.
    AutoConfig Services Phase
    Running Service Process 4 of 4 for AppsUtil
    Executing script in InstantiateFile:
    /u02/testoba/db/tech_st/11.1.0/appsutil/install/TESTOBA_testsrv/txkcreateACL.sh
    script returned:
    You are running txkcreateACL.sh version 120.1
    The environment settings are as follows ...
    ORACLE_HOME : /u02/testoba/db/tech_st/11.1.0
    ORACLE_SID : TESTOBA
    PATH : /u02/testoba/db/tech_st/11.1.0/perl/bin:/u02/testoba/db/tech_st/11.1.0/bin:/usr/bin:/usr/sbin:/u02/testoba/db/tech_st/11.1.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/u02/testoba/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/u02/testoba/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oratest/bin:.
    Executable : /u02/testoba/db/tech_st/11.1.0/bin/sqlplus
    Executing txkcreateACL.sql ...
    SQL*Plus: Release 11.1.0.7.0 - Production on Thu Apr 18 09:28:33 2013
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    Connected.
    FROM DBA_NETWORK_ACLS
    ERROR at line 17:
    ORA-06550: line 17, column 8:
    PL/SQL: ORA-04063: view "SYS.DBA_NETWORK_ACLS" has errors
    ORA-06550: line 16, column 3:
    PL/SQL: SQL Statement ignored
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    txkcreateACL.sh: exiting with status 1
    .end std out.
    .end err out.
    [AutoConfig Error Report]
    The following report lists errors AutoConfig encountered during each
    phase of its execution. Errors are grouped by directory and phase.
    The report format is:
    <filename> <phase> <return code where appropriate>
    [APPLY PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: /u02/testoba/db/tech_st/11.1.0/appsutil/install/TESTOBA_testsrv
    txkcreateACL.sh INSTE8_APPLY 1
    AutoConfig is exiting with status 1
    RC-50014: Fatal: Execution of AutoConfig was failed
    Raised by oracle.apps.ad.clone.ApplyDatabase
    StackTrace:
    java.lang.Exception: RC-50014: Fatal: Execution of AutoConfig was failed
         at oracle.apps.ad.clone.ApplyDatabase.checkAutoConfigErr(ApplyDatabase.java:3192)
         at oracle.apps.ad.clone.ApplyDatabase.runCVMAndAutoConfig(ApplyDatabase.java:3010)
         at oracle.apps.ad.clone.ApplyDatabase.doConf(ApplyDatabase.java:649)
         at oracle.apps.ad.clone.ApplyDatabase.doApply(ApplyDatabase.java:473)
         at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:366)
         at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:110)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
         at java.lang.Thread.run(Unknown Source)
    please provide any suitable link or doc id or any workaround
    thanks
    Zavi

    Hi;
    Please review:
    Adautocfg.Sh Fails With "ORA-01422: " While Executing Txkcreateacl.sh [ID 854746.1]
    Database Cloning Failed With txkcreateACL.sh[36]: sqlplus [ID 603297.1]
    R12 : Autoconfig script txkcreateACL.sh fails with error ORA-31003: Parent /sys/acls/ already contains child entry OracleEBS.xml [ID 1328458.1]
    Regard
    Helios

  • Expdp with ORA-04063: package body "SYS.DBMS_CUBE_EXP" error

    Hi,
    I try to use expdp to export all tables from schema BAW, but hit the following error. Oracle version is 11.2.0.2, and the package body "SYS.DBMS_CUBE_EXP" is invalid. Any idea to fix it?
    Starting "BAW"."SYS_EXPORT_SCHEMA_01": baw/******** directory=DATA_PUMP_DIR met
    rics=yes schemas=baw dumpfile=baw.dmp
    Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS [
    ORA-31642: the following SQL statement fails:
    BEGIN "SYS"."DBMS_CUBE_EXP".SCHEMA_CALLOUT(:1,0,1,'11.02.00.02.00'); END;
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_METADATA", line 1245
    ORA-04063: package body "SYS.DBMS_CUBE_EXP" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_CUBE_EXP"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.KUPW$WORKER", line 8353
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    7000004c9656fe0 19208 package body SYS.KUPW$WORKER
    7000004c9656fe0 8385 package body SYS.KUPW$WORKER
    7000004c9656fe0 12748 package body SYS.KUPW$WORKER
    7000004c9656fe0 2546 package body SYS.KUPW$WORKER
    7000004c9656fe0 9054 package body SYS.KUPW$WORKER
    7000004c9656fe0 1688 package body SYS.KUPW$WORKER
    7000004c9659720 2 anonymous block
    object line object
    handle number name
    7000004c9656fe0 19208 package body SYS.KUPW$WORKER
    7000004c9656fe0 8385 package body SYS.KUPW$WORKER
    7000004c9656fe0 12748 package body SYS.KUPW$WORKER
    7000004c9656fe0 2546 package body SYS.KUPW$WORKER
    7000004c9656fe0 9054 package body SYS.KUPW$WORKER
    7000004c9656fe0 1688 package body SYS.KUPW$WORKER
    7000004c9659720 2 anonymous block
    Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS [
    ORA-31642: the following SQL statement fails:
    BEGIN "SYS"."DBMS_CUBE_EXP".SCHEMA_CALLOUT(:1,0,1,'11.02.00.02.00'); END;
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_METADATA", line 1245
    ORA-04063: package body "SYS.DBMS_CUBE_EXP" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_CUBE_EXP"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.KUPW$WORKER", line 8353
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    7000004c9656fe0 19208 package body SYS.KUPW$WORKER
    7000004c9656fe0 8385 package body SYS.KUPW$WORKER
    7000004c9656fe0 12748 package body SYS.KUPW$WORKER
    7000004c9656fe0 2546 package body SYS.KUPW$WORKER
    7000004c9656fe0 9054 package body SYS.KUPW$WORKER
    7000004c9656fe0 1688 package body SYS.KUPW$WORKER
    7000004c9659720 2 anonymous block
    Job "BAW"."SYS_EXPORT_SCHEMA_01" stopped due to fatal error at 16:07:26
    e

    The simple solution to this problem is, and its working perfectly with me on 11gR2 resolving the subject error.
    To avoid this problem, perform relational exports excluding OLAP's Analytic Workspaces.
    1) Remove workspace package from export:
    a. Connect sys/password as sysdba
    b. create table sys.exppkgact$_backup as select * from sys.exppkgact$;
    (Backup package before deleting it)
    c. delete from sys.exppkgact$ where package = 'DBMS_CUBE_EXP' and schema= 'SYS';
    d. commit;
    4) Run the export.

  • Error ORA-39125 and ORA-04063 during export for transportable tablespace

    I'm using the Oracle Enterprise Manager (browser is IE) to create a tablespace transport file. Maintenance...Transport Tablespaces uses the wizard to walk me through each step. The job gets created and submitted.
    The 'Prepare' and 'Convert Datafile(s)' job steps complete successfully. The Export step fails with the following error. Can anyone shed some light on this for me?
    Thank you in advance!
    =======================================================
    Output Log
    Export: Release 10.2.0.2.0 - Production on Sunday, 03 September, 2006 19:31:34
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Username:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Starting "SYS"."GENERATETTS000024": SYS/******** AS SYSDBA dumpfile=EXPDAT_GENERATETTS000024.DMP directory=EM_TTS_DIR_OBJECT transport_tablespaces=SIEBEL job_name=GENERATETTS000024 logfile=EXPDAT.LOG
    Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
    Processing object type TRANSPORTABLE_EXPORT/TABLE
    Processing object type TRANSPORTABLE_EXPORT/TABLE_STATISTICS
    ORA-39125: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA while calling DBMS_METADATA.FETCH_XML_CLOB [TABLE_STATISTICS]
    ORA-04063: view "SYS.KU$_IOTABLE_VIEW" has errors
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.KUPW$WORKER", line 6241
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    2CF48130 14916 package body SYS.KUPW$WORKER
    2CF48130 6300 package body SYS.KUPW$WORKER
    2CF48130 2340 package body SYS.KUPW$WORKER
    2CF48130 6861 package body SYS.KUPW$WORKER
    2CF48130 1262 package body SYS.KUPW$WORKER
    2CF0850C 2 anonymous block
    Job "SYS"."GENERATETTS000024" stopped due to fatal error at 19:31:44

    More information:
    Using SQL Developer, I checked the view SYS.KU$_IOTABLE_VIEW referred to in the error message, and it does indeed report a problem with that view. The following code is the definition of that view. I have no idea what it's supposed to be doing, because it was part of the default installation. I certainly didn't write it. I did, however, execute the 'Test Syntax' button (on the Edit View screen), and the result was this error message:
    =======================================================
    The SQL syntax is valid, however the query is invalid or uses functionality that is not supported.
    Unknown error(s) parsing SQL: oracle.javatools.parser.plsql.syntax.ParserException: Unexpected token
    =======================================================
    The SQL for the view looks like this:
    REM SYS KU$_IOTABLE_VIEW
    CREATE OR REPLACE FORCE VIEW "SYS"."KU$_IOTABLE_VIEW" OF "SYS"."KU$_IOTABLE_T"
    WITH OBJECT IDENTIFIER (obj_num) AS
    select '2','3',
    t.obj#,
    value(o),
    -- if this is a secondary table, get base obj and ancestor obj
    decode(bitand(o.flags, 16), 16,
    (select value(oo) from ku$_schemaobj_view oo, secobj$ s
    where o.obj_num=s.secobj#
    and oo.obj_num=s.obj#),
    null),
    decode(bitand(o.flags, 16), 16,
    (select value(oo) from ku$_schemaobj_view oo, ind$ i, secobj$ s
    where o.obj_num=s.secobj#
    and i.obj#=s.obj#
    and oo.obj_num=i.bo#),
    null),
    (select value(s) from ku$_storage_view s
    where i.file# = s.file_num
    and i.block# = s.block_num
    and i.ts# = s.ts_num),
    ts.name, ts.blocksize,
    i.dataobj#, t.bobj#, t.tab#, t.cols,
    t.clucols, i.pctfree$, i.initrans, i.maxtrans,
    mod(i.pctthres$,256), i.spare2, t.flags,
    t.audit$, t.rowcnt, t.blkcnt, t.empcnt, t.avgspc, t.chncnt, t.avgrln,
    t.avgspc_flb, t.flbcnt, t.analyzetime, t.samplesize, t.degree,
    t.instances, t.intcols, t.kernelcols, t.property, 'N', t.trigflag,
    t.spare1, t.spare2, t.spare3, t.spare4, t.spare5, t.spare6,
    decode(bitand(t.trigflag, 65536), 65536,
    (select e.encalg from sys.enc$ e where e.obj#=t.obj#),
    null),
    decode(bitand(t.trigflag, 65536), 65536,
    (select e.intalg from sys.enc$ e where e.obj#=t.obj#),
    null),
    (select c.name from col$ c
    where c.obj# = t.obj#
    and c.col# = i.trunccnt and i.trunccnt != 0
    and bitand(c.property,1)=0),
    cast( multiset(select * from ku$_column_view c
    where c.obj_num = t.obj#
    order by c.col_num, c.intcol_num
    ) as ku$_column_list_t
    (select value(nt) from ku$_nt_parent_view nt
    where nt.obj_num = t.obj#),
    cast( multiset(select * from ku$_constraint0_view con
    where con.obj_num = t.obj#
    and con.contype not in (7,11)
    ) as ku$_constraint0_list_t
    cast( multiset(select * from ku$_constraint1_view con
    where con.obj_num = t.obj#
    ) as ku$_constraint1_list_t
    cast( multiset(select * from ku$_constraint2_view con
    where con.obj_num = t.obj#
    ) as ku$_constraint2_list_t
    cast( multiset(select * from ku$_pkref_constraint_view con
    where con.obj_num = t.obj#
    ) as ku$_pkref_constraint_list_t
    (select value(ov) from ku$_ov_table_view ov
    where ov.bobj_num = t.obj#
    and bitand(t.property, 128) = 128), -- IOT has overflow
    (select value(etv) from ku$_exttab_view etv
    where etv.obj_num = o.obj_num)
    from ku$_schemaobj_view o, tab$ t, ind$ i, ts$ ts
    where t.obj# = o.obj_num
    and t.pctused$ = i.obj# -- For IOTs, pctused has index obj#
    and bitand(t.property, 32+64+512) = 64 -- IOT but not overflow
    -- or partitioned (32)
    and i.ts# = ts.ts#
    AND (SYS_CONTEXT('USERENV','CURRENT_USERID') IN (o.owner_num, 0) OR
    EXISTS ( SELECT * FROM session_roles
    WHERE role='SELECT_CATALOG_ROLE' ));
    GRANT SELECT ON "SYS"."KU$_IOTABLE_VIEW" TO PUBLIC;

  • Getting the error pop up ORA-04063: package body "APPS.PA_FAXFACE"

    Hi All,
    When I try to open the 'Capital Projects' screen (Capitalization -> Capital Projects) I get an error pop up with the error message "ORA-04063: package body "APPS.PA_FAXFACE"". I choose to close the error pop up, it shows me the Capital Projects window where I tried to search for my capital project. Just when I hit the Find button it throws me away and closes my forms session.
    I checked the status of the package PA_FAXFACE which was INVALID (obviously, because it says the package has errors). I tried to recompile the package body with alter package command but that failed and it didn't show any error messages.
    So, I understand that there are some errors in the package PA_FAXFACE. I am not sure why the errors are there and what might have caused the errors.
    Any pointers to resolve the above issue or any light towards resolving the issue would be of great help.
    Thanks in Advance !!
    Lalitha.

    Tom,
    modified the file $APPL_TOP/admin/adconfig.txt
    replace the old node to new node in this file and run adautocfg.shAre you referring to APPL_TOP_NAME?
    but after successful autoconfig and check the name in adconfig.txt it changed back the really old name.
    Please advise where it picked up that name from.From the context file, so verify all parameters in the application context file which still points to the old server and replace it with the new one then run AutoConfig again. For APPL_TOP_NAME, it is "<APPL_TOP_NAME oa_var="s_atName">NODE NAME</APPL_TOP_NAME>".
    Regards,
    Hussein

  • Export failed with error ORA-04063: package body "SYS.DBMS_CUBE_EXP" has er

    Hi
    We are having 11.2.0.2 database on Linux 5. From last two days the export backup is getting failed with the below error.
    . exporting post-schema procedural objects and actions
    EXP-00008: ORACLE error 4063 encountered
    ORA-04063: package body "SYS.DBMS_CUBE_EXP" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_CUBE_EXP"
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when calling SYS.DBMS_CUBE_EXP.schema_i
    . exporting statistics
    Export terminated successfully with warnings.
    When I checked the status of this package DBMS_CUBE_EXP its showing invalid. I tried to compile the body of the package. But it was throwing below error.
    SQL> show errors
    Errors for PACKAGE BODY DBMS_CUBE_EXP:
    LINE/COL ERROR
    53/5 PL/SQL: SQL Statement ignored
    54/10 PL/SQL: ORA-04045: errors during recompilation/revalidation of
    SYS.DBA_XDS_INSTANCE_SETS
    ORA-01422: exact fetch returns more than requested number of rows
    I tried to query this view or describe the above view. But it was throwing the same error.
    ERROR at line 1:
    ORA-04045: errors during recompilation/revalidation of
    SYS.DBA_XDS_INSTANCE_SETS
    ORA-01422: exact fetch returns more than requested number of rows
    I couldnt get a proper solution from google regarding this view or to compile the above package.
    Now we are stcuked without the backups. It would be great if you guys look into it.
    Thanks
    SHIYAS M

    Yes I tried with take the export with SYS user. This time it thrown the error in the first and last too same as before.
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    EXP-00008: ORACLE error 4063 encountered
    ORA-04063: package body "SYS.DBMS_CUBE_EXP" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_CUBE_EXP"
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when calling SYS.DBMS_CUBE_EXP.schema_info_exp
    . exporting foreign function library names for user U_20102
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user U_20102
    About to export U_20102's objects ...
    I ran below scripts as per u provided the link
    @$ORACLE_HOME/rdbms/admin/catdpb.sql and utlrp.sql
    Still it didnt get compiled.
    One more thing I tried running expdp. It totally got failed by throwing the similar error. It didnt even export the tables too.
    ===============================================================================
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS []
    ORA-31642: the following SQL statement fails:
    BEGIN "SYS"."DBMS_CUBE_EXP".SCHEMA_CALLOUT(:1,0,1,'11.02.00.00.00'); END;
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_METADATA", line 1245
    ORA-04063: package body "SYS.DBMS_CUBE_EXP" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_CUBE_EXP"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.KUPW$WORKER", line 8353
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    0x1a3257060 19208 package body SYS.KUPW$WORKER
    0x1a3257060 8385 package body SYS.KUPW$WORKER
    0x1a3257060 12748 package body SYS.KUPW$WORKER
    0x1a3257060 2546 package body SYS.KUPW$WORKER
    0x1a3257060 9054 package body SYS.KUPW$WORKER
    0x1a3257060 1688 package body SYS.KUPW$WORKER
    0x1a8bc1630 2 anonymous block
    Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS []
    ORA-31642: the following SQL statement fails:
    BEGIN "SYS"."DBMS_CUBE_EXP".SCHEMA_CALLOUT(:1,0,1,'11.02.00.00.00'); END;
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_METADATA", line 1245
    ORA-04063: package body "SYS.DBMS_CUBE_EXP" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_CUBE_EXP"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.KUPW$WORKER", line 8353
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    0x1a3257060 19208 package body SYS.KUPW$WORKER
    0x1a3257060 8385 package body SYS.KUPW$WORKER
    0x1a3257060 12748 package body SYS.KUPW$WORKER
    0x1a3257060 2546 package body SYS.KUPW$WORKER
    0x1a3257060 9054 package body SYS.KUPW$WORKER
    0x1a3257060 1688 package body SYS.KUPW$WORKER
    0x1a8bc1630 2 anonymous block
    Job "SYS"."SYS_EXPORT_SCHEMA_01" stopped due to fatal error at 17:58:34
    =========================================================================

  • I need help understanding/correcting an ORA-04063 error.

    Hello,
    I am new to Oracle and I have been trying to uderstand/correct this error message for a couple of days now. I would appreciate any help that you can provide. I have included botht he error message and the procedure where the error occurs. Thanks in advance!
    ORA-04063: package body "SAFETYUSER.SEL_INCIDENT_INFO" has errors ORA-06508: PL/SQL: could not find program unit being called ORA-06512: at line 1
    Error(53,3): PL/SQL: Statement ignored
    Error(53,25): PLS-00302: component 'ECUID' must be declared
    CREATE OR REPLACE --44 new
    PACKAGE BODY "SEL_INCIDENT_INFO" as
    procedure sel_0022Info
    in_ID0022 in number,
    out_eName out t_varChar2,
    out_mName out t_varChar2,
    out_Work out t_varChar2,
    out_Loc out t_varChar2,
    out_Sign out t_varChar2,
    out_obsDate out t_varChar2,
    out_veh out t_varChar2,
    out_vehType out t_varChar2,
    out_vehTag out t_varChar2,
    out_secSup out t_varChar2,
    out_dlic out t_varChar2,
    out_dlType out t_varChar2,
    out_rc out t_varChar2,
    out_JTitle out t_varChar2,
    out_actTake out t_varChar2,
    out_jobfunc out t_varchar2,
    out_ecuid out t_varchar2,
    out_mcuid out t_varchar2
    is
    -- cursor to get ecuid ID for entered employee cuid
    CURSOR cur0022 IS
    select o.euid,o.muid,o.workperf,o.loc,o.obsdate,o.sign,o.dlid,o.secid,o.vehid, o.action, o.eID
    from TBL_0022 o
    where o.id0022 = in_ID0022;
    -- variable
    out_eFN varchar2(50);
    out_mFN varchar2(50);
    out_eJF varchar2(4);
    out_DL varchar2(100);
    out_DLT varchar2(100);
    out_Sec varchar2(100);
    out_Vh varchar2(50);
    out_VhT varchar2(50);
    out_VhTg varchar2(50);
    out_eID varchar2(7);
    out_eRC varchar2(10);
    out_signFull varchar2(50);
    out_eJT varchar2(100);
    -- rows for cursors
    row0022 cur0022%rowtype;
    begin
    open cur0022;
    fetch cur0022 into row0022;
    sel_eFullName(row0022.ecuid,out_eFN, out_eJF,out_eID,out_eRC,out_eJT);
    --sel_mFullName(row0022.mcuid,out_mFN);
    sel_DL(row0022.DLID,out_DL,out_DLT);
    sel_Sec(row0022.secid,out_Sec);
    sel_Veh(row0022.vehid,out_Vh,out_VhT,out_VhTg);
    out_veh(1) := out_vh;
    out_vehType(1) := out_vht;
    out_vehTag(1) := out_vhtg;
    out_secSup(1) := out_Sec;
    out_dlic(1) := out_DL;
    out_dlType(1) := out_DLT;
    out_eName(1) := out_eFN;
    out_mName(1) := out_mFN;
    out_Work(1) := row0022.workperf;
    out_Loc(1) := row0022.loc;
    sel_mfullname(row0022.sign,out_signFull);
    out_Sign(1) := row0022.sign;--out_signFull;
    out_obsDate(1) :=row0022.obsdate;
    out_actTake(1) :=row0022.action;
    out_jobFunc(1) := out_eJF;
    out_rc(1) := out_eRC;
    out_ecuid(1) := row0022.ecuid;
    out_mcuid(1) := row0022.mcuid;
    out_JTitle(1) := out_eJT;
    close cur0022;
    end;
    procedure sel_eFullName
    in_0022EcuID in varchar2, --number,
    out_eFN out varChar2,
    out_eJF out varchar2,
    out_eID out varchar2,
    out_eRC out varchar2,
         out_eJT out varchar2
    is
    -- cursor to get ecuid ID for entered employee cuid
    CURSOR curCUID IS
    select e.efn, e.eln,e.jobfunc,ecuid,rc,e.eid, e.jTitle
    from TBL_EINFO e
    where e.ecuid = in_0022ecuid
    order by e.eid desc;--eid = in_0022EID;
    -- rows for cursors
    rowCUID curCUID%rowtype;
    begin
    open curCUID;
    fetch curCUID into rowCUID;
    out_eFN := rowCUID.efn||' '||rowCUID.eln;
    out_eJF := rowCUID.jobfunc;
    out_eID := rowCUID.eid;--ecuid;
    out_eRC := rowCUID.rc;
    out_eJT := rowCUID.jTitle;
    close curCUID;
    end;

    Mistake in the record field name:
    CURSOR cur0022 IS
    select o.euid,o.muid,o.workperf,o.loc,o.obsdate,o.sign,o.dlid,o.secid,o.vehid, o.action, o.eID
    from TBL_0022 o
    where o.id0022 = in_ID0022;
    row0022 cur0022%rowtype;
    begin
    open cur0022;
    fetch cur0022 into row0022;
    sel_eFullName(row0022.ecuid,out_eFN, out_eJF,out_eID,out_eRC,out_eJT);
    Has to be everythere you are using row0022 - row0022.euid
    Rgds.

  • Data Pump Error - ORA-04063: package body "SYS.DBMS_INTERNAL_LOGSTDBY" has

    Hi All,
    I am getting the following errors when I am trying to connect with datapump.My db is 10g and os is linux.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    ORA-31626: job does not exist
    ORA-04063: package body "SYS.DBMS_INTERNAL_LOGSTDBY" has errors
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at "SYS.DBMS_LOGSTDBY", line 24
    ORA-06512: at "SYS.KUPV$FT", line 676
    ORA-04063: package body "SYS.DBMS_INTERNAL_LOGSTDBY" has errors
    ORA-06508: PL/SQL: could not find program unit being called
    When I tried to compile this package I am getting the following error
    SQL> alter package DBMS_INTERNAL_LOGSTDBY compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY DBMS_INTERNAL_LOGSTDBY:
    LINE/COL ERROR
    1405/4 PL/SQL: SQL Statement ignored
    1412/38 PL/SQL: ORA-00904: "SQLTEXT": invalid identifier
    1486/4 PL/SQL: SQL Statement ignored
    1564/7 PL/SQL: ORA-00904: "DBID": invalid identifier
    1751/2 PL/SQL: SQL Statement ignored
    1870/7 PL/SQL: ORA-00904: "DBID": invalid identifier
    Can anyony suggest/guide me how to resolve the issue.
    Thanks in advance

    SQL> SELECT OBJECT_TYPE,OBJECT_NAME FROM DBA_OBJECTS
    2 WHERE OWNER='SYS' AND STATUS<>'VALID';
    OBJECT_TYPE OBJECT_NAME
    VIEW DBA_COMMON_AUDIT_TRAIL
    PACKAGE BODY DBMS_INTERNAL_LOGSTDBY
    PACKAGE BODY DBMS_REGISTRY_SYS
    Thanks

  • FRM-40735: When validate item raised unhandled exception ora-04063

    hi experts,
    FRM-40735: When validate item raised unhandled exception ora-04063
    I have noticed the below error on my instance while trying to test some functionality.
    My EBS Version is R12.1.1 +11.1.0.7 db.
    Please advise.
    regards
    Mohammed. Abdul Muqeet

    FRM-40735: When validate item raised unhandled exception ora-04063
    I have noticed the below error on my instance while trying to test some functionality.How do you get this error?
    What is the navigation path?
    Please check the application.log file along with Apache log files for any errors.
    Thanks,
    Hussein

  • Function: I get ORA-04063 if I try to execute from another schema

    Hi All,
    I have a schema named "SCHEMA_A" and in this schema I have a function named TEST" that gets a numeric parameter "ID" and returns a string.
    Then I have a schema named "SCHEMA_B" with a grant on functions SCHEMA_A.TEST. I want to use function "TEST" from SCHEMA_B.
    If I try to execute SELECT SCHEMA_A.TEST(1) FROM DUAL inside schema SCHEMA_B I get ORA-04063.
    But if I try to execute TEST(1) from owner schema (SCHEMA_A) and then again from SCHEMA_B it works. But it works only for parameter with value = 1.
    If I try SELECT SCHEMA_A.TEST(2) FROM DUAL I get again ORA-04063. It seems that to use a specific value for function parameter, I need to execute first in the owner schema and only after that I can execute from the other schema.
    Function code is very simple:
    +CREATE OR REPLACE FUNCTION TEST(ID IN NUMBER)+
    +RETURN VARCHAR2+
    +IS+
    +l_return VARCHAR2(256);+
    +BEGIN+
    +l_return := 'hello world';+
    +RETURN (l_return);+
    +END TEST;+
    I use Oracle 11g R2.
    Any idea why it happens?...

    I can compile and grant as you did.
    But if I try to execute from a schema different by owner (in your case SCOTT) something like
    SELECT <your schema>.TEST(1) FROM DUAL
    I get an error.
    To fix, I have to execute this function in the owner schema with exactly the same parameter.
    If I execute with a parameter in the owner schema (suc as 1,2 and 3), I can execute also in schema different by owner (in your case SCOTT). But if I try with a new parameter (es: 4) from SCOTT it give me an error.
    Strange...

  • FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-04063.

    Hi All,
    After Cloning the 11i instace to 12.1.3 and when trying to create an absence
    am gettin the follwing Error
    ORA-01403: no data found
    FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-04063.
    Please note I didnt get any of these kind of errors when cloned for CRP1 or CRP2.
    Thanks

    Hi,
    Its because of the invalid objects. We have compiled the invalid objects again and the issue got fixed.
    Thanks

Maybe you are looking for

  • Dock icons will not disappear when I drag them to desktop or trash

    On my MacBook Pro, when I drag an icon from the dock to the desktop or to trash, it bounces back to where it was on the dock. I tried to move Applescript Editor, AppleWorks 6, Keychain Access, Activity Monitor,  Quick Time Player and several more ico

  • [Solved] i3 workspace output woes

    Semi-recently switched to i3, loving everything about it so far other than one fairly large issue that is stopping me using it like a true WM. Basically, I'm trying to set 4 workspaces on each monitor (of which I have 2), and it just straight up does

  • Screen is white any idea why

    My MacBooks screen is white , it shut down and the.bottom is hot did my hard drive get damaged?

  • [svn:fx-trunk] 12909: Pre-FP10.1, set default tab stops in TLF.

    Revision: 12909 Revision: 12909 Author:   [email protected] Date:     2009-12-14 10:33:13 -0800 (Mon, 14 Dec 2009) Log Message: Pre-FP10.1, set default tab stops in TLF.  Without this, if there is a tab and TLF is measuring width, the tab will measur

  • Leopard - File sharing too much?

    I've got Leopard setup with file sharing over SMB. Right now, the only folder I have shared under 'File Sharing' in the system prefs is my Home directory, and that's only shared to a single account. Yet, from my windows machine, I see every signal dr