Dimension refresh fails with ORA-34034

Hi All,
We are currently experiencing a strange behaviour when we refresh one of our dimensions.
One of our dimensions is refreshed daily and has been working fine until yesterday when it fails with this error:
<ERROR>
<![CDATA[
XOQ-01601: error while loading data for Cube Dimension "OLAPUSER.PROD" into the analytic workspace
ORA-34034: 742 is already a value of SALES!PROD_CLASS_SURROGATE.
XOQ-01600: OLAP DML error while executing DML "SYS.AWXML!R11_LOAD_DIM"]]>>
</ERROR>
The PROD dimension is a balanced hierarchy and we've checked theren't any duplicate keys at every level of the hierarchy.
Any idea?
Thanks

I have seen this (in 11.1.0.7, I believe) when the metadata cache ("kgl") gets out of synch with the data dictionary. Specifically there is a flag that determines if prefixes get added to dimension members ("use surrogates" in AWM terms) that becomes false instead of true. If you look at the generated SQL in the OUTPUT column of the CUBE_BUILD_LOG you may find that sometimes a prefix is added to dimension members (e.g. "LEAF_LEVEL_" || dim_table.leaf_column) and othertimes it is not (e.g. just dim_table.leaf_column). A workaround if this is the case may be to execute the following (as dba) before building the dimension.
alter system flush shared_pool;

Similar Messages

  • Materialized view complete refresh fails with ora-02068

    exec dbms_mview.refresh('WZ_PMS_INVOICE_DTLS','C');
    BEGIN dbms_mview.refresh('WZ_PMS_INVOICE_DTLS','C'); END;
    ERROR at line 1:
    ORA-12008: error in materialized view refresh path
    ORA-02068: following severe error from
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 820
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 877
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 858
    ORA-06512: at line 1
    Please help
    RP

    i traced this CTAS
    alter session set timed_statistics = true;
    alter session set events '10046 trace name context forever, level 12';
    create table pms_temp as select telephone_no from pms_invoice_dtls@cdrwest;
    create table pms_temp as select telephone_no from pms_invoice_dtls@cdrwest
    ERROR at line 1:
    ORA-02068: following severe error from
    and it generated a trace file in udump
    the last few lines contain the following
    =====================
    PARSING IN CURSOR #11 len=283 dep=1 uid=0 oct=6 lid=0 tim=1277033874638425 hv=3948238198 ad='9f4a5a30'
    update seg$ set type#=:4,blocks=:5,extents=:6,minexts=:7,maxexts=:8,extsize=:9,extpct=:10,user#=:11,iniexts=:12,lists=decode(:13, 65535, NULL, :13),groups=decode(:14, 65535, NULL, :14), cachehint=:15, hwmincr=:16, spare1=DECODE(:17,0,NULL,:17) where ts#=:1 and file#=:2 and block#=:3
    END OF STMT
    PARSE #11:c=0,e=17,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=4,tim=1277033874638420
    BINDS #11:
    bind 0: dty=2 mxl=22(22) mal=00 scl=00 pre=00 oacflg=08 oacfl2=1 size=24 offset=0
    bfp=b781099c bln=24 avl=02 flg=05
    value=3
    bind 1: dty=2 mxl=22(22) mal=00 scl=00 pre=00 oacflg=08 oacfl2=1 size=24 offset=0
    bfp=b7810978 bln=24 avl=03 flg=05
    value=448
    bind 2: dty=2 mxl=22(22) mal=00 scl=00 pre=00 oacflg=08 oacfl2=1 size=24 offset=0
    bfp=b7810954 bln=24 avl=02 flg=05
    value=22
    bind 3: dty=2 mxl=22(22) mal=00 scl=00 pre=00 oacflg=08 oacfl2=1 size=24 offset=0
    bfp=b7810930 bln=24 avl=02 flg=05
    value=1
    bind 4: dty=2 mxl=22(22) mal=00 scl=00 pre=00 oacflg=08 oacfl2=1 size=24 offset=0
    bfp=b781090c bln=24 avl=06 flg=05
    value=2147483645
    bind 5: dty=2 mxl=22(22) mal=00 scl=00 pre=00 oacflg=08 oacfl2=1 size=24 offset=0
    bfp=b78108e8 bln=24 avl=02 flg=05
    value=64
    bind 6: dty=2 mxl=22(22) mal=00 scl=00 pre=00 oacflg=08 oacfl2=1 size=24 offset=0
    bfp=b78108c4 bln=24 avl=01 flg=05
    value=0
    bind 7: dty=2 mxl=22(22) mal=00 scl=00 pre=00 oacflg=08 oacfl2=1 size=24 offset=0
    bfp=b78108a0 bln=24 avl=03 flg=05
    value=2475
    bind 8: dty=2 mxl=22(22) mal=00 scl=00 pre=00 oacflg=08 oacfl2=1 size=24 offset=0
    bfp=b780fe9c bln=24 avl=02 flg=05
    value=4
    bind 9: dty=2 mxl=22(22) mal=00 scl=00 pre=00 oacflg=08 oacfl2=1 size=24 offset=0
    bfp=b780fe78 bln=24 avl=01 flg=05
    value=0
    bind 10: (No oacdef for this bind)
    bind 11: dty=2 mxl=22(22) mal=00 scl=00 pre=00 oacflg=08 oacfl2=1 size=24 offset=0
    bfp=b780fe54 bln=24 avl=01 flg=05
    value=0
    bind 12: (No oacdef for this bind)
    bind 13: dty=2 mxl=22(22) mal=00 scl=00 pre=00 oacflg=08 oacfl2=1 size=24 offset=0
    bfp=b780fe30 bln=24 avl=01 flg=05
    value=0
    bind 14: dty=2 mxl=22(22) mal=00 scl=00 pre=00 oacflg=08 oacfl2=1 size=24 offset=0
    bfp=b780fe0c bln=24 avl=05 flg=05
    value=1642736
    bind 15: dty=2 mxl=22(22) mal=00 scl=00 pre=00 oacflg=08 oacfl2=1 size=24 offset=0
    bfp=b780fde8 bln=24 avl=04 flg=05
    value=131073
    bind 16: (No oacdef for this bind)
    bind 17: dty=2 mxl=22(22) mal=00 scl=00 pre=00 oacflg=08 oacfl2=1 size=24 offset=0
    bfp=b7810a08 bln=22 avl=03 flg=05
    value=137
    bind 18: dty=2 mxl=22(22) mal=00 scl=00 pre=00 oacflg=08 oacfl2=1 size=24 offset=0
    bfp=b78109e4 bln=24 avl=02 flg=05
    value=68
    bind 19: dty=2 mxl=22(22) mal=00 scl=00 pre=00 oacflg=08 oacfl2=1 size=24 offset=0
    bfp=b78109c0 bln=24 avl=04 flg=05
    value=104537
    EXEC #11:c=1000,e=1183,p=0,cr=5,cu=1,mis=0,r=1,dep=1,og=4,tim=1277033874639736
    STAT #11 id=1 cnt=0 pid=0 pos=1 obj=0 op='UPDATE '
    STAT #11 id=2 cnt=1 pid=1 pos=1 obj=14 op='TABLE ACCESS CLUSTER SEG$ '
    STAT #11 id=3 cnt=1 pid=2 pos=1 obj=9 op='INDEX UNIQUE SCAN I_FILE#_BLOCK# '
    EXEC #3:c=726889,e=217706310,p=7,cr=417,cu=409,mis=0,r=0,dep=0,og=4,tim=1277033875797114
    ERROR #3:err=2068 tim=1919250001
    *** 2011-06-10 13:16:24.262
    XCTEND rlbk=0, rd_only=1
    STAT #6 id=1 cnt=1 pid=0 pos=1 obj=475 op='TABLE ACCESS FULL CDC_SYSTEM$ '

  • Cube refresh fails with an error below

    Hi,
    We are experiencing this problem below during planning application database refresh. We have been refreshing the database everyday, but all of a sudden the below error is appearing in log. The error is something like below:
    Cube refresh failed with error: java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
    java.io.EOFException
    When the database refresh is done from workspace manually, the database refresh is happening successfully. But when triggered from unix script, its throwing the above error.
    Is it related to some provisioning related issue for which user has been removed from MSAD?? Please help me out on this.
    Thanks,
    mani
    Edited by: sdid on Jul 29, 2012 11:16 PM

    I work with 'sdid' and here is a better explaination of what exactly is going on -
    As part of our nightly schedule we have a unix shell script that executes refresh of essbase cubes from planning using the 'CubeRefresh.sh' shell script.
    Here is how our shell looks like -
    /opt/hyperion/Planning/bin/CubeRefresh.sh /A:<cube name> /U:<user id> /P:<password> /R /D /FS
    Here is what 'CubeRefresh.sh' looks like -
    PLN_JAR_PATH=/opt/hyperion/Planning/bin
    export PLN_JAR_PATH
    . "${PLN_JAR_PATH}/setHPenv.sh"
    "${HS_JAVA_HOME}/bin/java" -classpath ${CLASSPATH} com.hyperion.planning.HspCubeRefreshCmd $1 $2 $3 $4 $5 $6 $7
    And here is what 'setHPenv.sh' looks like -
    HS_JAVA_HOME=/opt/hyperion/common/JRE/Sun/1.5.0
    export HS_JAVA_HOME
    HYPERION_HOME=/opt/hyperion
    export HYPERION_HOME
    PLN_JAR_PATH=/opt/hyperion/Planning/lib
    export PLN_JAR_PATH
    PLN_PROPERTIES_PATH=/opt/hyperion/deployments/Tomcat5/HyperionPlanning/webapps/HyperionPlanning/WEB-INF/classes
    export PLN_PROPERTIES_PATH
    CLASSPATH=${PLN_JAR_PATH}/HspJS.jar:${PLN_PROPERTIES_PATH}:${PLN_JAR_PATH}/hbrhppluginjar:${PLN_JAR_PATH}/jakarta-regexp-1.4.
    jar:${PLN_JAR_PATH}/hyjdbc.jar:${PLN_JAR_PATH}/iText.jar:${PLN_JAR_PATH}/iTextAsian.jar:${PLN_JAR_PATH}/mail.jar:${PLN_JAR_PA
    TH}/jdom.jar:${PLN_JAR_PATH}/dom.jar:${PLN_JAR_PATH}/sax.jar:${PLN_JAR_PATH}/xercesImpl.jar:${PLN_JAR_PATH}/jaxp-api.jar:${PL
    N_JAR_PATH}/classes12.zip:${PLN_JAR_PATH}/db2java.zip:${PLN_JAR_PATH}/db2jcc.jar:${HYPERION_HOME}/common/CSS/9.3.1/lib/css-9_
    3_1.jar:${HYPERION_HOME}/common/CSS/9.3.1/lib/ldapbp.jar:${PLN_JAR_PATH}/log4j.jar:${PLN_JAR_PATH}/log4j-1.2.8.jar:${PLN_JAR_
    PATH}/hbrhppluginjar.jar:${PLN_JAR_PATH}/ess_japi.jar:${PLN_JAR_PATH}/ess_es_server.jar:${PLN_JAR_PATH}/commons-httpclient-3.
    0.jar:${PLN_JAR_PATH}/commons-codec-1.3.jar:${PLN_JAR_PATH}/jakarta-slide-webdavlib.jar:${PLN_JAR_PATH}/ognl-2.6.7.jar:${HYPE
    RION_HOME}/common/CLS/9.3.1/lib/cls-9_3_1.jar:${HYPERION_HOME}/common/CLS/9.3.1/lib/EccpressoAll.jar:${HYPERION_HOME}/common/
    CLS/9.3.1/lib/flexlm.jar:${HYPERION_HOME}/common/CLS/9.3.1/lib/flexlmutil.jar:${HYPERION_HOME}/AdminServices/server/lib/easse
    rverplugin.jar:${PLN_JAR_PATH}/interop-sdk.jar:${PLN_JAR_PATH}/HspCopyApp.jar:${PLN_JAR_PATH}/commons-logging.jar:${CLASSPATH
    export CLASSPATH
    case $OS in
    HP-UX)
    SHLIB_PATH=${HYPERION_HOME}/common/EssbaseRTC/9.3.1/bin:${HYPERION_HOME}/Planning/lib:${SHLIB_PATH:-}
    export SHLIB_PATH
    SunOS)
    LD_LIBRARY_PATH=${HYPERION_HOME}/common/EssbaseRTC/9.3.1/bin:${HYPERION_HOME}/Planning/lib:${LD_LIBRARY_PATH:-}
    export LD_LIBRARY_PATH
    AIX)
    LIBPATH=${HYPERION_HOME}/common/EssbaseRTC/9.3.1/bin:${HYPERION_HOME}/Planning/lib:${LIBPATH:-}
    export LIBPATH
    echo "$OS is not supported"
    esac
    We have not made any changes to either the shell or 'CubeRefresh.sh' or 'setHPenv.sh'
    From the past couple of days the shell that executes 'CubeRefresh.sh' has been failing with the error message below.
    Cube refresh failed with error: java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
    java.io.EOFException
    This error is causing our Essbase cubes to not get refreshed from Planning cubes through these batch jobs.
    On the other hand the manual refesh from within Planning works.
    We are on Hyperion® Planning – System 9 - Version : 9.3.1.1.10
    Any help on this would be greatly appreciated.
    Thanks
    Andy
    Edited by: Andy_D on Jul 30, 2012 9:04 AM

  • Financial Statement Generators fail with ORA-01722

    We upgaded from 11.5.10.2 to R12.1.3. Since then we have FGSs fail with ora-01722

    *+<Moderator edit - deleted MOS Doc content - pl do NOT post such content - it is a violation of your Support agreement>+*
    Please refer:
    R12: FSG: PERF0005 Error Detected In GET_DEF_LDGS – ORA-01403: No Data Found Common Issues [ID 1368691.1]
    R12: RGRARG FSG Completes with Error, rgrsap.rgrsxp: ORA-01722: Invalid Number [ID 579655.1]

  • 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 fails with ORA-39125: Worker unexpected fatal error in KUPW $

    Hi Friends,
    Oracle 10.2.0.4.0 on Sun OS
    Im trying to do metadata_only export using EXPDP
    Facing the below error
    ORA-39125: Worker unexpected fatal error in KUPW $ WORKER.UNLOAD_METADATA while calling DBMS_METADATA.FETCH_XML_CLOB []
    ORA-31642: The following SQL statement fails:
    BEGIN "SYS". "DBMS_RULE_EXP_RULES." SCHEMA_CALLOUT (1,1,1, '10 .02.00.04.00 ') END;
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_METADATA", line 907
    ORA-00942: table or view does not exist
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPW $ WORKER", line 6307
    PL / SQL Call Stack
    object line object
    handle number name
    51bf5dc20 15032 package body SYS.KUPW $ WORKER
    51bf5dc20 6372 package body SYS.KUPW $ WORKER
    51bf5dc20 2396 package body SYS.KUPW $ WORKER
    51bf5dc20 6944 package body SYS.KUPW $ WORKER
    51bf5dc20 1314 package body SYS.KUPW $ WORKER
    51c7e8650 2 anonymous block
    ====================================
    Findings:
    I check the status of DBMS_RULE_EXP_RULES
    OWNER OBJECT_NAME OBJECT_TYPE STATUS
    SYS DBMS_RULE_EXP_RULES PACKAGE BODY VALID
    SYS DBMS_RULE_EXP_RULES PACKAGE VALID
    PUBLIC DBMS_RULE_EXP_RULES SYNONYM VALID
    DBMS_METADATA & DBMS_SYS_ERROR packages are valid.
    ======================================================
    Error in the alert:
    The value (30) of MAXTRANS parameter ignored.
    kupprdp: master process DM00 started with pid=25, OS id=6506
    to execute - SYS.KUPM$MCP.MAIN('SYS_EXPORT_SCHEMA_01', 'SYS', 'KUPC$C_1_20120908075037', 'KUPC$S_1_20120908075037', 0);
    kupprdp: worker process DW01 started with worker id=1, pid=26, OS id=6633
    to execute - SYS.KUPW$WORKER.MAIN('SYS_EXPORT_SCHEMA_01', 'SYS');
    when i check the trace file, find the below error
    ORA-04063: package body "SCH.COLLECTION" has errors
    But when I check the status of the package, it's valid.
    Thanks for your help
    KSG

    Hi;
    Is it full exp? Of yes please review:
    DataPump Export Fails With Errors ORA-39125 ORA-31642 ORA-1422 [ID 790988.1]
    Full And Schema DataPump Exports Fail With Errors ORA-39125 ORA-31642 During DBMS_SCHED_EXPORT_CALLOUTS.SCHEMA_CALLOUT [ID 1109045.1]
    EXPDP FAILS WITH ORA-39125 ORA-31642 DBMS_SCHED_EXPORT_CALLOUTS [ID 445291.1]
    Full Database DataPump Export (EXPDP) Fails With Errors ORA-39125 ORA-4045 ORA-1031 On XDB.XDB_PI_TRIG [ID 1102434.1]
    Errors ORA-39125 ORA-1801 When Running DataPump Export (EXPDP) [ID 815683.1]
    Regard
    Helios

  • Oem 12.1.0.3 installer fails with ora-01017

    Greetings,
    I am attempting to upgrade my OEM 12.1.0.1 installation to 12.1.0.3. I am following the instructions in the Oracle Enterprise Manager Cloud Control Upgrade Guide and Oracle Support Note 1568143.1. I have verified that all prerequisites are met and have installed patch 11061801 to the repository. The repository and OMS are on different machines. The 12.1.0.1 installation is able to connect to the repository, it has been running successfully for some time now. On the OMS server I stopped the OMS and the Agent and I invoke the 12.1.0.3 installer. I follow the steps and when it gets to the connection page it fails with ORA-01017. The messages are shown -
    1. Verify if the SYS password you entered is valid.
    2. Verify if the database initialization parameter REMOTE_LOGIN_PASSWORDFILE is set to either Shared or Exclusive.
    3. Verify if a password file with the file name orapw<SID> exists in the <ORACLE_HOME>/dbs directory.
    All conditions are met:
    -bash-3.2$ echo $ORACLE_SID
    oemrepos
    SQL> connect sys as sysdba
    Enter password:
    Connected.
    SQL> connect sysman
    Enter password:
    Connected.
    SQL> show parameter remote_login_passwordfile
    NAME                                 TYPE        VALUE
    remote_login_passwordfile            string      EXCLUSIVE
    -bash-3.2$ ls -l $ORACLE_HOME/dbs/orapwoemrepos
    -rw-r----- 1 oracle dba 1536 Jan 30  2013 /usr/local/oracle/app/oracle/product/11.2.0/dbhome_1/dbs/orapwoemrepos
    I am able to connect remotely from another machine. sqlplus is not installed on the OMS server.
    I am completely stumped and in need of assistance. Searching the web only indicates that I need to insure that the above listed conditions should be met, they are. If anyone has any suggestions I would appreciate the help.
    Thank you.
    Bill Wagman

    On repository server , can you login as sys user ?
    Try to connect through listener and share the result.
    sqlplus sys/<password>@<connectstring> as sysdba
    Thanks
    Rajesh

  • CSSCAN for database character set conversion failing with ORA-01578

    Hi ,
    CSSCAN for database character set conversion failing with ORA-01578: ORACLE data block corrupted (file # 84, block # 23930). please help me out in this regard.
    Thanks,
    Sravan.

    Hi Anand,
    Thanks for your update. The segment is a table not an index in my case. And i got this error while running CSSCAN on Apps database for character set conversion to UTF8 from WE8ISO8859P1. Please find the snapshot below for your reference.
    SQL> select segment_name, segment_type, owner from dba_extents where file_id = 84 and 23930 between block_id and block_id + blocks - 1;
    SEGMENT_NAME
    SEGMENT_TYPE OWNER
    EDW_LOOKUP_M
    TABLE POA
    SQL> ANALYZE TABLE POA.EDW_LOOKUP_M VALIDATE STRUCTURE CASCADE;
    ANALYZE TABLE POA.EDW_LOOKUP_M VALIDATE STRUCTURE CASCADE
    ERROR at line 1:
    ORA-01578: ORACLE data block corrupted (file # 84, block # 23930)
    ORA-01110: data file 84: '/d911/oracle/dbcondata/poad01.dbf'
    Thanks,
    Sravan.

  • SRVCTL START DATABASE FAILS WITH  ORA-00119

    Hi,
    My DB version is 11.2.0.2.3
    I am able to start the DB thorough sqlplus as conventional way.But when I am trying to start using SRVCTL it gives the following errors:
    CRS-5017: The resource action "ora.****.db start" encountered the following error:
    SRVCTL START DATABASE FAILS WITH ORA-00119: invalid specification for system parameter LOCAL_LISTENER
    ORA-00132: syntax error or unresolved network name 'LISTENER_local'
    Can you please suggest for any workaround.
    Thanks

    Did you check the TNS_ADMIN? Where does it point to?
    Also check if you have all the network files placed under the directory pointed to by TNS_ADMIN.
    sqlnet.ora
    listener.ora
    tnsnames.ora

  • All scheduled jobs started suddenly to fail with ORA-01031: insufficient pr

    I have a setup of gridcontrol 11g on windows 2008. I've been running successful for weeks until the other day when all my scheduled jobs started to fail with
    ORA-01031: insufficient privileges (rman jobs)
    ERROR: Invalid username and/or password (sql scripts).
    I verified for the accounts being locked, pw correct, expired / grace period, etc.
    all good when I try from the command line. running an rman backup from the command line works great, but the same one through the job scheduler fails with ORA-01031.
    I've dropped the jobs completely, recreated them again. same thing.
    I'm using preferred credentials and dropped and recreated them. same thing.
    I don't know where else to look. Only grid control scheduled jobs fail, but all of them do.
    I'm using SQLNET.AUTHENTICATION_SERVICES= (NTS) in my sql.ne (always have).
    we use a windows domain server / domain authentication for logging into boxes. I haven't changed any of my passwords.
    I am probably looking in the wrong places. Anybody able to help?

    Hi,
    ERROR: Invalid username and/or password (sql scripts).This error message clearly tells that password is incorrect and "insufficient privileges" shows that perhaps you are using SYS user for running the jobs and password for user SYS is incorrect.
    If you are specifying passwords in your scripts, i don't think you need to set preferred credentials.
    Try following
    1) Remove preferred credentials
    2) Don't check password of user sys by locally logging in (because if Os authentication is on, even wrong password will allow you loging into the database and you will think that password is correct). Try connecting database using SYS user from a remote machine and check whether it accepts your password and make sure you have same password for your jobs and in sql scripts
    3) If still problem, just for test, remove SQLNET.AUTHENTICATION_SERVICES= (NTS) and try
    Salman

  • Local Domain Index  query fails with ora-01410: invalid rowid

    Hello!
    I have a task to implement partitioned domain index for range partitioned table.
    As I understood from reference http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28425/dom_idx.htm
    the main difference is to provide support for partitioning operations by
    implementing corresponding ODCI interface functions.
    For the first I decided to create something simple to not spend time on system partitioned
    index storage table. My problem is that domain index works correctly when it's created without
    support for partitioning and produces "*ORA-01410: INVALID ROWID*" when it's created
    with LOCAL option.
    Test query:
    SELECT /* +index(from_sample_index) */ * FROM index_in_partitioned_tbl WHERE position_between(card_no)  < 50 ORDER BY card_no DESC;
    Index creared in this way returns 3 rows:
    CREATE INDEX from_sample_index ON index_in_partitioned_tbl (card_no) INDEXTYPE IS position_indextype;
    When index has been creared with LOCAL option I got "ORA-01410: INVALID ROWID" :
    CREATE INDEX from_sample_index ON index_in_partitioned_tbl (card_no) INDEXTYPE IS position_indextype LOCAL;
    I don't post implementation's source code to reduce amount of text in post. It works for global index.
    If I copy rowid from index storage table and then put it into something like
    SELECT card_no FROM index_in_partitioned_tbl WHERE rowid = 'AAAXHGAAEAAAFERAAh';
    then it will be executed successfully without any errors.
    I suppose the error could be somehow linked with "alter index" calls that Oracle makes when local domain index is created.
    The calls are made with option "AlterIndexRebuild" - possibly they mark index as invalid (though it's shown as valid in SQL Developer)

    Solved :)
    when index is LOCAL calls for ODCIINDEXSTART - ODCIINDEXFETCH - ODCIINDEXCLOSE are executed for each partition of base table.
    In my case ODCIINDEXFETCH returns row_id's regardless of partition that are currently scanned for values. So first call returned rowid values for all partitions not only for the first partition and validation failed with "ora-01410: invalid rowid"

  • Export fails with ORA-24324

    After registering any XML Schema export fails with ORA-24324. any suggestions?
    Platform is Windows 2000, db characters: UTF-8
    exp system/manager@syzxml owner=(syzem) file=a.dmpExport: Release 9.2.0.4.0 - Production on Sun Nov 23 09:52:13 2003
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    Export done in EE8MSWIN1250 character set and AL16UTF16 NCHAR character set
    server uses AL32UTF8 character set (possible charset conversion)
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user SYZEM
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user SYZEM
    About to export SYZEM's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    EXP-00056: ORACLE error 24324 encountered
    ORA-24324: service handle not initialized
    EXP-00056: ORACLE error 24324 encountered
    ORA-24324: service handle not initialized
    EXP-00000: Export terminated unsuccessfully
    v$version:
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    PL/SQL Release 9.2.0.4.0 - Production
    CORE 9.2.0.3.0 Production
    TNS for 32-bit Windows: Version 9.2.0.4.0 - Production
    NLSRTL Version 9.2.0.4.0 - Production
    dba_registry:
    COMP_NAME STATUS
    VERSION
    Oracle9i Catalog Views VALID
    9.2.0.4.0
    Oracle9i Packages and Types VALID
    9.2.0.4.0
    Oracle Workspace Manager VALID
    9.2.0.1.0
    Oracle XML Database VALID
    9.2.0.4.0
    nls_session_parameters:
    PARAMETER VALUE
    NLS_CALENDAR GREGORIAN
    NLS_COMP BINARY
    NLS_CURRENCY z&#9474;
    NLS_DATE_FORMAT RR/MM/DD
    NLS_DATE_LANGUAGE POLISH
    NLS_DUAL_CURRENCY z&#9474;
    NLS_ISO_CURRENCY POLAND
    NLS_LANGUAGE POLISH
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_NUMERIC_CHARACTERS .,
    PARAMETER VALUE
    NLS_SORT POLISH
    NLS_TERRITORY POLAND
    NLS_TIME_FORMAT HH24:MI:SSXFF
    NLS_TIMESTAMP_FORMAT RR/MM/DD HH24:MI:SSXFF
    NLS_TIMESTAMP_TZ_FORMAT RR/MM/DD HH24:MI:SSXFF TZR
    NLS_TIME_TZ_FORMAT HH24:MI:SSXFF TZR

    Try use export utility version 9.0.1.1.1 or
    store XMLType as CLOB.

  • RAC Cloning failing with ORA-12505: TNS:listener does not currently know of SID given in connect

    Hi Folks
      Application cloning is failing with "ORA-12505: TNS:listener does not currently know of SID given in connect"
    Database cloning is completed successfuly .   database cloned in two nodes node1 and node2
    Now cloning applicatino tier with above cloned database nodes but faicing above issue .
    Thanks

    There are many reasons why an ORA-12505 might be raised at applications cloning. For anyone on this board to assist, you will have to post the log file detail or list the clone execution file which raises this exception.
    Thanks,
    Arif.

  • Scheduled Web Intelligence report fails with ORA-01013 and WIS 10901

    Hi,
            the environment I'm working in is BOXI R2 SP4 on a Solaris 10 server using WebLogic running against Oracle 9i database.
    I have a report written by one of the users. In SQL Viewer the SQL detailed is two joined Select statements. Each time this report is either scheduled or refreshed is fails with an ORA-01012 and WIS 10901 error.
    I am of the understanding that this failure relates to the fact that the 'Limit Execution Time To;'  value is being exceeded.
    I also understand that this value is infact divided by the number of Select statements present, and that each Select statment is them allocated an equal portion of this value.
    If any of this is incorrect please correct me.
    I therefore have two questions
    1. As such would I be correct in assuming that in my scenario where 2 Select statments are present and where the execution limit is set to 30 minutes, that each Select has 15 minutes to complete, and that if either fails the ORA-01012 and WIS 10901 error is generated.
    2. Also would this error message get generated as soon as the first failure occurred, or would BO initiate a cancellation of the SQL by Oracle, ORA-01012, only when the final request has either succeeded or failed.

    The queries are not executed in parallel but in serial. So the total execution time configured will be for all the Select statements in the report combined.
    As for your second question, since the execution is not parallel hence BO will not initiate any error message until the total execution time exceeds the defined limit. This could be during the execution of first select statement or the second.
    Try executing the queries directly in database one by one and see how much time they are taking.
    - Noman Jaffery

  • ORA-12008: error in materialized view refresh path with ORA-01652

    I have a temp tablespace with 2 tempfiles of 2GB each (total 4GB) but still refresh of materialized view is failing with following error:
    5646690 - BIS Materialized View Refresh Program
    ORA-12008: error in materialized view refresh path
    ORA-01652: unable to extend temp segment by 128 in tablespace TEMP1
    I checked and temp ts is completly filled
    SQL> select TABLESPACE_NAME, BYTES_USED, BYTES_FREE from V$TEMP_SPACE_HEADER;
    TABLESPACE_NAME BYTES_USED BYTES_FREE
    TEMP1 2147483648 0
    TEMP1 2147483648 0
    My question is how do I find out how much space I need for temp tablespace. what 's the best practise to size temp tablespace when running refresh. refresh is done by client who is submitting a request thru ebiz apps so I 'd like to size it correctly without having to keep guessing.
    Thanks so much in advance for any help

    Hello,
    Temp tablespace size depends how much sort by , order by operation your application performing. You can create new temp tablespace and drop old one with bigger file size
    CREATE  TEMPORARY TABLESPACE TEMP02 TEMPFILE '\mypath_to_temp\TEMP02' SIZE 256M REUSE AUTOEXTEND ON NEXT 256M MAXSIZE 8192M EXTENT MANAGEMENT LOCAL;
    ALTER DATABASE DEFAULT TEMPORARY TABLESPACE TEMP02;
    Drop tablespace temp including contents; -- Make sure you delete on temp data files.Here is link for your reading purpose
    http://www.idevelopment.info/data/Oracle/DBA_tips/Tablespaces/TBS_3.shtml
    Regards
    Edited by: OrionNet on Mar 6, 2009 6:15 PM

Maybe you are looking for

  • Mixing layered Photoshop files with PICT files

    Hoo boy...this one has me scratchin' my head... The facts: FCP 5.1.4, OS 10.4.11, QT 7.4.1 Photoshop CS3... Here's the problem: I've imported a layered PS file and animated it. However, as you may have noticed, when you apply a blur to a PS layer in

  • Finding Profit center group description ?

    Hi all, I want profit center group description for my report, when i look at the setheader table i could see the description in the output but when i try to locate the field in the SE11 for SETHEADER i couldnt find that field ? Can you people tel me

  • Changing transition changes time of clip before and after???

    When I add or change the transition time, after it renders, the time of the clip before and after the transition automatically changes. I've done it several times and it shortens the time of the clips before and after the transition. Why does it do t

  • Is there a cheaper way to learn/obtain the adobe suite?

    I want to learn how to use adobe design studio but $480 is still too expensive for this college student (also im currently looking for a on campus job)....  Is there a way of getting it any cheaper or il even take CS4 the previous version at a much c

  • Srvctl start listener - ERROR

    Hi All,    We need at add new listener with new port to cluster, while adding iam getting this error DB VERSION : 11.2.0.3 from ORACLE_HOME/bin directory [oracle@cisssna01sora81 bin]$ ./srvctl add listener -l LISTENER_TEST  -p 1559 -o /app/oracle/pro