Rman backup validate error

DBGSQL: RCVCAT> begin dbms_rcvman.findSpfileBackup( allCopies => TRUE, rmanCmd => dbms_rcvman.restoreCmd_t); end; [10:37:16.635]
DBGSQL: sqlcode = 6550 [10:37:16.635]
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00601: fatal error in recovery manager
RMAN-03012: fatal error during compilation of command
RMAN-03028: fatal error code for command restore : 600
RMAN-00600: internal error, arguments [9302] [6550] [begin dbms_rcvman.findSpfileBackup(        allCopies  => TRUE,        rmanCmd => dbms_rcvman.restoreCmd_t); end; ] [] []
RMAN-06004: ORACLE error from recovery catalog database: ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'FINDSPFILEBACKUP'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
pls any one help me out
Thanks!

Since you say nothing about your OS and database version and we also don't know,which command produces this error, only a vague guess is possible, COULD be
Bug 7633694: RESTORE SPFILE LS-00306: WRONG NUMBER OR TYPES OF ARGUMENTS 'FINDSPFILEBACKUP' .
IF this bug is hit possible workarounds are:
1) Don't use a 11gR1 catalog
2) don't use spfile,keep a text based pfile
3) upgrade to 11gR2 (IF your OS is Linux or Solaris)
Werner

Similar Messages

  • Backup validate :Error

    Hi Expert,
    while executing backup validate database archivelog all in one of the server i received this
    RMAN> backup validate database archivelog all;
    Starting backup at 04-JUL-07
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=18 devtype=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 07/04/2007 06:21:34
    RMAN-06004: ORACLE error from recovery catalog database: RMAN-20242: specificati
    on does not match any archive log in the recovery catalog
    What this means and is it any major concern?
    Thanks
    Shaan

    this means you didn't have any archives and rman is unable to validate them.
    RMAN does not actually produce backup sets, but rather reads the specified files in their entirety, to determine whether they can be backed up and are not corrupted.
    found at:
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmbackp008.htm#sthref672

  • Rman Backup time error

    Today i saw this error in our production backup time .
    Please let me know how to leave out from this.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup plus archivelog command at 05/27/2011 01:13:47
    RMAN-03009: failure of backup command on ORA_DISK_2 channel at 05/27/2011 01:10:52
    ORA-19566: exceeded limit of 0 corrupt blocks for file
    N:\USERS01.DBF
    Regs,
    Brij

    Also, be aware that rman: backup validate (check logical) command could not show the corrupted blocks if that block are newer used(or used before, but freed later for example). In this case, rman validate does not populate V$database_block_corruption but it also does not allows you to continue with your backup.
    So the solution will be, as previous posters said, either set the limit for the sustained number of corrupted blocks or format/repair the corrupted block.
    For checking the corrupted blocks you could also use db verify utility(dbv). This will definitely show you the details about corrupted blocks, even they are not used ever.

  • RMAN Backup Validate

    Hi,
    We are having prod rman backup but not sure if it is valid one or not.
    Can any one suggest me how to valdate if those backup pieces can be used to restore the db for cloning of dev instance.
    Regards,
    siva

    Mohamed ELAzab wrote:
    Hello,
    You can use cross check backup.
    Please view this Link:
    http://ss64.com/ora/rman_crosscheck.html
    Two wrong things,
    1) Crosscheck is not the command to validate the restore but to check the physical existence of the backup pieces in comparison to the control file's repository. The op said,"We are having prod rman backup but not sure if it is valid one or not." So the restore validate is the command that's needed here based on what OP has said.
    2) Please use official oracle documentation for the reference as the error correction is guaranteed over there compared to the external sites like the one you have linked which almost never update/correct their content.
    Aman....

  • RMAN Backup Script Error

    Hi ,
    I am getting the following error when i am executing manbackup shell script.
    Message file RMAN<lang>.msb not found
    Verify that ORACLE_HOME is set properly
    RMAN Script
    DATE=`date +%Y%m%d.%H%M`
    #su - oracle
    #<<EOF
    export ORACLE_HOME=/home/app/oracle/product/10.2.0/db_1
    echo $ORACLE_HOME
    export PATH=$PATH:$ORACLE_HOME/bin
    #export PATH=$ORACLE_HOME/bin:$PATH
    export ORACLE_SID=ACILOC
    echo $ORACLE_SID
    rman cmdfile=/oraclebkp/rmanbackupscripts/rmanlevel0bkp.bck log=/oraclebkp/rmanbackupscripts/rmanACILOClev0$DATE.log
    export ORACLE_SID=ACIDC
    echo $ORACLE_SID
    rman cmdfile=/oraclebkp/rmanbackupscripts/rmanlevel0bkp.bck log=/oraclebkp/rmanbackupscripts/rmanACIDClev0$DATE.log
    #EOF
    level0bkp.bck
    connect target `/'
    run
    backup incremental level 0 database;
    but I am able to take RMAN backups by connecting as RMAN TARGET /
    Thanks in advance
    Priya

    connect target `/'Dont give / in quotations just connect as
    connect target /
    backup incremental level 0 database;
    }Thanks
    Close the threads as answered if helpful/correct.
    user11342455
    Handle: user11342455
    Status Level: Newbie
    Registered: Feb 18, 2010
    Total Posts: 22
    Total Questions:  10 (8 unresolved)
    Edited by: CKPT on Jan 5, 2011 12:17 PM

  • What actually RMAN "backup validate database" does?

    OS: AIX 5.3L; DB: Oracle 10g R2
    According to the RMAN doc, the validate actually run an integrity check on all datafiles and the archive logs if includes the "archivelog all" without creating any backupset. But I want to know what exact process Oracle engine is doing behind ? Because when I used it the first time, it took VARY long time to finish the validate process, the whole backup ( I followed the backup report as it was going). Then when I repeated it in my second backup process, the total backup time is back to normal as without it. Example: with my 31G DB, 6 and 1/2 hours first time, then 23 minutes for repeat.

    I read that doc too. I think maybe I did not ask question more clearly. But I want to understand what Oracle really does when this process checks all the blocks of the datafiles physically? Did it log its process, so the next run will know what it did before for the same block. Remember I observed that my repeat of the validate run vary fast comparing to that of the first time. I also checked with the paging activity and the iostat of the AIX, I did not see too much changes. Since I am going to apply this backup scheme to my prod box (same AIX 5.3 platform), I need to locate a suitable time period to run the first level 0 backup.

  • BACKUP VALIDATE vs VALIDATE in checking logical/physical corruption

    Hello all,
    I am checking if our 10gR2 database has any physical or logical corruption. I have read in some places where they state that VALIDATE command is enough to check database for physical corruption. Our database was never backed up by RMAN specifically before. Are any configuration settings needed for running BACKUP VALIDATE command? The reason I am asking is because just the VALIDATE command returns an error and BACKUP VALIDATE command runs without error but it is not showing the
    "File Status Marked Corrupt Empty Blocks Blocks Examined High SCN" lines.
    I used the command in two different formats and both do not show individual data file statuses:
    RMAN> run {
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE DEVICE TYPE DISK PARALLELISM 10 BACKUP TYPE TO BACKUPSET;
    BACKUP VALIDATE CHECK LOGICAL DATABASE FILESPERSET=10;
    RMAN> BACKUP VALIDATE CHECK LOGICAL DATABASE
    RMAN> VALIDATE DATABASE;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "database": expecting one of: "backupset"
    RMAN-01007: at line 1 column 10 file: standard input
    However on a different database already being backed up by RMAN daily, BACKUP VALIDATE output shows list of datafiles and STATUS = OK as below:
    List of Datafiles
    =================
    File Status Marked Corrupt Empty Blocks Blocks Examined High SCN
    How can we check every individual datafile status. Appreciate your responses. Thanks.

    Hi,
    After you have run:
    BACKUP VALIDATE CHECK LOGICAL DATABASE You can use sqlplus and run:
    select * from v$database_block_corruption.The output will tell you which block in which datafile is corrupt.
    Regards,
    Tycho
    Edited by: tychos on 8-sep-2011 18:34

  • Backup validate command

    I have few questions to clear my confusion.Can anyone please clarify it.
    1)Does Backup validate check logical database plus archivelog all takes same time as real backup?
    2)does database needs to be in archivelog mode?
    3)can this validate command run mount state?
    Thanks

    Here is a simple illustration for you;
    RMAN> BACKUP VALIDATE DATABASE ARCHIVELOG ALL;
    Starting backup at 17-AUG-10
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting compressed full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00002 name=/db/OPTIMA/oradata/opttest/opttest/UNDOTBS1.dbf
    input datafile fno=00341 name=/db/OPTIMA/oradata/opttest/data/NORS_OWCTTS_D_02.dbf
    input datafile fno=00369 name=/db/OPTIMA/oradata/opttest/data/NORS_ISUP_GROUP_D_03.dbf
    input datafile fno=00307 name=/db/OPTIMA/oradata/opttest/data/NORS_TONES_D_02.dbf
    input datafile fno=00311 name=/db/OPTIMA/oradata/opttest/data/NORS_SINGLE_UNIT_PM_D_02.dbf
    input datafile fno=00313 name=/db/OPTIMA/oradata/opttest/data/NORS_PM_D_02.dbf
    input datafile fno=00318 name=/db/OPTIMA/oradata/opttest/data/NORS_RTLTSUM_D_02.dbf
    input datafile fno=00319 name=/db/OPTIMA/oradata/opttest/data/NORS_SOTS_D_02.dbf
    input datafile fno=00320 name=/db/OPTIMA/oradata/opttest/data/NORS_SYSPERF_D_02.dbf
    input datafile fno=00328 name=/db/OPTIMA/oradata/opttest/data/NORS_TREATMENT_D_02.dbf
    input datafile fno=00329 name=/db/OPTIMA/oradata/opttest/data/NORS_TRUNK_MODULES_D_02.dbf
    input datafile fno=00123 name=/db/OPTIMA/oradata/opttest/data/NORS_SINGLE_UNIT_PM_D_01.dbf
    input datafile fno=00129 name=/db/OPTIMA/oradata/opttest/data/NORS_TONES_D_01.dbf
    input datafile fno=00147 name=/db/OPTIMA/oradata/opttest/data/NORS_C7LKSET_D_01.dbf
    input datafile fno=00149 name=/db/OPTIMA/oradata/opttest/data/NORS_C7MTP_D_01.dbf
    input datafile fno=00151 name=/db/OPTIMA/oradata/opttest/data/NORS_C7ROUTE_D_01.dbf
    input datafile fno=00155 name=/db/OPTIMA/oradata/opttest/data/NORS_CALL_CONTROL_D_01.dbf
    input datafile fno=00157 name=/db/OPTIMA/oradata/opttest/data/NORS_CDIVGRP_D_01.dbf
    input datafile fno=00159 name=/db/OPTIMA/oradata/opttest/data/NORS_COMPUTING_MODULE_D_01.dbf
    input datafile fno=00163 name=/db/OPTIMA/oradata/opttest/data/NORS_DTSRPM_D_01.dbf
    input datafile fno=00165 name=/db/OPTIMA/oradata/opttest/data/NORS_EXND_CALL_CONTROL_D_01.dbf
    input datafile fno=00167 name=/db/OPTIMA/oradata/opttest/data/NORS_ISUP_GROUP_D_01.dbf
    input datafile fno=00169 name=/db/OPTIMA/oradata/opttest/data/NORS_ISUP_STATS_D_01.dbf
    input datafile fno=00171 name=/db/OPTIMA/oradata/opttest/data/NORS_ISUP_TRAFFIC_D_01.dbf
    input datafile fno=00173 name=/db/OPTIMA/oradata/opttest/data/NORS_IWUCGRP_D_01.dbf
    input datafile fno=00179 name=/db/OPTIMA/oradata/opttest/data/NORS_MPCLINK3_D_01.dbf
    input datafile fno=00183 name=/db/OPTIMA/oradata/opttest/data/NORS_OFFICE_TRAFFIC_ROUT_D_01.dbf
    input datafile fno=00185 name=/db/OPTIMA/oradata/opttest/data/NORS_OWCTTS_D_01.dbf
    input datafile fno=00349 name=/db/OPTIMA/oradata/opttest/data/NORS_LINE_ACCESS_D_02.dbf
    input datafile fno=00011 name=/db/OPTIMA/oradata/opttest/opttest/OPTIMA_ALARMS_I.dbf
    input datafile fno=00012 name=/db/OPTIMA/oradata/opttest/opttest/SAMPLE_VENDORD.dbf
    input datafile fno=00013 name=/db/OPTIMA/oradata/opttest/opttest/SAMPLE_VENDORI.dbf
    input datafile fno=00110 name=/db/OPTIMA/oradata/opttest/system/DEF_NORTEL_SWITCHING_S_01.dbf
    input datafile fno=00115 name=/db/OPTIMA/oradata/opttest/data/NORS_PM_D_01.dbf
    input datafile fno=00177 name=/db/OPTIMA/oradata/opttest/data/NORS_LINE_TRAFFIC_D_01.dbf
    input datafile fno=00347 name=/db/OPTIMA/oradata/opttest/data/NORS_MPCLINK3_D_03.dbf
    input datafile fno=00350 name=/db/OPTIMA/oradata/opttest/data/NORS_EXND_CALL_CONTROL_D_03.dbf
    input datafile fno=00351 name=/db/OPTIMA/oradata/opttest/data/NORS_OWCTTS_D_03.dbf
    input datafile fno=00354 name=/db/OPTIMA/oradata/opttest/data/NORS_ISUP_STATS_D_03.dbf
    input datafile fno=00355 name=/db/OPTIMA/oradata/opttest/data/NORS_SYSPERF_D_03.dbf
    input datafile fno=00357 name=/db/OPTIMA/oradata/opttest/data/NORS_TRUNK_MODULES_D_03.dbf
    input datafile fno=00358 name=/db/OPTIMA/oradata/opttest/data/NORS_TREATMENT_D_03.dbf
    input datafile fno=00359 name=/db/OPTIMA/oradata/opttest/data/NORS_SOTS_D_03.dbf
    input datafile fno=00360 name=/db/OPTIMA/oradata/opttest/data/NORS_RTLTSUM_D_03.dbf
    input datafile fno=00362 name=/db/OPTIMA/oradata/opttest/data/NORS_OFFICE_TRAFFIC_ROUT_D_03.dbf
    input datafile fno=00363 name=/db/OPTIMA/oradata/opttest/data/NORS_C7ROUTE_D_03.dbf
    input datafile fno=00365 name=/db/OPTIMA/oradata/opttest/data/NORS_CDIVGRP_D_03.dbf
    input datafile fno=00368 name=/db/OPTIMA/oradata/opttest/data/NORS_CALL_CONTROL_D_03.dbf
    input datafile fno=00370 name=/db/OPTIMA/oradata/opttest/data/NORS_COMPUTING_MODULE_D_03.dbf
    input datafile fno=00371 name=/db/OPTIMA/oradata/opttest/data/NORS_C7MTP_D_03.dbf
    input datafile fno=00372 name=/db/OPTIMA/oradata/opttest/data/NORS_IWUCGRP_D_03.dbf
    input datafile fno=00376 name=/db/OPTIMA/oradata/opttest/data/NORS_C7LKSET_D_03.dbf
    input datafile fno=00377 name=/db/OPTIMA/oradata/opttest/data/NORS_ISUP_TRAFFIC_D_03.dbf
    input datafile fno=00378 name=/db/OPTIMA/oradata/opttest/data/NORS_DTSRPM_D_03.dbf
    input datafile fno=00352 name=/db/OPTIMA/oradata/opttest/data/NORS_ANN_D_03.dbf
    user interrupt received
    Finished backup at 17-AUG-10
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03099: job cancelled at user request
    RMAN> --> It was validating with the archivelog mode
    RMAN> exit
    Recovery Manager complete.
    $ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.4.0 - Production on Tue Aug 17 16:29:12 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL>  startup mount;
    ORACLE instance started.
    Total System Global Area 1375731712 bytes
    Fixed Size                  2056088 bytes
    Variable Size             704643176 bytes
    Database Buffers          654311424 bytes
    Redo Buffers               14721024 bytes
    Database mounted.
    SQL> alter database noarchivelog;
    Database altered.
    SQL> alter database open;
    Database altered.
    SQL> exit;
    SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    $ rman target /
    Recovery Manager: Release 10.2.0.4.0 - Production on Tue Aug 17 16:30:00 2010
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    connected to target database: OPTTEST (DBID=750193206)
    RMAN> BACKUP VALIDATE DATABASE ARCHIVELOG ALL;
    Starting backup at 17-AUG-10
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=1461 devtype=DISK
    channel ORA_DISK_1: starting compressed full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 08/17/2010 16:30:07
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_1: starting compressed full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 08/17/2010 16:30:08
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_1: starting compressed full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 08/17/2010 16:30:09
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_1: starting compressed full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 08/17/2010 16:30:09
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_1: starting compressed full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 08/17/2010 16:30:10
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_1: starting compressed full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 08/17/2010 16:30:11
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_1: starting compressed full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 08/17/2010 16:30:11
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_1: starting compressed full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 08/17/2010 16:30:12
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_1: starting compressed full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 08/17/2010 16:30:13
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_1: starting compressed full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 08/17/2010 16:30:13
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_1: starting compressed full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 08/17/2010 16:30:14
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_1: starting compressed full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 08/17/2010 16:30:15
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_1: starting compressed full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 08/17/2010 16:30:15
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_1: starting compressed full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 08/17/2010 16:30:16
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_1: starting compressed full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 08/17/2010 16:30:17
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_1: starting compressed archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=297 recid=7633 stamp=727146412
    input archive log thread=1 sequence=298 recid=7634 stamp=727221971
    input archive log thread=1 sequence=299 recid=7635 stamp=727222952
    input archive log thread=1 sequence=300 recid=7636 stamp=727281385Regards.
    Ogan

  • RMAN backup hangs on last channel

    I admin several Oracle DB servers. Recently I have had to run backups by hand. I cannot backup one server though. When I do a "backup database" it will go quickly through the first three channels, and then hang on the fourth. This has happened repeatedly. And I have let run for hours, without completion. Eventually, I ctl c it.
    It is configured for four channels and it is backing up to disk (nfs to a SAN), OS is Linux, database version is 11.1.0.7.0.
    RMAN> backup database;
    Starting backup at 22-JUN-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=109 device type=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: SID=123 device type=DISK
    allocated channel: ORA_DISK_3
    channel ORA_DISK_3: SID=116 device type=DISK
    allocated channel: ORA_DISK_4
    channel ORA_DISK_4: SID=104 device type=DISK
    channel ORA_DISK_1: starting compressed full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00012 name=/u03/data/sid1/storedata07.dbf
    input datafile file number=00016 name=/u03/data/sid1/storedata03.dbf
    input datafile file number=00023 name=/u03/data/sid1/storedata11.dbf
    input datafile file number=00024 name=/u03/data/sid1/storedata12.dbf
    input datafile file number=00029 name=/u03/data/sid1/storedata17.dbf
    input datafile file number=00027 name=/u03/data/sid1/storedata15.dbf
    input datafile file number=00033 name=/u03/data/sid1/storedata21.dbf
    input datafile file number=00004 name=/u03/data/sid1/users01.dbf
    input datafile file number=00022 name=/u03/data/sid1/storeindex08.dbf
    channel ORA_DISK_1: starting piece 1 at 22-JUN-11
    channel ORA_DISK_2: starting compressed full datafile backup set
    channel ORA_DISK_2: specifying datafile(s) in backup set
    input datafile file number=00009 name=/u03/data/sid1/storedata10.dbf
    input datafile file number=00013 name=/u03/data/sid1/storedata06.dbf
    input datafile file number=00017 name=/u03/data/sid1/storedata02.dbf
    input datafile file number=00026 name=/u03/data/sid1/storedata14.dbf
    input datafile file number=00032 name=/u03/data/sid1/storedata20.dbf
    input datafile file number=00007 name=/u03/data/sid1/storeindex02.dbf
    input datafile file number=00020 name=/u03/data/sid1/storeindex06.dbf
    input datafile file number=00021 name=/u03/data/sid1/storeindex07.dbf
    channel ORA_DISK_2: starting piece 1 at 22-JUN-11
    channel ORA_DISK_3: starting compressed full datafile backup set
    channel ORA_DISK_3: specifying datafile(s) in backup set
    input datafile file number=00011 name=/u03/data/sid1/storedata08.dbf
    input datafile file number=00015 name=/u03/data/sid1/storedata04.dbf
    input datafile file number=00002 name=/u03/data/sid1/undotbs01.dbf
    input datafile file number=00025 name=/u03/data/sid1/storedata13.dbf
    input datafile file number=00030 name=/u03/data/sid1/storedata18.dbf
    input datafile file number=00005 name=/u03/data/sid1/storeindex04.dbf
    input datafile file number=00008 name=/u03/data/sid1/storeindex01.dbf
    channel ORA_DISK_3: starting piece 1 at 22-JUN-11
    channel ORA_DISK_4: starting compressed full datafile backup set
    channel ORA_DISK_4: specifying datafile(s) in backup set
    input datafile file number=00010 name=/u03/data/sid1/storedata09.dbf
    input datafile file number=00014 name=/u03/data/sid1/storedata05.dbf
    input datafile file number=00018 name=/u03/data/sid1/storedata01.dbf
    input datafile file number=00028 name=/u03/data/sid1/storedata16.dbf
    input datafile file number=00031 name=/u03/data/sid1/storedata19.dbf
    input datafile file number=00006 name=/u03/data/sid1/storeindex03.dbf
    input datafile file number=00019 name=/u03/data/sid1/storeindex05.dbf
    input datafile file number=00001 name=/u03/data/sid1/system01.dbf
    input datafile file number=00003 name=/u03/data/sid1/sysaux01.dbf
    channel ORA_DISK_4: starting piece 1 at 22-JUN-11
    user interrupt received
    Finished backup at 22-JUN-11
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03099: job cancelled at user requestI also tried running a backup on only one channel and it hung.
    I am fairly new to RMAN and would appreciate any ideas on this.
    Thanks
    Edited by: user13716631 on Jun 23, 2011 10:37 AM

    Are these results OK? They don't seem right. Excerpt of results below:
    RMAN> backup validate database;
    Starting backup at 28-JUN-11
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    using channel ORA_DISK_3
    channel ORA_DISK_1: starting compressed full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00011 name=/u03/data/sid1/storedata08.dbf
    input datafile file number=00014 name=/u03/data/sid1/storedata05.dbf
    input datafile file number=00017 name=/u03/data/sid1/storedata02.dbf
    channel ORA_DISK_2: starting compressed full datafile backup set
    channel ORA_DISK_2: specifying datafile(s) in backup set
    input datafile file number=00009 name=/u03/data/sid1/storedata10.dbf
    channel ORA_DISK_3: starting compressed full datafile backup set
    input datafile file number=00010 name=/u03/data/sid1/storedata09.dbf
    channel ORA_DISK_3: backup set complete, elapsed time: 02:23:47
    List of Datafiles
    =================
    File Status Marked Corrupt Empty Blocks Blocks Examined High SCN
    2    OK     0              10768        3922560         1638021206
      File Name: /u03/data/sid1/undotbs01.dbf
      Block Type Blocks Failing Blocks Processed
      Data       0              0              
      Index      0              0              
      Other      0              3911792        
    File Status Marked Corrupt Empty Blocks Blocks Examined High SCN
    3    OK     0              10709        78120           1638023924
      File Name: /u03/data/sid1/sysaux01.dbf
      Block Type Blocks Failing Blocks Processed
      Data       0              23271          
      Index      0              24416          
      Other      0              19724          
    File Status Marked Corrupt Empty Blocks Blocks Examined High SCN
    6    OK     0              0            1420296         1638003712
      File Name: /u03/data/sid1/storeindex03.dbf
      Block Type Blocks Failing Blocks Processed
      Data       0              0              
      Index      0              1414526        
      Other      0              5770           
    Finished backup at 28-JUN-11

  • Rman backup with corrupted block

    Hello,
    Firstly - I have problem on non-production database 11.2.0.1.0, so I am not deeply worried about data. But I need to understand what happened with database backups and how to prevent such things in future.
    So - I have EM scheduled weekly full backup and daily incremental backups. Later there was problem with hardware and some corrupted blocks in database were found. The weekly backup ran without error and obsolete backups were deleted. Now it is not possible to "recover corruption list" because no backup without corruption exists (RMAN-06023: no backup or copy of datafile 6 found to restore). I am not worried about the lost data, but I need to find out how come the backup contains corrupted block.
    I have checked the data file using dbv utility
    DBVERIFY - Verification starting : FILE = /opt/oracle/oradata/orcl/users03.dbf
    DBV-00200: Block, DBA 27525766, already marked corrupt
    csc(0x0001.7b01729f) higher than block scn(0x0000.00000000)
    Page 2359942 failed with check code 6054
    DBVERIFY - Verification complete
    Total Pages Examined         : 3840000
    Total Pages Processed (Data) : 453896
    Total Pages Failing   (Data) : 1
    Total Pages Processed (Index): 2959104
    Total Pages Failing   (Index): 0
    Total Pages Processed (Other): 424025
    Total Pages Processed (Seg)  : 0
    Total Pages Failing   (Seg)  : 0
    Total Pages Empty            : 2975
    Total Pages Marked Corrupt   : 1
    Total Pages Influx           : 0
    Total Pages Encrypted        : 0
    Highest block SCN            : 2156227446 (1.2156227446)As you can see the datafile 6 - user03.dbf has errors. Also backups now contain errors.
    1) So how is it possible that the EM scheduled backup ran without problems and the backup now contains corrupted blocks. How to prevent this in future ? I know there is setting MAXCORRUPT. How can I check its current value ? How can I configure it using EM scheduled backups ?
    2) Secondly, meanwhile I studied the RMAN commands. So I have suspended EM backup jobs, and executed follwing command. And backup ran without error again. How is this possible, if data file users06.dbf has corrupted block ?
    Thanks !
    RMAN> run {
    set MAXCORRUPT for datafile 6 to 0;
    backup as compressed backupset datafile 6;
    2> 3> 4>
    executing command: SET MAX CORRUPT
    Starting backup at 07-NOV-12
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    using channel ORA_DISK_3
    using channel ORA_DISK_4
    using channel ORA_DISK_5
    channel ORA_DISK_1: starting compressed full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00006 name=/opt/oracle/oradata/orcl/users03.dbf
    channel ORA_DISK_1: starting piece 1 at 07-NOV-12
    channel ORA_DISK_1: finished piece 1 at 07-NOV-12
    piece handle=/opt/oraBackup/rman/nrnpo0sg_1_1 tag=TAG20121107T200120 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 01:13:05
    Finished backup at 07-NOV-12
    Starting Control File and SPFILE Autobackup at 07-NOV-12
    piece handle=/opt/oraBackup/rman/c-1253245572-20121107-03 comment=NONE
    Finished Control File and SPFILE Autobackup at 07-NOV-12

    I have updated database to 11.2.0.3
    However, the problem still persists. rman backup went ok on broken file
    oracle@orcl-cluster:~> sqlplus
    SQL*Plus: Release 11.2.0.3.0 Production on Tue Nov 20 09:24:11 2012
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    Enter user-name: system
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> select * from V$DATABASE_BLOCK_CORRUPTION;
         FILE#     BLOCK#     BLOCKS CORRUPTION_CHANGE# CORRUPTIO
             6    2359942          1                  0 FRACTURED
            25    1855622          1                  0 FRACTURED
    oracle@orcl-cluster:~> rman target /
    Recovery Manager: Release 11.2.0.3.0 - Production on Tue Nov 20 08:04:57 2012
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: ORCL (DBID=1253245572)
    RMAN> backup as compressed backupset datafile 6;
    Starting backup at 20-NOV-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=1596 device type=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: SID=1568 device type=DISK
    allocated channel: ORA_DISK_3
    channel ORA_DISK_3: SID=2357 device type=DISK
    allocated channel: ORA_DISK_4
    channel ORA_DISK_4: SID=2341 device type=DISK
    allocated channel: ORA_DISK_5
    channel ORA_DISK_5: SID=86 device type=DISK
    channel ORA_DISK_1: starting compressed full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00006 name=/opt/oracle/oradata/orcl/users03.dbf
    channel ORA_DISK_1: starting piece 1 at 20-NOV-12
    channel ORA_DISK_1: finished piece 1 at 20-NOV-12
    piece handle=/opt/oraBackup/rman/2rnqovpp_1_1 tag=TAG20121120T080513 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 01:10:35
    Finished backup at 20-NOV-12
    Starting Control File and SPFILE Autobackup at 20-NOV-12
    piece handle=/opt/oraBackup/rman/c-1253245572-20121120-00 comment=NONE
    Finished Control File and SPFILE Autobackup at 20-NOV-12
    RMAN> backup validate datafile 6;
    Starting backup at 20-NOV-12
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    using channel ORA_DISK_3
    using channel ORA_DISK_4
    using channel ORA_DISK_5
    channel ORA_DISK_1: starting compressed full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00006 name=/opt/oracle/oradata/orcl/users03.dbf
    channel ORA_DISK_1: backup set complete, elapsed time: 00:03:05
    List of Datafiles
    =================
    File Status Marked Corrupt Empty Blocks Blocks Examined High SCN
    6    OK     1              2975         3840000         6489027926
      File Name: /opt/oracle/oradata/orcl/users03.dbf
      Block Type Blocks Failing Blocks Processed
      Data       0              453912
      Index      0              2959091
      Other      0              424022
    Finished backup at 20-NOV-12Edited by: kamilp on Nov 20, 2012 12:23 AM

  • Whats the difference ( RMAN BACKUP)

    Please let me know the diffrence between
    1.Alter database begin backup
    2. backup database
    After my own research all i can find is that Alter database begin backup freeeze the SCN and then we can copy the files from OS level
    Where backup database directly create backup set ( backup piece) ..
    I would like to know the functional differnce between the two if there is any...
    Plus ...doing alter database begin backup ...am i not taking care of logical corruption..
    Does alter database being backup does not validate or find out the logical corruption before...
    I also came know from a OCA that it just puts in backup mode and dont really pay attention to checking or validating the files...before backin up.
    Is that true?
    Thanks in advance
    Max
    Edited by: Sunny-ORACLE on Aug 18, 2009 4:59 AM

    Sunny-ORACLE wrote:
    Please let me know the diffrence between
    1.Alter database begin backup
    2. backup database
    After my own research all i can find is that Alter database begin backup freeeze the SCN and then we can copy the files from OS level
    Where backup database directly create backup set ( backup piece) ..
    I would the functional differnce between the two if there is any...The backup database doesn't need to freeze any headers as RMAN knows how to read the datafiles of oracle. Its knows them very well. So there is nothing we need in the case of rman to check that when the backup was done.
    Plus ...doing alter database begin backup ...am i not taking care of logical corruption..
    Does alter database being backup does not validate or find out the logical corruption before...
    I came know from a OCA that it just puts in backup mode and dont really pay attention to checking or validating the files...before backin up.
    Yes its correct, the commands, alter database begin backup pr backup database doesn't check for any sort of corruptions. Fordoing that, you either need to fire up oS util. DBV for checking the physical corruptions or use RMANs Backup Validate or Backup Validate Check Logical to check for physical/logical corruptions.
    HTH
    Aman....

  • Backup validate check logical database

    What is exactly the following RMAN command do? I want to know Is it doing a full backup or not?
    rman> backup validate check logical database' . Kindly help me.

    RMAN does not physically backup the database with this command. But it reads all blocks and checks for corruptions.
    If it finds corrupted blocks it will place the information about the corruption into a view:
    v$database_block_corruption;
    Now we can tell RMAN to recover all the blocks which it has found as being corrupt:
    RMAN> blockrecover corruption list; # (all blocks from v$database_block_corruption)
    Use below link for reference.
    http://luhartma.blogspot.com/2006/04/how-to-check-for-and-repair-block.html
    -Bharath

  • How to check RMAN backup report or log

    Hi Guys,
    I have RMAN schduled to backup my database daily.
    Please what are the steps to check the report of the backup to see what was actually backed up and if it backup up ok
    Thanks

    Use "LIST BACKUP" to display information about backup sets, proxy copies, and image copies. With LIST command you can list the following:
    - Backups and copies that do not have the status AVAILABLE in the RMAN repository
    - Backups and copies of datafiles that are available and can possibly be used in a restore operation
    - Specified archived logs, backup sets, backup pieces, control file copies, datafile copies, and proxy copies
    - Backups and copies restricted by tag, completion time, recoverability, or device
    - Incarnations of a specified database or of all databases known to the repository
    - Stored scripts in the recovery catalog
    Examples on how to use LIST command are listed below:
    RMAN> LIST BACKUP;
    RMAN> LIST EXPIRED BACKUP;
    RMAN> LIST BACKUP OF DATABASE;
    RMAN> LIST BACKUP SUMMARY;
    RMAN> LIST BACKUP BY FILE;
    RMAN> LIST ARCHIVELOG ALL;
    RMAN> LIST COPY OF DATABASE ARCHIVELOG ALL;
    RMAN> LIST COPY OF DATAFILE 1, 2, 3;
    RMAN> LIST BACKUP OF ARCHIVELOG FROM SEQUENCE 1437;
    RMAN> LIST BACKUPSET OF DATAFILE 1;You can use the VALIDATE keyword of the BACKUP command to do the following:
    - Check datafiles for physical and logical corruption
    - Confirm that all database files exist and are in the correct locations
    For example, you can validate that all database files and archived redo logs can be backed up by running a command as follows:
    RMAN> BACKUP VALIDATE DATABASE ARCHIVELOG ALL;I suggest you read Oracle® Database Backup and Recovery Manuals:
    http://www.oracle.com/pls/db102/portal.portal_db?selected=3

  • RMAN backup in RAC failing with error ORA-19566

    Hi all, i have 2 node RAC and i am trying to take rman backup of the database which is in ASM filesystem.
    There is a corruption in SYSAUX file and rman is failing to take backup of the sysaux datafile and error thrown at the end like
    piece handle=/home/oracle/orabackup/BLOOM_LVL0_20120627_1qnejueh_s58_p1 tag=TAG20120627T185538 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:56
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 06/27/2012 18:56:17
    *ORA-19566: exceeded limit of 0 corrupt blocks for file +DATA/bloom/datafile/sysaux.257.775475317*
    Then i tried to validate the backup in rman of the datafile sysaux nad fired the following query
    SQL> SELECT * FROM v$database_block_corruption;
    FILE# BLOCK# BLOCKS CORRUPTION_CHANGE# CORRUPTIO
    3 32011 1 0 ALL ZERO
    3 32049 40 0 ALL ZERO
    3 32034 1 0 ALL ZERO
    3 28964 1 1399837 LOGICAL
    3 32015 2 0 ALL ZERO
    and found all the blocks in the table WRH$_SQL_PLAN.
    Then dropped the table, and tried to take backup of the database and it is failing again with the same error..
    ANY SOLUTION TO TAKE BACKUP OF THE DATABASE.
    anyhow we can SET MAXCORRUPT FOR DATAFILE 3 to value, but does this works all time...
    Thanks in advance,
    TEJAS

    Both are good suggestions, but
    Osama-mustafa wrote:
    RMAN> blockrecover datafile 5 block 2684; -- Fix Eror That ship has already sailed:
    TEJAS_DBA wrote:
    And Yes this is the first time i am taking backup on the database.And:
    Osama-mustafa wrote:
    Or Skip Option
    Like
    RMAN> RUN{
    2> SET MAXCORRUPT FOR DATAFILE 1,3 to 1;
    3> BACKUP DATABASE;
    4> }The OP was aware of this option and hopefully was able to get at least some sort of a backup eventually. But as for the dropped WRH$_SQL_PLAN, TEJAS is, I will use the word "braver" than most. And as often is the case, Dan Morgan offered the only bit of sensible advise.
    Open an SR.
    Good luck.

  • 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]

Maybe you are looking for

  • How can I prevent client certificate information from being written to kjs log?

    I have an application running on iPlanet Application server 6.0 that makes an SSL connection to an external site using client certificate. Problem : Every time the connection is wrapped in a client certificate, the entire SSL handshake including the

  • COGI error generated while collective order confirmation

    hi ALL, this is the real  task for all PP GURUS. the issue is related with collective order confirmation. client is using customised program ZPP_CONF to confirm the collective order which is based on the sap spro program CORUPROC.this include automat

  • Load data from one Application to another in BPC NW 7.5

    Hi I have a requirement to load data from One application to another application. eg. HR Plannning to CostCenter Planning. I am aware of a method to load data using transformation file mapping source and target dimensions and run DM package and this

  • Preventing an OperationBinding from putting messages into the FacesContext

    Hi, We sometimes manually execute an OperationBinding by calling something like: OperationBinding op = bindings.getOperationBinding("someOperation"); op.execute();Sometimes the facade method that gets called throws an exception. It's a useful excepti

  • Mpeg streamclip 1.8

    Hi, I'm trying drop a DVD (I have permission) into the streamclip application and am getting "File open error: unsupported file type" and when I select "Open Anyway" it gives me "File open error: can't find video or audio tracks". I have tried with o