Problem using IMPDB(ORA-31603:ORA-31693:)

Hi guys i am getting the following errors when i run the following import impdp.
I will show you both my export and import statemnets
EXPORT
./expdp slc/pswd@slc parfile=slc_exp.par
and parameter file contents
DIRECTORY=exp_usac_dir
DUMPFILE=slc.dmp
SCHEMAS=slc
CONTENT=DATA_ONLY
===========================================================
ON IMPORT
impdp slc/pswd@slcldtst parfile=slc_imp.par
and parameter file contents
DIRECTORY=IMP_USAC_DIR
DUMPFILE=slc.dmp
SCHEMAS=slc
LOGFILE=slcutest.log
=====================================================
when i run th eimport i am getting a lot of the following errors
ORA-31603:object "table_EXTENSION" of type TABLE not found in schema "SLC"
ORA-31693: Table data object "QPHRN_MODIFY" failed to load/unload and is being skipped due to error:

if i dont want any thing but data on the target database.
i am thinkink about using exclude parameter on indexes,triggers,constraints,views,functions,prodecures,packages. this is how my parameter file will look for import.....
DIRECTORY=IMP_USAC_DIR
DUMPFILE=slcu.dmp
SCHEMAS=slc
EXCLUDE=ref_constraint
EXCLUDE=index
EXCLUDE=view
EXCLUDE=function
EXLUDE=trigger
EXCLUDE=procedure
EXCLUDE=package
EXCLUDE=sequence
LOGFILE=slcutest.log
Let me know if this will work
Thanks
Message was edited by:
mtaji wa maskini

Similar Messages

  • ORA-31603:While Extracting SQL of a table I am getting this error.

    Hi,
    I am getting below error whenever I try to get the SQL for any table. I tried executing DBMS_METADATA() also but the same error is coming.
    Please let me know what needs to be done IF I want to extract the DDL for any object.
    ORA-31603: object "EMP" of type TABLE not found in schema "MKT"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA", line 3241
    ORA-06512: at "SYS.DBMS_METADATA", line 4812
    ORA-06512: at line 1
    Thanks,
    Rusty....

    Hi,
    use AUTHID CURRENT_USER show as below exmaple...
    CREATE OR REPLACE FUNCTION xx_get_ddl(
    p_object_type IN VARCHAR2
    , p_object_name IN VARCHAR2
    , p_owner IN VARCHAR2
    RETURN CLOB AUTHID CURRENT_USER
    IS
    v_string CLOB;
    BEGIN
    SELECT DBMS_METADATA.get_ddl(p_object_type
    , p_object_name
    , p_owner
    INTO v_string
    FROM DUAL;
    RETURN v_string;
    EXCEPTION
    WHEN OTHERS
    THEN
    RETURN NULL;
    END;

  • Creating physical standby using rman fails with ORA-19558: error de-allocat

    Dear All,
    We are creating physical stadnby database from 2 node RAC ( 2 node RAC to standalone physical standby).
    While in the rman duplicate process we are getting below error, we were not able to sorted out..
    No third party storage has been used ....
    DB version : 11gR2 and the OS is RHEL5
    Appreciate if any one hepl us to resolve this issue ...
    Thanks in advance ...
    RMAN-03009: failure of backup command on prmy1 channel at 10/05/2011 17:59:26
    ORA-19558: error de-allocating device
    ORA-19557: device error, device type: DISK, device name:
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-03113: end-of-file on communication channel
    Edited by: 889828 on 2011/10/06 2:17 AM

    The problem is well decribed in your alert log.....you are using Oracle Managed File names which means you will not be able to duplicate the database as RMAN won't be able to automatically generate new names for the files using the DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT initialization parameters.
    Youll have to use the SET NEWNAME command to specify the names of the database files. Done this a few times , and I don't recommend using OMF specifically beacuse of this hassle.
    WARNING: OMF is enabled on this database. Creating a physical standby controlfile, when OMF is enabled on the primary database, requires manual RMAN intervention to resolve OMF
    datafile pathnames.
    NOTE: Please refer to the RMAN documentation for procedures describing how to manually resolve OMF datafile pathnames.
    Problem handling is described in
    Oracle® Database Backup and Recovery Reference
    10g Release 2 (10.2)
    Part Number B14194-03

  • Can't get Listener to use the Correct listener.ora file

    I am on a Windows 2003 Server. I have copied the 10gR2 ORACLE_HOME from a diffent Windows 2003 server on to this one.
    I want to start the Oracle Listener on this server. I have:
    set TNS_ADMIN = E:\oracle\product\10.2.0\network\admin\EBIZBLK_nvciebizdbblk. In this folder is a listener.ora file.
    set ORACLE_HOME = E:\oracle\product\10.2.0
    This is what I get:
    C:\Documents and Settings\oracle>lsnrctl start
    LSNRCTL for 32-bit Windows: Version 10.2.0.4.0 - Production on 02-FEB-2009 15:42:06
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Starting tnslsnr: please wait...
    Failed to open service <OracleTNSListener>, error 1060.
    TNSLSNR for 32-bit Windows: Version 10.2.0.4.0 - Production
    Message 279 not found; No message file for product=NETWORK, facility=NL
    Message 1073 not found; No message file for product=NETWORK, facility=TNS
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.4.0 - Production
    Start Date 02-FEB-2009 15:42:10
    Uptime 0 days 0 hr. 0 min. 2 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Log File listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=nvciebizdbblk.NVCI.org)(PORT=1521)))
    The listener supports no services
    The command completed successfully

    Chris Wendell wrote:
    I am on a Windows 2003 Server. I have copied the 10gR2 ORACLE_HOME from a diffent Windows 2003 server on to this one.
    I want to start the Oracle Listener on this server. I have:
    set TNS_ADMIN = E:\oracle\product\10.2.0\network\admin\EBIZBLK_nvciebizdbblk. In this folder is a listener.ora file.
    set ORACLE_HOME = E:\oracle\product\10.2.0
    This is what I get:
    C:\Documents and Settings\oracle>lsnrctl start
    LSNRCTL for 32-bit Windows: Version 10.2.0.4.0 - Production on 02-FEB-2009 15:42:06
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Starting tnslsnr: please wait...
    Failed to open service <OracleTNSListener>, error 1060.
    TNSLSNR for 32-bit Windows: Version 10.2.0.4.0 - Production
    Message 279 not found; No message file for product=NETWORK, facility=NL
    Message 1073 not found; No message file for product=NETWORK, facility=TNSAny time you get "Message nnn not found; No message file for product...", it means your environment is not set up correctly ... there are some environment variables that have incorrect values. Thus, it can't even find the message file to report the message associated with "Messasge nnn". No doubt because you installed by simply copying some files instead of running the installer.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.4.0 - Production
    Start Date 02-FEB-2009 15:42:10
    Uptime 0 days 0 hr. 0 min. 2 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Log File listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=nvciebizdbblk.NVCI.org)(PORT=1521)))
    The listener supports no services
    The command completed successfullyLooks like the listener is running, but it has no services registered with it. So far I see no indication that it is using the wrong listener.ora, only that some incorrect environment variables are preventing it from completely reporting any problems. How many listener.ora files do you have, and where are they located?

  • Dbms_metadata ORA-31603

    Hi,
    PL/SQL behaves different in SQL*Plus and in Apex.
    Test 1 (anonymous block):
    sql*plus:
    ========
    OWL@NGPO>show user
    USER is "OWL"
    OWL@NGPO>DECLARE
    2 l_sql_ddl VARCHAR2(32000);
    3 BEGIN
    4 l_sql_ddl := dbms_metadata.get_ddl('TABLE', 'JLI_TGEVALLEN_TFM', 'JLISTG');
    5 END tst;
    6 /
    PL/SQL procedure successfully completed.
    OWL@NGPO>
    Apex:
    ====
    Apex workspace parsing schema: OWL; the same as the user executing the code-block in SQL*Plus.
    Home > SQL Workshop > SQL Commands:
    executing the same anonymous pl/sql block as above results in:
    ORA-31603: object "JLI_TGEVALLEN_TFM" of type TABLE not found in schema "JLISTG"
    Test 2 (stored proc.)
    CREATE OR REPLACE PROCEDURE owl.tst
    AUTHID CURRENT_USER
    AS
    l_sql_ddl VARCHAR2(32000);
    BEGIN
    l_sql_ddl :=
    dbms_metadata.get_ddl
    ('TABLE', 'JLI_TGEVALLEN_TFM', 'JLISTG');
    END tst;
    Now execute this procedure in sql*plus:
    OWL@NGPO>exec tst
    PL/SQL procedure successfully completed.
    OWL@NGPO>show user
    USER is "OWL"
    in apex Home > SQL Workshop > SQL Commands:
    begin
    tst;
    end;
    ==> ORA-31603: object "JLI_TGEVALLEN_TFM" of type TABLE not found in schema "JLISTG"
    Any idea?
    Regards,
    Jurgen

    Jurgen - That is correct. Invoker's rights procedures don't work as they do in other places when the session user is APEX_PUBLIC_USER and the code is executed dynamically by the Application Express engine (a definer's rights package). That's just the way it is.
    Scott

  • Problem using Export in Oracle 8.1.6.

    Hi,
    I have a problem using export utility in oracle 8i.
    I got a message:
    EXP-00056: ORACLE error 942 encountered
    ORA-00942: table or view does not exist
    EXP-00000: Export terminated unsuccessfully
    I tried running CATPROC.sql and CATEXP.sql but it did not correct the problem.
    Please help me.
    Thanks

    You may want to try using the error lookup tool available here, http://otn.oracle.com/pls/tahiti/tahiti.homepage?remark=tahiti You may be able to find the answer even though the error lookup tools is for 8.1.7 version. Otherwise, you can search the db discussion forums to see if this issue has been discussed already.

  • SQL   Loader and Error ORA-01847/ORA-01839

    Hi,
    While using the direct loading in SQL-LOADER when we get the ORA-01847/ORA-01839 all the other records are getting errorred out. It goes fine with the conventional loading.
    Should I use some parameters or anything to make sure that all the other records are not rejected when we get the ORA-01847/ORA-01839 error while going with the DIRECT loading.
    Thanks
    Jibin

    In internet I found this short message:
    “AL32UTF8 is a multi-byte characterset,that means some characters are stored in more than 1 character, that's true for these special characters.
    If you have same table definitions in both databases you likely face error ORA-12899.
    This metalink note discusses this problem, it's also applicable to sqlloader:
    Import reports "ORA-12899: Value too large for column" when using BYTE semantic
    Doc ID: Note:563893.1”
    By metalink, I can see the Note linked to a one Oracle Internal Bug for Oracle 11g.....
    I'm waiting you suggestion... thanks very much in advance.
    Regards.
    Giovanni

  • Problem Using Multiple With Statements

    I'm having a problem using multiple WITH statements. Oracle seems to be expecting a SELECT statement after the first one. I need two in order to reference stuff from the second one in another query.
    Here's my code:
    <code>
    WITH calculate_terms AS (SELECT robinst_current_term_code,
    CASE
    WHEN robinst_current_term_code LIKE '%60' THEN robinst_current_term_code - '40'
    WHEN robinst_current_term_code LIKE '%20' THEN robinst_current_term_code - '100'
    END first_term,
    CASE
    WHEN robinst_current_term_code LIKE '%60' THEN robinst_current_term_code - '100'
    WHEN robinst_current_term_code LIKE '%20' THEN robinst_current_term_code - '160'
    END second_term
    FROM robinst
    WHERE robinst_aidy_code = :aidy)
    /*Use terms from calculate_terms to generate attendance periods*/
    WITH gen_attn_terms AS
    SELECT
    CASE
    WHEN first_term LIKE '%60' THEN 'Fall '||substr(first_term,0,4)
    WHEN first_term LIKE '%20' THEN 'Spring '||substr(first_term,0,4)
    END first_attn_period,
    CASE
    WHEN second_term LIKE '%60' THEN 'Fall '||substr(second_term,0,4)
    WHEN second_term LIKE '%20' THEN 'Spring '||substr(second_term,0,4)
    END second_attn_period
    FROM calculate_terms
    SELECT *
    FROM gen_attn_terms
    <code>
    I get ORA-00928: missing SELECT keyword error. What could be the problem?

    You can just separate them with a comma:
    WITH calculate_terms AS (SELECT robinst_current_term_code,
    CASE
    WHEN robinst_current_term_code LIKE '%60' THEN robinst_current_term_code - '40'
    WHEN robinst_current_term_code LIKE '%20' THEN robinst_current_term_code - '100'
    END first_term,
    CASE
    WHEN robinst_current_term_code LIKE '%60' THEN robinst_current_term_code - '100'
    WHEN robinst_current_term_code LIKE '%20' THEN robinst_current_term_code - '160'
    END second_term
    FROM robinst
    WHERE robinst_aidy_code = :aidy),
    /*Use terms from calculate_terms to generate attendance periods*/
    gen_attn_terms AS
    SELECT
    CASE
    WHEN first_term LIKE '%60' THEN 'Fall '||substr(first_term,0,4)
    WHEN first_term LIKE '%20' THEN 'Spring '||substr(first_term,0,4)
    END first_attn_period,
    CASE
    WHEN second_term LIKE '%60' THEN 'Fall '||substr(second_term,0,4)
    WHEN second_term LIKE '%20' THEN 'Spring '||substr(second_term,0,4)
    END second_attn_period
    FROM calculate_terms
    )Not tested because there are no scripts.

  • Errors ORA-01034, ORA-27101 and ORA-01033

    Hi!
    I have Oracle 9i DB and DevSuite 10g installed on my laptop. There are three databases on my machine.
    Recently, I tried to install Oracle Discoverer 10g and that's where the problem started. I could no longer connect to the databse using either SQL*Plus, TOAD or even from the front end application.
    I realised that some of the regisrty entries were no longer in place after the Discoverer installation. After doing these entries, I am still getting the following errors while connecting:
    ORA-01034 : Oracle not available
    ORA-27101 : Shared memory realm does not exist
    After doing the following entries in the registry, for the default database, I'm getting the 'ORA-01033 : Oracle Initialization or shutdown in progress' error while connecting for that particular db:
    ORACLE_SID=DTA
    ORA_DTA_AUTOSTART=TRUE
    ORA_DTA_SHUTDOWN=TRUE
    ORA_DTA_SHUTDOWN_TIMEOUT=30
    ORA_DTA_SHUTDOWNTYPE=i
    And for the other two DBs, the errors ORA-01034, ORA-27101 remain the same.
    Can anyone please help?
    Best regards,
    Aparna

    Have you checked your Windows services for the Oracle instances? Started and set to auto-start on boot.
    Also check your $path variable to make sure the Oracle home(s) appear in the path
    HTH -- Mark D Powell --

  • ORA-02068 + ORA-03135

    Hi,
    we are getting this two ORA-02068 + ORA-03135 errors on application side using dblink .... can any one pls help....
    for 03135 we did some changes on db side .. what about ORA-02068 , is there is any action we have to made for this 2068 error
    Thanks,

    Hi,
    I have a similar problem... but more strange...
    The customer have an aplication on JBOSS with a Oracle database 10.2.0.4.
    When the user is logged in the application, he makes a query through the application, this query run a procedure that makes a select on the DB local an conects a remote DB with a db_link connection, with a synonym on the table remote and the procedure that fails
    This procedure have a EXCEPTION clause at the end, that insert in a "error table" that shows the following information:
    PET_ID ERROR DESCRIPTION F_CREATION USER_CREATION
    4565 -2068 ORA-02068: error grave de DB_COSTES 25/05/2011 09:41;11 [jboss]-xxxxxxxxx
    ORA-03135: la conexión ha perdido contacto
    4566 -1001 ORA-01001: cursor no válido 25/05/2011 09:41;47 [jboss]-xxxxxxxxx
    4567 -1001 ORA-01001: cursor no válido 25/05/2011 09:41;48 [jboss]-xxxxxxxxx
    4568 -1001 ORA-01001: cursor no válido 25/05/2011 09:41;49 [jboss]-xxxxxxxxx
    The error "ORA-01001: cursor no válido" appears on the "error table" when the user tries to re-run another searh in the application
    The DBA (in client side) must drop/create the synonym on the table and recompile the procedure to be able to work again... so, this error INVALID the procedure.
    It's not for iddle time of application, because I asked for the user and he said me that when he logged at the first time in the morning, and make the search, he got the error too.
    Can anybody help me?
    Thank you
    Bond2

  • DataGuard Continuing to Fail - ORA-16766, ORA-01237 - OPSCODE 17.4

    DataGuard Broker failing every few hours ... have to stop and restart. ORA-16766, ORA-01237. I cannot find any information on the failure apply recovery marker (opscode 17.4).
    The thought would be from the errors that the volume is out of space, we are running NETAPP and the volumes do auto expand but when I looked the volume it was only at 44% full at 1600 yesterday when I restarted and today I it is at 28%.
    These are BIGFILE tablespace. I have restarted multiple times and keep getting the same errors daily and I just end up restarting and everything works again w/o intervention.
    I don't want to daily have to check dataguard. If I don't run dg and just run "recover standby database until cancel auto" ... it just keeps going w/o issue, any ideas on the problem?
    Please advise:
    OS: Solaris 5.10
    RDBMS:Oracle 11.2.0.2 64 bit
    OMF
    BIGFILE Tablespaces
    VLDB - Standby DG Database
    Created via RMAN Duplicate Database
    Dataguard Alert shows the original startup information, does some health check ... becomes quite for a few hours and then I start seeing the Redo Apply is stopped.
    2011-09-28 18:45:20.824 00000000 24342 Operation HEALTH_CHECK canceled during phase 1, error = ORA-16766
    2011-09-28 18:46:20.929 DMON: HEALTH CHECK ERROR: ORA-16766: Redo Apply is stopped
    Alert Log showing 1237 on the extend but volume is not out of space ... bigfile tablespace. I cannot find any information on the failure apply recovery marker (opscode 17.4):
    Errors in file /u02/d002/oracle/bdump/diag/rdbms/DBUNIQNAME/DBNAME/trace/DBNAME_pr00_6331.trc:
    ORA-01237: cannot extend datafile 670
    ORA-01110: data file 670: '/u07/d101/oracle/DBUNIQNAME/datafile/o1_mf_ftk_31_c_784ql3gh_.dbf'
    Managed Standby Recovery not using Real Time Apply
    Wed Sep 28 18:43:57 2011
    Recovery interrupted!
    Wed Sep 28 18:44:29 2011
    Archived Log entry 2805 added for thread 1 sequence 135638 ID 0x249d4159 dest 1:
    Wed Sep 28 18:44:41 2011
    Recovery stopped due to failure in applying recovery marker (opcode 17.4).
    Datafiles are recovered to a consistent state at change 22941677700 but controlfile could be ahead of datafiles.
    Wed Sep 28 18:44:42 2011
    MRP0: Background Media Recovery process shutdown (DBNAME)
    Wed Sep 28 18:46:04 2011
    Trace FIle showing the same problem as the alert ...
    Started Parallel Media Recovery
    *** 2011-09-28 16:14:52.074 4265 krsh.c
    Managed Standby Recovery starting Real Time Apply
    *** 2011-09-28 18:43:08.759 4265 krsh.c
    MRP0: Background Media Recovery terminated with error 1237
    ORA-01237: cannot extend datafile 670
    ORA-01110: data file 670: '/u07/d101/oracle/DBUNIQUNAME/datafile/o1_mf_ftk_31_c_784ql3gh_.dbf'
    *** 2011-09-28 18:43:08.779 4265 krsh.c
    Managed Standby Recovery not using Real Time Apply----- Redo read statistics for thread 1 -----
    Read rate (ASYNC): 54581570Kb in 8888.95s => 6.00 Mb/sec
    Total redo bytes: 54636866Kb Longest record: 81Kb, moves: 49633/139704932 moved: 130Mb (0%)
    Longest LWN: 118127Kb, reads: 45176
    Last redo scn: 0x0005.576e3884 (22941677700)
    Change vector header moves = 18603031/273716057 (6%)
    *** 2011-09-28 18:43:08.816
    Media Recovery drop redo thread 1
    *** 2011-09-28 18:43:56.660
    Completed Media Recovery
    *** 2011-09-28 18:44:00.869
    Checking to start in-flux buffer recovery from SCN 5.1465762230 to SCN (non-inclusive) 5.1466841220
    Influx recovery found in-flux buffers
    *** 2011-09-28 18:44:00.874
    Influx Media Recovery add redo thread 1
    *** 2011-09-28 18:44:36.493
    Resized overflow buffer to 52335K (for 52335K LWN)
    *** 2011-09-28 18:44:38.887
    Resized overflow buffer to 63165K (for 63165K LWN)
    *** 2011-09-28 18:44:41.686
    Managed Recovery: Not Active posted.

    It appears to be a problem that occurs every time an OMF file wants to extend that it kills the dataguard process irrelvant of what volume the file is on.

  • Error ora-604 ora-904 invalid column name

    Someone knows how to fix this problem?
    Error ora-604 ora-904 invalid column name.

    Asif, to add another question to the list of things to check. Is the version of the exp utility you are using to perform the export operation the same version as the database? If not, that would explain the error.
    If you are trying to export using a newer version of the export utility that generally will not work. You should switch to using the db version.
    If you are exporting using an older version because the target is an older version then usually you need to run the catexp# where # is the version number script for the target version that Oracle provides in the $ORACLE_HOME/rdbms/admin directory.
    HTH -- Mark D Powell --

  • DBMS_STREAMS_ADM.ADD_SUBSET_RULES ORA-00936 ORA-06512

    I need help, why i got this error???
    SQL> BEGIN
    2 DBMS_STREAMS_ADM.ADD_SUBSET_RULES(
    3 table_name => 'piramide.lancamento',
    4 dml_condition => 'where empresa=100 and filial=101 or empresa=102 and filial=102 or empresa=102 and filial=103',
    5 streams_type => 'apply',
    streams_name => 'lancamento_apply',
    6 7 queue_name => 'STRMADMIN.LANCAMENTO_Q',
    8 include_tagged_lcr => false);
    9 END;
    10 /
    BEGIN
    ERROR at line 1:
    ORA-00936: missing expression
    ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 1032
    ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 1181
    ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 1073
    ORA-06512: at line 2
    SQL>
    Tks,
    Elber

    HI, tks for you help, but i executed this procedure using CAPTURE and it works fine, so, i dont think that the problem is that.
    ##################THIS WORK AT SOURCE#################
    BEGIN
    DBMS_STREAMS_ADM.ADD_SUBSET_RULES(
    table_name => '"PIRAMIDE"."LANCAMENTO"',
    dml_condition => 'where empresa=100 and filial=101 or empresa=102 and filial=102 or empresa=102 and filial=103',
    streams_type => 'capture',
    streams_name => '"LANCAMENTO_CAPTURE"',
    queue_name => '"STRMADMIN"."LANCAMENTO_CAPTURE_Q"',
    include_tagged_lcr => false);
    END;
    I find one BUG on metalink that i think this is my problem. BUG n 6331369 ORA-936 WHEN CREATING STREAMS SUBSET RULE
    If you can, please help me.
    Tks,
    Elber Portugal

  • Urgent ora -00353 ora-354 ora-312 errors

    hi All
    we are getting following errors on one of our database
    i found the following on metalink to resolve
    TIP: Click help for a detailed explanation of this page.
    Bookmark Go to End
    Subject: Ora-354 Ora-353 And Ora-312 Reported On Mirrored Redo Log Files
    Doc ID: Note:332672.1 Type: PROBLEM
    Last Revision Date: 26-SEP-2005 Status: MODERATED
    In this Document
    Symptoms
    Cause
    Solution
    References
    Applies to:
    Oracle Server - Enterprise Edition - Version: 8.1.7.4 to 10.2.0.0
    This problem can occur on any platform.
    Symptoms
    Following errors are reported in the alert log file:
    ORA-354: corrupt redo log block header
    ORA-353: log corruption near block 1892904 change 281470950178815
    ORA-312: online log 5 thread 1: '/oracle/redo02/log_05_B.dbf'
    ORA-312: online log 5 thread 1: '/oracle/redo01/log_05_A.dbf'
    We see both the online redo log members are reported in the error.
    Cause
    This is corruption in online redo log.
    But not conclusive that both the members are corrupt as we see from the alert log.
    If oracle detects a corruption when archiving a log member, it will try to read the same redo block from the second member of the group. If the block is found corrupt in all the members of the group, archiving will not proceed.
    In this case,
    log_05_A.dbf was read first. Oracle detected corruption near block 1892904. (See Error description)
    Oracle will now attempt to continue the archive operation from the second member, continuing from redo block 1892904.
    There should be continuity of the redo information as we move and read from the second file.
    But if Oracle cannot continue, ORA-312 is reported from second member also.
    This could only happen due to an OS overwrite/missed write.
    Error is because the archive processes will not start reading the second file from start by aborting the write made from the corrupted member. Instead it will try to continue from the block where the corruption was reported in first member.
    Corruption of online redo log file should be checked as per Note 177559.1 in Metalink.
    This Note applies to online redo log files also.
    Solution
    1. Issue the following command on both the redo log members.
    SQL> ALTER SYSTEM DUMP LOGFILE 'filename'
    2. If the redo log member is corrupt, then the dump command will fail with the same error as when doing a media recovery with the same file.
    3. If the dump of any of the redo log member is successful then,
    a. shutdown the database.
    b. replace the bad member with a copy of the good redo log member using Operating system commands
    c. startup the database
    has anyone faced such a problem
    Point 3b says replacing with good redo log, where can we get this good redo log file
    thanks
    kedar

    SAN drive is same and database is running in archive mode which are placed on share drive but the time when SAN issue ocurred the guy just stop OS level Oracle level services and restart the machine after coming up tried to start the database as startup command but database successfully mounted but fail to open it
    when i issue command alter database open resetlogs i get error;
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: 'L:\ORACLE\LHECCDB\SYSTEM01.DBF'
    this is the whole story. please guide

  • Tuning Advisor doesn't work: ORA-13605, ORA-06512,

    I'm trying to use SQL Tuning Advisor with the query: select * from MYTABLE;  but I got the following errors.
    Nothing changes if I switch from custom user to admin user.
    I'm using Oracle SQL Developer 4.0.0.13.80 and Oracle XE 11g
    ORA-13605: The specified task or object staName30874 does not exist for the current user.
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.PRVT_ADVISOR", line 5878
    ORA-06512: at "SYS.DBMS_SQLTUNE", line 926
    ORA-06512: at line 2
    13605. 00000 -  "The specified task or object %s does not exist for the current user." 
    *Cause:    The user attempted to reference an advisor task or object
               using a name that does not exist in the Advisor repository.
    *Action:   Adjust the name and retry the operation.
    Codice fornitore 13605
    ORA-13717: Tuning Package License is needed for using this feature.
    ORA-06512: at "SYS.PRVT_SMGUTIL", line 52
    ORA-06512: at "SYS.PRVT_SMGUTIL", line 37
    ORA-06512: at "SYS.DBMS_MANAGEMENT_PACKS", line 26
    ORA-06512: at "SYS.DBMS_SQLTUNE", line 625
    ORA-06512: at line 5
    Any help?
    Thanks

    by the way, perhaps the problem is different. please read this.
    Re: ORA-13717:Tuning Package License is needed for using this feature

Maybe you are looking for