ORA-01858 error in RMAN during backup backupset format '/test/rman/%U'

Hello!
I am trying to perform bacup using command
RMAN> backup backupset completed after 'sysdate-1' format '/tmp/test/%U';
as described in:
asmcmd scripts
All backupsets are copied to /tmp/test/.
Everything is going fine except the last message from RMAN:
input backupset count=5342 stamp=660348635 creation_time=17-JUL-08
channel ORA_DISK_1: starting piece 1 at 18-JUL-08
piece handle=/tmp/test/6ujlo7mr_1_2 comment=NONE
channel ORA_DISK_1: finished piece 1 at 18-JUL-08
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:15
input backupset count=5343 stamp=660348722 creation_time=17-JUL-08
channel ORA_DISK_1: starting piece 1 at 18-JUL-08
piece handle=/tmp/test/6vjlo7pi_1_2 comment=NONE
channel ORA_DISK_1: finished piece 1 at 18-JUL-08
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:15
input backupset count=5344 stamp=660348810 creation_time=17-JUL-08
channel ORA_DISK_1: starting piece 1 at 18-JUL-08
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 07/18/2008 10:59:48
ORA-01858: a non-numeric character was found where a numeric was expected
I suspect that rman is performing, at the end of backup, some internal work (store something in control file based catalog or so) and catches ORA-01858.
The destination catalog is local catalog (not nfs mounted remote dir).
RMAN is spawned from the same node the Oracle Database is running on.
I tested it on two servers.
Error occurs on both of them:
version 10g (ia-32) - flash recovery area on filesystem
and version 11g (Aix) - flash on ASM
RMAN-oracle10> show all ;
using target database controlfile instead of recovery catalog
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
CONFIGURE BACKUP OPTIMIZATION OFF;
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 1;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt/oracle/10gSE/dbs/snap_dbname.dbf'; # default
RMAN-oracle11> show all ;
using target database control file instead of recovery catalog
RMAN configuration parameters for database with db_unique_name O2DB are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO COMPRESSED BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE COMPRESSION ALGORITHM 'BZIP2'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.1.0/dbname_1/dbs/snapcf_dbname.f';
How to diagnose the problem?
How check what RMAN is exactly doing when error occurs?
Or maybe there is better way to achieve this:
I want to move backupset from asm realm to remote server without storing them on local, non asm disk.
Any suggestions kindly welcome!
Thanx!

Solution:
NLS_DATE_FORMAT mus be set mannualy;
export NLS_DATE_FORMAT='YYYY_MM_DD'
solved the problem..
https://metalink.oracle.com/metalink/plsql/f?p=130:15:12788270042070262572::::p15_database_id,p15_docid,p15_show_header,p15_show_help,p15_black_frame,p15_font:BUG,6198368,1,1,1,helvetica
Metalinking before posting is the rule of thumb : )

Similar Messages

  • ORA-01858 error in Application but not in sqlpluss

    Hi.
    I have this query that runs nicely in sqlpluss and the SQL Commands that came with Expressedition 10g, but when I put it in a report region it produce:
    report error:
    ORA-01858: a non-numeric character was found where a numeric was expected
    query:
    SELECT temae.temae, NVL(antall,0) Antall
    FROM temae LEFT OUTER JOIN (SELECT temae, count(temae) as antall
    FROM okeiko
    WHERE person = :P3_PERSON and dag >= to_date(DECODE(SIGN(to_char(current_date,'mm')-5),
    -1, to_date('01-NOV-'||to_char(current_date,'yy'))-365,
    0, to_date('01-MAY-'||to_char(current_date,'yy')),
    1, DECODE(SIGN(to_char(current_date,'mm')-10),
    -1,to_date('01-MAY-'||to_char(current_date,'yy')),
    0,to_date('01-MAY-'||to_char(current_date,'yy')),
    1,to_date('01-NOV-'||to_char(current_date,'yy')))),'dd-mon-yy')
    GROUP BY temae) p
    ON temae.id = p.temae
    where antall > 0
    ORDER BY NVL(antall,0) DESC, temae.type, temae.temae
    Before I added the decode part for the date it looked like this, and worked nice in the application:
    SELECT temae.temae, NVL(antall,0) Antall
    FROM temae LEFT OUTER JOIN (SELECT temae, count(temae) as antall
    FROM okeiko
    WHERE person = :P3_PERSON and dag > to_date('30-apr-06','dd-mon-yy')
    GROUP BY temae) p
    ON temae.id = p.temae
    where antall > 0
    ORDER BY NVL(antall,0) DESC, temae.type, temae.temae
    This is the data structure
    SQL> describe temae
    Name Null? Type
    ID NOT NULL NUMBER
    TEMAE VARCHAR2(20)
    TYPE NUMBER
    Then it worked nicely in the application to.
    SQL> describe okeiko;
    Name Null? Type
    ID NOT NULL NUMBER
    PERSON NOT NULL NUMBER
    TEMAE NOT NULL NUMBER
    SENSEI NUMBER
    REMARK VARCHAR2(4000)
    DAG NOT NULL DATE
    Can anyone se why application is complaining?
    BTW report region also complains to_date('01-may-06','dd-mon-yy') does not have a valid month.

    Marius,
    I am not sure but try this:
    SELECT   temae.temae, NVL (antall, 0) antall
        FROM temae LEFT OUTER JOIN (SELECT   temae, COUNT (temae) AS antall
                                        FROM okeiko
                                       WHERE person = :p3_person
                                         AND dag >=
                                                TO_DATE
                                                   (DECODE
                                                       (SIGN
                                                           (  TO_CHAR
                                                                    (CURRENT_DATE,
                                                                     'mm'
                                                            - 5
                                                        -1, TO_DATE
                                                              (   '01-NOV-'
                                                               || TO_CHAR
                                                                     (CURRENT_DATE,
                                                                      'yy'
                                                         - 365,
                                                        0, TO_DATE
                                                           (   '01-MAY-'
                                                            || TO_CHAR
                                                                    (CURRENT_DATE,
                                                                     'yy'
                                                        1, DECODE
                                                           (SIGN
                                                               (  TO_CHAR
                                                                     (CURRENT_DATE,
                                                                      'mm'
                                                                - 10
                                                            -1, TO_DATE
                                                               (   '01-MAY-'
                                                                || TO_CHAR
                                                                      (CURRENT_DATE,
                                                                       'yy'
                                                            0, TO_DATE
                                                               (   '01-MAY-'
                                                                || TO_CHAR
                                                                      (CURRENT_DATE,
                                                                       'yy'
                                                            1, TO_DATE
                                                               (   '01-NOV-'
                                                                || TO_CHAR
                                                                      (CURRENT_DATE,
                                                                       'yy'
                                    GROUP BY temae) p ON temae.ID = p.temae
       WHERE antall > 0
    ORDER BY NVL (antall, 0) DESC, temae.TYPE, temae.temaeI took out the formating of your to_date function.
    Denes Kubicek

  • Lession 3 oca sql fundamental doubts on ora -01858 error

    SELECT last_name, hire_date
       FROM   employees
       WHERE  hire_date = TO_DATE('May 24, 1999', 'fxMonth DD, YYYY');
       books mention it will leave a error (ora-01858 which is an non-numeric error )but the statement running perfectly while
    by deleting that "fx"-prefix gives an error called ora-01861.
    i am confused here??can anyone show me the right way?

    Hi,
    The outcome depends on your NLS settings. Probably yours are set to something different than AMERICAN. In you language the month of May may then have a different number of characters(?)
    That's why you hit the ORA-01861 with the FX Format Model, and something else without. (Can't see why you should get ORA-01858, though)
    Regards
    Peter

  • Handling ORA-01858 error

    hi every body,
    How can i handle exception ora-01858 without
    using when others then null;
    I want something
    like
    when user_definded =ora-01858 then null;
    when others then
    v_ErrorNumber := SQLCODE;
    v_ErrorText := SUBSTR(SQLERRM, 1, 2000);

    in fact ,
    I use a procadure that insert values into a table.
    I want that when it reaches an ORA-01858 , then the error is ignored and continue
    to insert others values,
    but now , when I reach error it stops, how to deal with it ?
    CREATE OR REPLACE PROCEDURE INSERT_SWAP_FIXINGS (l_num number)
    as
    v_date varchar2(20);
    v_swap varchar2(1000);
    conn utl_tcp.connection;
    p pls_integer;
    line varchar2(4000);
    v_ErrorNumber NUMBER; -- Variable to hold the error number
    v_ErrorText VARCHAR2(200); -- Variable to hold the error message text
    e_Non_Numeric EXCEPTION;
    PRAGMA EXCEPTION_INIT(e_Non_Numeric , -1858);
    begin
    select trunc(sysdate) -l_num into v_date from dual;
    select regexp_replace (stringAgg(ticker),',','|') ||';' into v_swap from SWAP_DESC ;
    conn := utl_tcp.open_connection(remote_host=>'MY_H0ST',remote_port=>123156);
    p := utl_tcp.write_line(conn, v_swap);
    p := utl_tcp.write_line(conn, 'PX_Last;');
    p := utl_tcp.write_line(conn, v_date );
    p := utl_tcp.write_line(conn,';');
    p := utl_tcp.write_line(conn, v_date);
    p := utl_tcp.write_line(conn, '>');
    begin
    loop
    line := utl_tcp.get_line(conn, TRUE);
    if get_token(line,2) like '%N/A%' then
    dbms_output.put_line(get_token(line,1)||','||get_token(line,2));
    dbms_output.put_line(line);
    insert into TMP_SWAP_FIXINGS
    values (get_token(line,1),to_date(get_token(line,2),'DD/MM/YYYY'));
    else
    insert into swap_fixings values (get_token(line,1),to_date(get_token(line,2),'DD/MM/YYYY'),get_token(line,3));
    end if;
    end loop;
    EXCEPTION
    WHEN utl_tcp.end_of_input THEN
    NULL;
    end;
    utl_tcp.close_connection(conn);
    commit;
    declare
    ligne varchar2(2000);
    corps varchar2(7000);
    begin
    ligne :=' DATA SWAP INSERTION : '
    || UTL_TCP.crlf || UTL_TCP.crlf
    || RPAD ('TICKER',30,' ')
    || RPAD ('INFO_DATE',40,' ')
    || RPAD ('LAST_PRICE',10,' ');
    corps := ligne || UTL_TCP.crlf;
    for x in (select ticker,to_char(info_date,'DD/MM/YYYY') "INFO_DATE",LAST_PRICE from SWAP_FIXINGS where trunc(info_date) = v_date)
    loop
    ligne :=
    RPAD (x.TICKER, 30, ' ')
    ||RPAD (x.info_date,40 ,' ')
    ||RPAD (x.LAST_PRICE,10,' ');
    corps := corps || ligne || UTL_TCP.crlf;
    end loop;
    corps := '<pre>' || corps || '</pre>';
    debug(corps);
    end;
    EXCEPTION
    WHEN e_Non_Numeric then
    null;
    when OTHERS THEN
    v_ErrorNumber := SQLCODE;
    v_ErrorText := SUBSTR(SQLERRM, 1, 200);
    declare
    ligne varchar2(2000);
    corps varchar2(7000);
    begin
    ligne := RPAD (v_ErrorText, 200, ' ');
    corps := corps || ligne || UTL_TCP.crlf;
    corps := '<pre>' || corps || '</pre>';
    debug(corps);
    end;
    end;
    /

  • ORA-01858 error from Apex Report on working/valid underlying query

    After two days of searching these forums and AskTom, I think I need to post the following problem.
    I have what seems to be a valid view of some data created as follows (with an apology for the formatting - doesn't seem to be a way of using a fixed font here):
    CREATE OR REPLACE FORCE VIEW "PRICING_CAPABILITY"."POW_EXEC_SUMM010" ("Item",
    "Jul-09", "Aug-09", "Sep-09", "Oct-09", "Nov-09", "Dec-09", "Jan-10",
    "Feb-10", "Mar-10", "Apr-10", "May-10", "Jun-10", "YTD")
    AS
    SELECT
    "Item",
    SUM(DECODE("ItemMonth",'Jul-09',"ItemValue",0)) "Jul-09",
    SUM(DECODE("ItemMonth",'Aug-09',"ItemValue",0)) "Aug-09",
    SUM(DECODE("ItemMonth",'Sep-09',"ItemValue",0)) "Sep-09",
    SUM(DECODE("ItemMonth",'Oct-09',"ItemValue",0)) "Oct-09",
    SUM(DECODE("ItemMonth",'Nov-09',"ItemValue",0)) "Nov-09",
    SUM(DECODE("ItemMonth",'Dec-09',"ItemValue",0)) "Dec-09",
    SUM(DECODE("ItemMonth",'Jan-10',"ItemValue",0)) "Jan-10",
    SUM(DECODE("ItemMonth",'Feb-10',"ItemValue",0)) "Feb-10",
    SUM(DECODE("ItemMonth",'Mar-10',"ItemValue",0)) "Mar-10",
    SUM(DECODE("ItemMonth",'Apr-10',"ItemValue",0)) "Apr-10",
    SUM(DECODE("ItemMonth",'May-10',"ItemValue",0)) "May-10",
    SUM(DECODE("ItemMonth",'Jun-10',"ItemValue",0)) "Jun-10",
    SUM("ItemValue") AS "YTD"
    FROM
    SELECT
    'New Proposals Received' AS "Item",
    TO_CHAR(t1.scope_received,'Mon-RR') AS "ItemMonth",
    COUNT(*) AS "ItemValue",
    10 AS "SortOrder"
    FROM
    PRICING_CAPABILITY.POW_DATA t1
    WHERE
    t1.scope_received IS NOT NULL
    AND extract(YEAR FROM t1.scope_received) IN (2009,2010)
    AND t1.scope_received >= '01-JUL-2009'
    GROUP BY
    'New Proposals Received',
    TO_CHAR(t1.scope_received,'Mon-RR'),
    10
    UNION
    SELECT
    'New Proposals Completed' AS "Item",
    TO_CHAR(t2.pricing_approval,'Mon-RR') AS "ItemMonth",
    COUNT(*) AS "ItemValue",
    20 AS "SortOrder"
    FROM
    PRICING_CAPABILITY.POW_DATA t1
    JOIN PRICING_CAPABILITY.POW_LAST_HISTORY t2
    ON
    t1.POW_DATA_ID = t2.POW_DATA_ID
    WHERE
    t2.pricing_approval IS NOT NULL
    AND extract(YEAR FROM t2.pricing_approval) IN (2009,2010)
    AND t2.pricing_approval >= '01-JUL-2009'
    GROUP BY
    'New Proposals Completed',
    TO_CHAR(t2.pricing_approval,'Mon-RR')
    GROUP BY
    "Item",
    "SortOrder"
    ORDER BY
    "SortOrder" ;
    This view works, ie produces the right results when run (ie select * from ...) in SQL Developer and in the SQL Workshop section of Apex.
    But when I attempt to produce an Apex report using it as the source of data, I get the following error:
    ORA-01858: a non-numeric character was found where a numeric was expected
    The error is displayed before any part of the report itself is displayed, ie the Region Header is displayed and then the error message.
    So far, anything I've been able to find on the forums or AskTom suggests that it is probably due to a date conversion problem. But the aim here is to summarise dated records by month, so I'm extracted the year and month elements of the date values, converting them to strings (using TO_CHAR), and then using the resulting 'Mon-YY' strings to group the results.
    If there is a better way, I'm interested.
    But I don't understand why Apex seems to be rejecting what appear to be valid results from a valid working query.
    Any ideas? Suggestions?
    Cheers,
    Peter

    Thanks again, Flavio. I'm learning and I appreciate your patience.
    The solution you provided is very similar to the one I came up with after your previous message, but I didn't have the NLS_DATE_LANGUAGE parameter. I'll go back and try it.
    I appreciate your explanation re Apex not needing to know and Oracle assuming that the client knows what it is doing, but it puzzles me more.
    The way that I originally had things, I think, was consistent with what you have explained, but it didn't work. To make it clear:
    1 I had an Oracle view that had no parameters and contained the date literal in the where clause and worked fine in both SQL Developer and in the Apex SQL Workshop.
    2 The view did not return any date values. Aside from the column headings and the first column (of character strings), the body of the table comprised integer values only.
    3 So, when Apex called the view, I would have expected the Oracle server to independently execute the view and return the (dateless) results to Apex, which would then present the unmodified results in a standard report. This is, I think, what SQL Developer and the Apex SQL Workshop appear to have successfully done.
    My expectation seems to be consistent with at least some of your explanation (ie [Oracle assumes] "+that the client knows what it is doing+" and "+apex doesn't need to know anything about the underlying query+"), but is not consistent with actual experience, where Apex seems to know that the underlying query contains a date literal and unsuccessfully (and unnecessarily) attempts to interpret it.
    I'm obviously missing something about how Apex and Oracle interact in this situation. While I don't need to know - as I have a working solution now - it is valuable to understand how things work. Makes life easier and more productive.
    Cheers,
    Peter

  • IPad 1 upgrade from 4.3.1 to 5.1.1 and error message 0e800400C during backup.  The response I get is that it is trying to backup my ipad.

    I'm trying to upgrade my ipad and it tries to backup before the upgrade.  During the backup I get an error message 0e800400C  and a promot that if I continue I may lose data (I'm ok with it.  I have already cleared data and settings).  When I press continue, the upgrade stops and the Ipad restores automatically.  So, I'm unable to get it done.  Any thoughts on what I may be doing wrong?    

    The first generation iPad can't be updated past 5.1.1.
    (114934)

  • ORA-00255: error archiving log

    When i changing noarchivelog mode on archivelog and online logs must archiveing
    I send this message from trace file.
    *** SESSION ID:(3.1) 2005.02.15.12.09.15.000
    ARCH: Archival stopped, error occurred. Will continue retrying
    ARCH:
    ORA-00255: error archiving log 1 of thread 1, sequence # 51
    ORA-00312: online log 1 thread 1: 'WORK:ORANW803\DATABASE\TEST\LOG1TEST.ORA'
    ORA-00312: online log 1 thread 1: 'WORK:ORANW803\DATABASE\TEST\LOG2TEST.ORA'
    ORA-00334: archived log: 'WORK:ORANW803\DATABASE\TEST\ARCHIVE\TESTT001S00051.ARC'
    ORA-00270: error creating archive log WORK:ORANW803\DATABASE\TEST\ARCHIVE\TESTT001S00051.ARC
    ORA-19504: failed to create file "WORK:ORANW803\DATABASE\TEST\ARCHIVE\TESTT001S00051.ARC"
    ORA-09200: sfccf: error creating file
    OSD-02070: unable to create file (OS 1)
    Tue Feb 15 12:10:02 2005 -

    well, your question was not clear, though, what I understand is, you want to move your DB from archivelog mode to NOARCHIVELOG mode, right?
    First of all, check whether do you have sufficient space to archiving on your hard-disk.
    Secondly, try the following, alter system archive log all;
    also, give the steps that you are implementing or implemented to switch from ARCHIVELOG TO NOARCHIVELOG.
    SJH
    OCP DBA

  • Error , ORA-19809 & ORA-19804 While restoring RMAN backup .

    Hi Experts,
    I am restoring production RMAN backup to UAT . Using below steps
    1)rman target=/
    2)RMAN> startup nomount;
    3) RMAN> restore controlfile from '/orabkdump/Rman_Bak/ACME/bkup_CTLFL_2206101206.ctl';
    Starting restore at 05-AUG-10
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=3 device type=DISK
    channel ORA_DISK_1: copied control file copy
    output file name=+DATA_ACME/acme/controlfile/current.256.724845209
    output file name=+DATA_ACME/acme/controlfile/current.257.724845209
    Finished restore at 05-AUG-10
    4) RMAN> alter database mount;
    database mounted
    released channel: ORA_DISK_1
    5) RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/orabkdump/Rman_Bak/ACME/%F';
    old RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/orabkdump/Rman_Bak/ACME1/current/%F';
    new RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/orabkdump/Rman_Bak/ACME/%F';
    new RMAN configuration parameters are successfully stored
    6) RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/orabkdump/Rman_Bak/ACME/%U';
    old RMAN configuration parameters:
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/orabkdump/Rman_Bak/ACME/%U';
    new RMAN configuration parameters:
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/orabkdump/Rman_Bak/ACME/%U';
    new RMAN configuration parameters are successfully stored
    released channel: ORA_DISK_1
    7) RMAN> CATALOG START WITH '/orabkdump/Rman_Bak/ACME';
    searching for all files that match the pattern /orabkdump/Rman_Bak/ACME
    List of Files Unknown to the Database
    =====================================
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722347594_1_1
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722347939_2_1
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722348365_3_1
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722348681_4_1
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722349076_5_1
    File Name: /orabkdump/Rman_Bak/ACME/bkup_CTLFL_2206101206.ctl
    File Name: /orabkdump/Rman_Bak/ACME/c-1904932673-20100622-00
    File Name: /orabkdump/Rman_Bak/ACME/dbsnap.log
    File Name: /orabkdump/Rman_Bak/ACME/rman_Tuesday_LVL_0.log
    File Name: /orabkdump/Rman_Bak/ACME/rman_Tuesday_LVL_0.trc
    Do you really want to catalog the above files (enter YES or NO)? YES
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722347594_1_1
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722347939_2_1
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722348365_3_1
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722348681_4_1
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722349076_5_1
    File Name: /orabkdump/Rman_Bak/ACME/bkup_CTLFL_2206101206.ctl
    File Name: /orabkdump/Rman_Bak/ACME/c-1904932673-20100622-00
    List of Files Which Where Not Cataloged
    =======================================
    File Name: /orabkdump/Rman_Bak/ACME/dbsnap.log
    RMAN-07517: Reason: The file header is corrupted
    File Name: /orabkdump/Rman_Bak/ACME/rman_Tuesday_LVL_0.log
    RMAN-07517: Reason: The file header is corrupted
    File Name: /orabkdump/Rman_Bak/ACME/rman_Tuesday_LVL_0.trc
    RMAN-07517: Reason: The file header is corrupted
    8) RMAN> run {
    2> set until sequence 1789 thread 2;
    3> restore database;
    4> recover database;
    5> sql 'alter database open resetlogs';
    6> }
    executing command: SET until clause
    Starting restore at 06-AUG-10
    using channel ORA_DISK_1
    Finished restore at 06-AUG-10
    Starting recover at 06-AUG-10
    using channel ORA_DISK_1
    starting media recovery
    channel ORA_DISK_1: starting archived log restore to default destination
    channel ORA_DISK_1: restoring archived log
    archived log thread=1 sequence=2803
    channel ORA_DISK_1: restoring archived log
    archived log thread=2 sequence=6051
    channel ORA_DISK_1: restoring archived log
    archived log thread=1 sequence=2804
    channel ORA_DISK_1: reading from backup piece /orabkdump/Rman_Bak/ACME/ACME_AL_726286927_57_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 08/06/2010 23:10:38
    ORA-19870: error while restoring backup piece /orabkdump/Rman_Bak/ACME/ACME_AL_726286927_57_1
    ORA-19809: limit exceeded for recovery files
    ORA-19804: cannot reclaim 49283072 bytes disk space from 5218762752 limit
    ** My UAT database should be in noarchival mode . Generally such errors have been observed during backup , but have no clue why they occurred during recovery .Please advice .
    Thanks
    Edited by: user11981514 on Aug 6, 2010 9:46 AM

    Hi,
    Since the error ORA-19809 indicates the lack of space in flash recovery area during the media recovery, I suggested increasing the value of the parameter DB_RECOVERY_FILE_DEST_SIZE.
    Yes, during the media recovery the RMAN will restore the archived log to the default destination (only if the required archived logs are not already on the disks).You can confirm the restore location of the archived log in RMAN restore log/destination specified by parameters log_archive_dest_1/db_recovery_file_dest.
    Regards,
    Vaibhav

  • ORA-19602 during backup of a RAC database with RMAN

    Dear All,
    We have an Oracle 10g database on a 2 nodes. This database is running in noarchivelog mode. While doing an offline backup of this database, we encountered ora-19602 errors. See below:
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:55
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 03/30/2009 09:56:10
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG modeBelow were the steps that we followed:
    1. We stopped both instances using "srvctl stop instance -d test -i test1,test2"
    2. We then "rman target /"
    3. In RMAN, we "startup mount"
    4. In RMAN, we "backup database;"
    5. RMAN failed with the above errors
    Can someone advice what went wrong? Thanks!

    Hi..
    1. We stopped both instances using "srvctl stop instance -d test -i test1,test2"
    2. export oracle_sid=sid
    3. We then "rman target /"
    4. In RMAN, we "startup mount"
    5. In RMAN, we "backup database;"
    Changed step 2.
    Also, from sqlplus can you check the
    select name,open_mode from v$database;
    select STATUS from v$instance;
    Anand

  • RMAN ORA-19870: error reading backup piece 'location'

    Hi All ,
    I have run a restore from a RMAN backup and i got this error :
    ORA-19870: error reading backup piece XX_df_23_11_2011_XXX_1_1.rman
    ORA-19599: block number 616206 is corrupt in backup piece XX_df_23_11_2011_XXX_1_1.rmanThough the RMAN backup is still going on , it has not errored out, How can i find what all gets missing from the Source database , as in what all is present in the missing block ?
    What is the use of MAXCORRUPT parameter ? can that be used here ? can this be prevented if i use maxcorrupt =1 and then run the restore ?
    Also , Is there any way in which i can verify that all the backups are perfect before i drop my earlier database and run the restore. I think its the validate command but I am not sure, hence seek expert suggestion.
    Please suggest
    Thanks
    Kk
    Edited by: Kk on Dec 1, 2011 3:04 AM

    RMAN backup Fails with ORA-19599,ORA-19600 and ORA-19601 [ID 779386.1]

  • Ora-19870 error reading backup piece during installation

    Hi,
    I am trying to install oracle10g database on windows.
    i am installing database software and database together and i keep getting this error half way throu installation.
    "ora-19870 error reading backup piece during installation"
    how can i solve this.
    Can someone help me please.
    Thanks,
    Philip.

    Hi,
    sorry man. i still have that problem.
    i could not find any solutions so far.
    if i find any i will let you know.
    but for now i have decided to install in another PC.
    Philip.

  • ORA-27067 Error while restoring database using RMAN

    Hi All,
    I am trying to restore the backups from my production database to an other server. I was able to restore the spfile and control files but at the step where I restore the datafiles I get the following error:
    RMAN-03002: failure of restore command at 11/03/2008 14:28:16
    ORA-19587: error occurred reading 0 bytes at block number 1
    ORA-27091: skgfqio: unable to queue I/O
    ORA-27067: skgfdisp: size of buffer is invalid
    The OS and the Oracle version on the source server (on which the backups were taken) and the target server (the backups being restored to) are the same. They both are running SUNOS 5.9 and Oracle 9.2. I
    Below are what were reported in the trace files:
    Unix process pid: 12359, image: oracle@ (TNS V1-V3)
    *** SESSION ID:(13.1) 2008-11-03 15:23:26.265
    *** 2008-11-03 15:23:26.275
    corrupt block 1 found during reading backup piece,file=/xxx/xxx/36jucqpe_1_1.bak, corr_type=1
    dump corrupted block
    2F11600 00020000 00000001 00000000 00000101 [................]
    2F11610 00000000 00000000 00000000 00000000 [................]
    Repeat 6 times
    *** 2008-11-03 16:19:29.778
    corrupt block 1 found during reading backup piece,file=/xxx/xxx/36jucqpe_1_1.bak, corr_type=1
    dump corrupted block
    3211C00 00020000 00000001 00000000 00000101 [................]
    3211C10 00000000 00000000 00000000 00000000 [................]
    Repeat 6 times
    Redo thread mounted by this instance: 0 <none>
    Oracle process number: 14
    Unix process pid: 12194, image: oracle@ (TNS V1-V3)
    *** SESSION ID:(11.3) 2008-11-03 14:09:42.986
    (blkno = 0x88, size = 276, max = 1, in-use = 1, last-recid= 0)
    (blkno = 0x89, size = 56, max = 145, in-use = 1, last-recid= 1)
    *** 2008-11-03 15:16:40.960
    *** SESSION ID:(13.1) 2008-11-03 15:16:40.951
    =====================
    PARSING IN CURSOR #2 len=68 dep=0 uid=0 oct=42 lid=0 tim=172140509128 hv=287842151 ad='35cd9364'
    alter session set events '10046 trace name context forever, level 8'
    END OF STMT
    EXEC #2:c=0,e=250,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=4,tim=172140509103
    WAIT #2: nam='SQL*Net message to client' ela= 8 p1=1650815232 p2=1 p3=0
    *** 2008-11-03 15:17:18.666
    WAIT #2: nam='SQL*Net message from client' ela= 36822299 p1=1650815232 p2=1 p3=0
    =====================
    PARSE ERROR #2:len=50 dep=0 uid=0 oct=3 lid=0 tim=172177341974 err=1219
    select /*+ FULL(t) */ count(*) from sys.source$ t
    WAIT #2: nam='SQL*Net break/reset to client' ela= 61 p1=1650815232 p2=1 p3=0
    WAIT #2: nam='SQL*Net break/reset to client' ela= 279 p1=1650815232 p2=0 p3=0
    WAIT #2: nam='SQL*Net message to client' ela= 5 p1=1650815232 p2=1 p3=0
    Unix process pid: 12156, image: oracle@ (TNS V1-V3)
    *** SESSION ID:(11.3) 2008-11-03 14:09:08.687
    Archiving is disabled
    Archiving is disabled
    Can anyone help me resolve this error?
    Thanks,
    Ashok

    Hi,
    We finally got this issue resolved. I think the error was because the source database server was running 64 bit Oracle 9.2.0 and we installed a 32 bit Oracle 9.2.0 database on the target server. We then did a fresh install of 64 bit Oracle 9.2.0 database on the target server and the restoration worked. Also, after copying all the backup files to the target DB server, change the access rights of all those files and the folder containing them to 777.
    Thanks,
    Ashok

  • RMAN Duplicate DB fails to restore datafile created during backup.

    Database is 9i.
    Performing duplicate database using rman on seperate host.
    Reason of failure is , there were datafiles created during backup. Question is , Is there a workaround to perform duplicate database to work.
    Error :
    released channel: aux1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 12/16/2007 14:42:44
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 791 found to restore
    RMAN-06023: no backup or copy of datafile 790 found to restore
    RMAN-06023: no backup or copy of datafile 789 found to restore
    RMAN-06023: no backup or copy of datafile 788 found to restore
    RMAN-06023: no backup or copy of datafile 787 found to restore
    RMAN-06023: no backup or copy of datafile 786 found to restore
    Backup Date is : 23rd Nov to 26th Nov
    Datafile created between backup period are :
    786 /oracle/prod/proddata17/btabd_322/btabd.data322 Nov-25-2007 02:58:38 AM
    787 /oracle/prod/proddata17/btabd_323/btabd.data323 Nov-25-2007 03:06:02 AM
    788 /oracle/prod/proddata17/btabd_324/btabd.data324 Nov-25-2007 03:17:48 AM
    789 /oracle/prod/proddata17/btabd_325/btabd.data325 Nov-25-2007 03:26:50 AM
    790 /oracle/prod/proddata17/btabd_326/btabd.data326 Nov-25-2007 03:32:31 AM
    791 /oracle/prod/proddata17/btabd_327/btabd.data327 Nov-25-2007 03:39:59 AM
    Restore Script :
    rman TARGET dtbackup/dt0dmin@prod CATALOG rman_prd/rman_prd@rcat_db connect auxiliary /
    run {
    set until time = "TO_DATE('11/26/2007 10:30:00','mm/dd/yyyy hh24:mi:ss')";
    allocate auxiliary channel aux1 type 'SBT_TAPE' PARMS="BLKSIZE=262144";
    DUPLICATE TARGET DATABASE TO DUP ;
    }

    I think there is no workaround and this is expected behavior - atleast till 10.2. If you refer oracle documentation, it says that it requires target database in either MOUNT or OPEN stage to duplicate database using RMAN. So RMAN will get current physical structure information about target database from its control file and when any file is not there in the backup, it will give error. Only way to resolve this is to take backup of these datafiles through RMAN either as backupset or copy. ( I think oracle can take hint from here and make RMAN database duplication possible for which backup is not available - its a small change in code - if backup not found, then start taking backup. Already in 11g, during RMAN duplication, RMAN can use backup from other server)

  • Error in RMAN TAPE BACKUP

    Dear Gurus,
    I got the following error in RMAN TAPE backup.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of delete command on default channel at 09/20/2011 02:36:58
    ORA-15028: ASM file '+ASMFLASH/gcprod/archivelog/2011_09_15/thread_2_seq_55857.2176.761912673' not dropped; currently being accessed
    RMAN>
    Recovery Manager complete.my RMAN BACKUP Script is:
    rman target sys/*****@gcprod1  nocatalog  << EOF
    spool log to $v_bdest/clean_catalog_TAPE.log append;
    run {
    allocate channel c1 type 'sbt_tape' parms
    'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
    #crosscheck backupset;
    #crosscheck copy;
    #crosscheck archivelog all;
    # included on 21Jan2011 at 9:18 PM
    #delete noprompt expired backup;
    delete noprompt obsolete;
    #delete noprompt expired archivelog all;
    # included on 21Jan2011 at 9:18 PM
    release channel c1;
    exit
    EOFMy RMAN RETENTION POLICY IS:
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;
    CONFIGURE BACKUP OPTIMIZATION OFF;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE MAXSETSIZE TO UNLIMITED;
    CONFIGURE ENCRYPTION FOR DATABASE OFF;
    CONFIGURE ENCRYPTION ALGORITHM 'AES128';
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/app/oracle/product/10.2.0.1/db_1/dbs/snapcf_gcprod1.f';According to retention policy archivelogs of past 3 days should be present rest and all , i have written a script to delete and it is performing well from past 6 months, but now recently we got this error
    we have enough archivelog space.
    and the archive log pointing in this error is on 15th september archivelog.....today date is 20th september....
    My archive log was stored in asm .... i went there and saw that still 15th september archivelogs are present there.
    Please help me regarding this
    Regards,
    Vamsi.....

    For RMAN topics, please use: {forum:id=74}.

  • BR278E error during backup

    HI all,
    Our database backup was running ok for the passed 3 months after the SAP system was installed. Recently, I keep getting BR278E error during backup. Below are the error message:
    BR0202I Saving init_ora
    BR0203I to /dev/rmt/0mn ...
    BR0278E Command output of 'LANG=C cd /oracle/PRD/102_64/dbs && /usr/sap/PRD/SYS/
    exe/run/brtools -f printarg initPRD.ora spfilePRD.ora | LANG=C cpio -ovB > /dev/
    rmt/0mn':
    initPRD.ora
    spfilePRD.ora
    ^GEnd of medium on "output".
    To continue, type device/file name when ready.
    The SAP system is on Solaris/Oracle running ECC6.0. LTO-4 tape drive is used for the backup. Tape_size in initSID.sap is set to 720000M. Current database size is 128Gb.
    What is the reason for the backup failure?
    Rdgs,
    Lim

    Hi,
    This is my initSID.sap
    @(#) $Id: //bas/640_REL/src/ccm/rsbr/initSUN.sap#4 $ SAP
    backup mode [all | all_data | full | incr | sap_dir | ora_dir
    | <tablespace_name> | <file_id> | <file_id1>-<file_id2>
    | <generic_path> | (<object_list>)]
    default: all
    backup_mode = all
    restore mode [all | all_data | full | incr | incr_only | incr_full
    | <tablespace_name> | <file_id> | <file_id1>-<file_id2>
    | <generic_path> | (<object_list>)]
    redirection with '=' is not supported here - use option '-m' instead
    default: all
    restore_mode = all
    backup type [offline | offline_force | offline_standby | offline_split
    | offline_mirror | offline_stop | online | online_cons | online_split
    | online_mirror
    default: offline
    backup_type = online
    backup device type
    [tape | tape_auto | tape_box | pipe | pipe_auto | pipe_box | disk
    | disk_copy | disk_standby | stage | stage_copy | stage_standby
    | util_file | util_file_online | rman_util | rman_disk | rman_stage
    | rman_prep]
    default: tape
    backup_dev_type = tape
    backup root directory [<path_name> | (<path_name_list>)]
    default: $SAPDATA_HOME/sapbackup
    backup_root_dir = /oracle/PRD/sapbackup
    stage root directory [<path_name> | (<path_name_list>)]
    default: value of the backup_root_dir parameter
    stage_root_dir = /oracle/PRD/sapbackup
    compression flag [yes | no | hardware | only]
    default: no
    compress =  hardware
    compress command
    first $-character is replaced by the source file name
    second $-character is replaced by the target file name
    <target_file_name> = <source_file_name>.Z
    for compress command the -c option must be set
    recommended setting for brbackup -k only run:
    "compress -b 12 -c $ > $"
    no default
    compress_cmd = "compress -b 12 -c $ > $"
    uncompress command
    first $-character is replaced by the source file name
    second $-character is replaced by the target file name
    <source_file_name> = <target_file_name>.Z
    for uncompress command the -c option must be set
    no default
    uncompress_cmd = "uncompress -c $ > $"
    directory for compression [<path_name> | (<path_name_list>)]
    default: value of the backup_root_dir parameter
    compress_dir = /oracle/PRD/sapreorg
    brarchive function [save | second_copy | double_save | save_delete
    | second_copy_delete | double_save_delete | copy_save
    | copy_delete_save | delete_saved | delete_copied]
    default: save
    archive_function = copy_delete_save
    directory for archive log copies to disk
    default: first value of the backup_root_dir parameter
    archive_copy_dir = /oracle/PRD/sapbackup
    directory for archive log copies to stage
    default: first value of the stage_root_dir parameter
    archive_stage_dir = /oracle/PRD/sapbackup
    new sapdata home directory for disk_copy | disk_standby
    no default
    new_db_home = /oracle/C11
    stage sapdata home directory for stage_copy | stage_standby
    default: value of the new_db_home parameter
    stage_db_home = /oracle/C11
    original sapdata home directory for split mirror disk backup
    no default
    orig_db_home = /oracle/C11
    remote host name
    no default
    remote_host = <host_name>
    remote user name
    default: current operating system user
    remote_user = <user_name>
    tape copy command [cpio | cpio_gnu | dd | dd_gnu | rman | rman_dd]
    default: cpio
    tape_copy_cmd = dd
    disk copy command [copy | dd | dd_gnu | rman]
    default: copy
    disk_copy_cmd = copy
    stage copy command [rcp | ftp]
    default: rcp
    stage_copy_cmd = rcp
    flags for cpio output command
    default: -ovB
    cpio_flags = -ovB
    flags for cpio input command
    default: -iuvB
    cpio_in_flags = -iuvB
    flags for cpio command for copy of directories to disk
    default: -pdcu
    cpio_disk_flags = -pdcu
    flags for dd output command
    default: "obs=16k"
    recommended setting:
    Unix: "obs=nk bs=nk", example: "obs=64k bs=64k"
    NT:   "bs=nk",        example: "bs=64k"
    dd_flags = "obs=64k bs=64k"
    flags for dd input command
    default: "ibs=16k"
    recommended setting:
    Unix: "ibs=nk bs=nk", example: "ibs=64k bs=64k"
    NT:   "bs=nk",        example: "bs=64k"
    dd_in_flags = "ibs=64k bs=64k"
    copy_in_cmd = "dd ibs=64k obs=8k if=$"
    rewind command
    rewind = "mt -f $ rewind"
    rewind and set offline command
    rewind_offline = "mt -f $ offline"
    tape positioning command
    tape_pos_cmd = "mt -f $ fsf $"
    recommended values for tape devices with hardware compression:
    tape_size = 720000M
    address of backup device without rewind
    tape_address = /dev/rmt/0mn
    address of backup device with rewind
    tape_address_rew = /dev/rmt/0m
    volumes for brarchive
    volume_archive = (PRDA09, PRDA10)
    volumes for brbackup
    volume_backup = (PRDB09, PRDB10)
    expiration period for backup volumes in days
    expir_period = 5
    recommended usages of backup volumes
    tape_use_count = 260
    Edited by: limws1 on Aug 27, 2011 4:44 AM

Maybe you are looking for

  • How to update the pricing, sales area details in Campaign

    Hi All, I need to create a campaign in CRM through program. For the same I have created it using the below: 1. create a Profle set using "'BAPI_PROFILESET_CREATE' with the appropriate "segmenttype". 2. create a target group using " BAPI_TARGETGROUP_C

  • How to execute an java code in pl/sql

    hi frnzzzzz.... iam new to java and sql both..... and i whant to execute an java program at pl/sql window. do i have to write an code on java source in program unit of pl/sql editor (i.e is in File>>new>>program window>>java source), if yes then i ha

  • ABAP differences of SAP R/3 4.6 and ECC 6.0

    What are the ABAP differences of SAP R/3 4.6 and ECC 6.0?

  • MX7 Updater report error

    I have used the MX 7.01 updater to the version of 7,0,2,137072 . Since I have run this updater I not get a when I run a report, error as follows: Measage:Report compilation error. Error at (135, 20: null Type: coldfusion.util.RuntimeWrapper I have ro

  • Access over ActiveSync

    Hi, I have tried to connect my Q10 to Lotus Traveler through ActiveSync directly. But I always shows the message: "Server not found" When I try it with a Z10 it works fine. Than you for a feedback