RMAN-03009: failure of delete command on ... ORA-19606: Cannot copy or rest

one server using 11.2.0.1.0 under Suse Linux
configured catalog db, main db & jobs & ... almost everything with enterprise manager
keep backups 14 days
To make 14 full online dumps I had to aktive the archive mode and try to get rid of thoose unwanted additional files.
Additional I make every night (less til no db activity) a dump and compress it myself.
After some days the backupjob complain that it can not delete old files.
EM / manage all backups / crosscheck all(
CROSSCHECK BACKUPSET;
CROSSCHECK COPY;
sucessful
EM / manage all backups / delete old backups
DELETE NOPROMPT OBSOLETE;
failed.
script result
Recovery Manager: Release 11.2.0.1.0 - Production on Tue Sep 7 17:20:55 2010
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
RMAN>
connected to target database: <SID> (DBID=773091283)
RMAN>
connected to recovery catalog database
RMAN>
echo set on
RMAN> DELETE NOPROMPT OBSOLETE;
RMAN retention policy will be applied to the command
RMAN retention policy is set to recovery window of 14 days
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=196 device type=DISK
Deleting the following obsolete backups and copies:
Type Key Completion Time Filename/Handle
Control File Copy 3831 03-AUG-10 /opt/oracle/base/product/11gR1/db/dbs/snapcf_<SID>.f
Backup Set 18750 23-AUG-10
Backup Piece 18754 23-AUG-10 /srv/ora/data/flash_recovery_area/<SID>/backupset/2010_08_23/o1_mf_nnndf_BACKUP_<SID>CH0_673c0hbp_.bkp
Backup Set 18751 23-AUG-10
Backup Piece 18755 23-AUG-10 /srv/ora/data/flash_recovery_area/<SID>/backupset/2010_08_23/o1_mf_nnndf_BACKUP_<SID>CH0_673c0hbo_.bkp
Backup Set 19479 24-AUG-10
Backup Piece 19482 24-AUG-10 /tmp/o0lm3qh9_1_1
Backup Set 19490 24-AUG-10
Backup Set 20087 24-AUG-10
Backup Piece 20089 24-AUG-10 /srv/ora/data/flash_recovery_area/<SID>/autobackup/2010_08_24/o1_mf_s_727891232_677n40r3_.bkp
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of delete command on ORA_DISK_1 channel at 09/07/2010 17:20:57
ORA-19606: Cannot copy or restore to snapshot control file
exit;
Recovery Manager complete.
google found some questions, but not fittung answers.
So far:
- I checked the folder & users rights.
- I found some /tmp/ files - yes I "backup" the backuped archivelogs to-delete files in /tmp - I only active archivelogmode so I can onlinebackup
- I managed to login via rman and execute DELETE OBSOLETE manual - result above.
- Actual I delete the set one by one to find the problem set. (delete backupset 12345 ) from the list manually.
Some a good idea what went wrong?
additional: Is there a way to let oracle delete the empy archvielog-directories after deleting the logs within?
18:00- the command "RMAN> BACKUP CURRENT CONTROLFILE" also fails.
Edited by: 793286 on 07.09.2010 09:00

Meanwhile I managed to delete all backupsets one by one.
The problem with $ORACLE_HOME/dbs/snapcf_<SID>.f persists.
cd $ORACLE_HOME/dbs
mv snapcf_<SID>.f snapcf_<SID>.f.bak
# replaced actual dbsidname with <SID>
RMAN> delete obsolete;
RMAN retention policy will be applied to the command
RMAN retention policy is set to recovery window of 14 days
using channel ORA_DISK_1
Deleting the following obsolete backups and copies:
Type Key Completion Time Filename/Handle
Control File Copy 3831 03-AUG-10 /opt/oracle/base/product/11gR1/db/dbs/snapcf_TARMED1P.f
Do you really want to delete the above objects (enter YES or NO)? y
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of delete command on ORA_DISK_1 channel at 09/08/2010 09:44:07
ORA-19606: Cannot copy or restore to snapshot control file
mv snapcf_<SID>.f.bak snapcf_<SID>.fRMAN> backup current controlfile;
Starting backup at 08-SEP-10
using channel ORA_DISK_1
channel ORA_DISK_1: starting compressed full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
including current control file in backup set
channel ORA_DISK_1: starting piece 1 at 08-SEP-10
channel ORA_DISK_1: finished piece 1 at 08-SEP-10
piece handle=/srv/ora/data/flash_recovery_area/TARMED1P/backupset/2010_09_08/o1_mf_ncnnf_TAG20100908T095000_68gj1b2m_.bkp tag=TAG20100908T095000 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
Finished backup at 08-SEP-10
Starting Control File and SPFILE Autobackup at 08-SEP-10
piece handle=/srv/ora/data/flash_recovery_area/TARMED1P/autobackup/2010_09_08/o1_mf_s_729165003_68gj1d1b_.bkp comment=NONE
Finished Control File and SPFILE Autobackup at 08-SEP-10
RMAN> delete obsolete;
RMAN retention policy will be applied to the command
RMAN retention policy is set to recovery window of 14 days
using channel ORA_DISK_1
Deleting the following obsolete backups and copies:
Type Key Completion Time Filename/Handle
Control File Copy 3831 03-AUG-10 /opt/oracle/base/product/11gR1/db/dbs/snapcf_<SID>.f
Do you really want to delete the above objects (enter YES or NO)? y
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of delete command on ORA_DISK_1 channel at 09/08/2010 09:52:37
ORA-19606: Cannot copy or restore to snapshot control file
No different effect, if I changed the filename via 2nd terminal to .bak or not.
RMAN> delete controlfilecopy 3831;
will fail, if the file exists or not.
Any chance to reset/kill that file?
Is there a need to restart the dbms after rename the file?

Similar Messages

  • Error while taking RMAN back up - RMAN-03009: failure of backup command ..

    Hi Experts,
    I am trying to take RMAN back up but at the end I get this error message.. I found a solution at http://www.oracle-base.com/articles/9i/RecoveryManager9i.php
    But this is of oracle 9i. Can I use it on 10g too ?
    So is this Step correct ?
    1) First create a user to hold the recovery catalog:
    a) CONNECT sys/password@w2k1 AS SYSDBA
    b) GRANT connect, resource, recovery_catalog_owner TO rman;
    2) Then create the recovery catalog:
    a) C:>rman catalog=rman/rman@w2k1
    b) RMAN> create catalog tablespace "RMAN";
    c) RMAN> exit
    3) Register Database
    a) C:>rman catalog=rman/rman@w2k1 target=sys/password@w2k2
    b) RMAN> register database;
    c) Existing user-created backups can be added to the catalog using: (*So far no Back up taken so I guess this step can be ignored*)
    i) RMAN> catalog datafilecopy 'C:\Oracle\Oradata\TSH1.dbf';
    ii) RMAN> catalog archivelog 'log1', 'log2', 'log3', ... 'logN';
    4) Full Backup Configuration
    RMAN> configure retention policy to recovery window of 7 days;
    RMAN> configure default device type to disk;
    RMAN> configure controlfile autobackup on;
    RMAN> configure channel device type disk format 'C:\Oracle\Admin\W2K2\Backup%d_DB_%u_%s_%p';
    5) Full back up
    RMAN> run {
    backup database plus archivelog;
    delete noprompt obsolete;
    6) RMAN> resync catalog;
    Starting backup at 15-MAY-10
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00006 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\DM_MENTOR200
    60430230208_DB.DBF
    input datafile fno=00002 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\UNDOTBS01.DB
    F
    input datafile fno=00007 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\DM_MENTOR200
    60430230208_IND.DBF
    input datafile fno=00001 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\SYSTEM01.DBF
    input datafile fno=00003 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\SYSAUX01.DBF
    input datafile fno=00005 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\EXAMPLE01.DB
    F
    input datafile fno=00004 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\USERS01.DBF
    channel ORA_DISK_1: starting piece 1 at 15-MAY-10
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/15/2010 05:11:
    03
    ORA-19809: limit exceeded for recovery files
    ORA-19804: cannot reclaim 52428800 bytes disk space from 2147483648 limit
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    including current controlfile in backupset
    channel ORA_DISK_1: starting piece 1 at 15-MAY-10
    channel ORA_DISK_1: finished piece 1 at 15-MAY-10
    piece handle=C:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ZUMA\BACKUPSET\2010_05
    _15\O1_MF_NCNNF_TAG20100515T045136_5YX3TTFT_.BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:17
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup plus archivelog command at 05/15/2010 05:11:21
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/15/2010 05:11:
    03
    ORA-19809: limit exceeded for recovery files
    ORA-19804: cannot reclaim 52428800 bytes disk space from 2147483648 limit
    RMAN>
    Thanks & Regards,
    Ranjith John

    Provided you consult the 10g RMAN documentation and the online error documentation: yes.
    But apparently you didn't check documentation, not even the error messages!!!!! Why?
    You are backing up to the Flash Recovery Area, and the error messages mean too much space is occupied.
    How to configure the Flash Recovery Areea is fully documented in the Backup and Recovery manual for 10g at http://tahiti.oracle.com
    READ IT.
    Please do not ask a volunteer to abstract it.
    Sybrand Bakker
    Senior Oracle DBA

  • RMAN-03002: failure of delete command

    DB:10.2.0.3.0
    OS:AIX 64 bits
    Hi All,
    We have configured backup default device on Disk.
    On using the command within run block:
    delete noprompt obsolete;
    We get the error:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of delete command at 02/06/2009 11:07:04
    RMAN-06091: no channel allocated for maintenance (of an appropriate type)
    RMAN>
    Recovery Manager complete.
    Return Code: 1
    Now when we use the commmand :RMAN> delete noprompt obsolete device type disk;
    We do not get the above error.
    Question: Is it necessary to issue the command - "device type disk"; as above with "delete noprompt obsolete " though default backup device type is configured to DISK.Won't RMAN itself identify the default device type - Disk.
    Thanks for your time!
    Regards,

    RMAN> show all;
    starting full resync of recovery catalog
    full resync complete
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/production_dump/database/EW01/Backup%d_DB_%u_%s_%p_%T';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/apps/ew01/oracle/10.2.0/dbs/snapcf_ew01.f'; # default
    RMAN>
    RMAN>

  • RMAN-03002: failure of recover command

    Hi all,
    I am testing a new backup and restore mechanism of a 11.2 system in Linux. A third mirror of the disks from the database server has been split and mounted in a media server. An RMAN backup was taken then, on tape, using HP Data Protector. Then, in the media server again, I mounted all the disk groups and removed all the files from ASM via asmcmd. With everything cleared, I proceeded in doing the following:
    1. Started up nomount using an old PFILE.
    2. Initiated an RMAN session and SET DBID, connected to the target and the catalog. Restore the SPFILE in a PFILE.
    3. Shutdow and started up nomount with PFILE the newly created file (edited it first to comment out CLUSTER_DATABASE parameter, as the media server is not configured for this).
    4. Restored the contorl file. This was done successfully.
    5. Restored the database. This was done successfully.
    6. Mounted the database and attempted to recover it. I received the following error:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 07/12/2013 09:42:24
    RMAN-06094: datafile 1 must be restored
    7. I attempted a recover from SQL*Plus; the error message was a little more helpful:
    SQL> recover database using backup controlfile;
    ORA-00283: recovery session canceled due to errors
    ORA-01110: data file 1: '+BT1_A_SYSTEM/bt1_a/datafile/system.259.813148661'
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: '+BT1_A_SYSTEM/bt1_a/datafile/system.259.813148661'
    8. I checked my source database and the file name is as it appears above. But in the restored system, the file has a different name:
    ASMCMD> pwd
    +BT1_A_SYSTEM/BT1_A/DATAFILE
    ASMCMD> ls -l SYSTEM*
    Type      Redund  Striped  Time             Sys  Name
    DATAFILE  UNPROT  COARSE   JUL 11 16:00:00  Y    SYSTEM.257.820514399
    9. OK. I presume that this happened because we are using OMF. But, I was expecting RMAN to specify the full file names and thus restore them with their original names. The problem is now that the control file has the original file names, which cannot be found in the media server, where the restore took place. I am wondering if I should MOUNT the database after the control file restore and before I start the database restore, so RMAN might have the opportunity of renaming the file names in the control file.
    Has anyone encountered this problem? I would appreciate some help.
    Regards,
    Takis.

    That is correct Hemant. I latter realised my mistake.
    When I mounted the database, the control file was opened. Then I repeated the restore. RMAN, this time was able to access the control file and rename dynamically the files, as they were restored and getting their new names.
    So, I think, the correct sequence of events may be:
    1, Check in ASM if the disk groups are mounted (lsdg). If not, mount the disk groups (alter diskgroup <dg_name> mount;).
    2. Startup nomount (if no PFILE available, create a simple one with only db_name in it).
    3. From RMAN, set DBID and then connect to target and catalog.
    4. restore spfile to pfile from autobackup
    5. restore control file(s) from autobackup
    6. alter database mount
    7. restore database
    8. restore archivelog all
    9. recover database
    10. alter database open resetlogs
    In my case, this worked, by enslarge. RMAN stopped when it run out of archived redo logs.
    I then attempted, via SQL*Plus:
    recover database using backup controlfile until cancel
    When prompted, I typed: CANCEL
    That was fine, but then, when I attempted:
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-19809: limit exceeded for recovery files
    ORA-19804: cannot reclaim 525336576 bytes disk space from 2147483648 limit
    So, I needed to increase the parameter db_recovery_file_dest_size which I did (in the pfile; luckily I had available space in the disk group). I shut down and started up (mount). Then:
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-00392: log 24 of thread 2 is being cleared, operation not allowed
    ORA-00312: online log 24 thread 2: '+BT1_A_RECO'
    So:
    SQL> alter database clear unarchived logfile group 24;
    Database altered.
    SQL> alter database open resetlogs;
    Database altered.
    SQL> select * from dual;
    D
    X
    Happy days!
    Regards,
    Takis.

  • RMAN-03009, RMAN-10015, RMAN-10033, ORA-04030

    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on t1 channel at 12/15/2012 06:15:11
    RMAN-10015: error compiling PL/SQL program
    RMAN-10033: error during compilation of job step 2: ORA-00603: ORACLE server session terminated by fatal error
    ORA-04030: out of process memory when trying to allocate 400 bytes (PL/SQL DIANA,LISIMA: Add cells)
    Hi All,
    We received the above error message after the following event:
    rman failed to backup because archivelog destination was out of space
    We moved SOME of the archivelog file manually using operating system command mv to another location so that our application can run first.
    When the engineers restarted the rman to backup, we receive the above error.
    Please help.
    Thanks
    Edited by: 976663 on Dec 15, 2012 9:32 PM

    Error: ORA 4030
    Text: out of process memory when trying to allocate %s bytes (%s,%s)
    Cause: Operating system process private memory was exhausted
    Action: See reference notes for possible actionsCheck out this note:
    OERR: ORA 4030 "out of process memory when trying to allocate %s bytes (%s,%s)" [ *ID 4030.1* ]
    :p

  • RMAN backup archivelog all delete input

    Hello DBAs,
    what does this command will do?
    RMAN> backup archivelog all delete input;
    DN

    I have set cron job for RMAN> backup archivelog all delete input; and its work.
    But I got following message in my log file.
    Please give ur feed back.
    Recovery Manager: Release 10.1.0.4.0 - 64bit Production
    Copyright (c) 1995, 2004, Oracle. All rights reserved.
    RMAN>
    connected to target database: SIDNAME (DBID=XXXXXXXX)
    using target database controlfile instead of recovery catalog
    RMAN>
    Starting backup at 10-FEB-06
    current log archived
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=269 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=268 devtype=DISK
    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=5701 recid=2412 stamp=581958928
    input archive log thread=1 sequence=5702 recid=2413 stamp=581961105
    input archive log thread=1 sequence=5703 recid=2414 stamp=581964532
    input archive log thread=1 sequence=5704 recid=2415 stamp=582025325
    input archive log thread=1 sequence=5705 recid=2416 stamp=582029976
    input archive log thread=1 sequence=5706 recid=2417 stamp=582031922
    channel ORA_DISK_1: starting piece 1 at 10-FEB-06
    channel ORA_DISK_2: starting compressed archive log backupset
    channel ORA_DISK_2: specifying archive log(s) in backup set
    input archive log thread=1 sequence=5707 recid=2418 stamp=582037207
    input archive log thread=1 sequence=5708 recid=2419 stamp=582038471
    input archive log thread=1 sequence=5709 recid=2420 stamp=582043538
    input archive log thread=1 sequence=5710 recid=2421 stamp=582048518
    input archive log thread=1 sequence=5711 recid=2422 stamp=582055205
    channel ORA_DISK_2: starting piece 1 at 10-FEB-06
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 02/10/2006 18:00:
    12
    ORA-19502: write error on file "/u02/backup/backup_6ehb2t97_1_1", blockno 6145 (
    blocksize=512)
    ORA-27063: number of bytes read/written is incorrect
    IBM AIX RISC System/6000 Error: 28: No space left on device
    Additional information: -1
    Additional information: 1048576
    channel ORA_DISK_1 disabled, job failed on it will be run on another channel
    RMAN-03009: failure of backup command on ORA_DISK_2 channel at 02/10/2006 18:00:
    12
    ORA-19502: write error on file "/u02/backup/6fhb2t97_1_1", blockno 6145
    (blocksize=512)
    ORA-27063: number of bytes read/written is incorrect
    IBM AIX RISC System/6000 Error: 28: No space left on device
    Additional information: -1
    Additional information: 1048576
    channel ORA_DISK_2 disabled, job failed on it will be run on another channel
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 02/10/2006 18:00:
    12
    ORA-19502: write error on file "/u02/backup/backup_6ehb2t97_1_1", blockno 6145 (
    blocksize=512)
    ORA-27063: number of bytes read/written is incorrect
    IBM AIX RISC System/6000 Error: 28: No space left on device
    Additional information: -1
    Additional information: 1048576
    RMAN>
    Recovery Manager complete.
    DN

  • Failure of release command

    Hi All
    Please your assistance is needed to interpret what is going on with below and what should be done
    RMAN-03009: failure of backup command on ch_tape2 channel at 11/26/2011 08:30:14
    ORA-19502: write error on file "hist10g_rman_full_upmsjhke_1_1", blockno 577452545 (blocksize=512)
    ORA-27030: skgfwrt: sbtwrite2 returned error
    ORA-19511: Error received from media manager layer, error text:
    ANS1017E (RC-50) Session rejected: TCP/IP connection failure
    channel ch_tape2 disabled, job failed on it will be run on another channel
    channel ch_tape1: finished piece 1 at 26-NOV-11
    released channel: ch_tape1
    released channel: ch_tape2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of release command at 11/27/2011 05:18:51
    RMAN-06012: channel: ch_tape2 not allocated
    Recovery Manager complete.
    OS type and version : AIX Version 5
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production

    thanks for your response tycho,
    quite appreciated. however querrying v$rman_status shows that the backup completed with errors,
    0 2011-11-25T15:03:01 DELETE COMPLETED 25-NOV-11 25-NOV-11 ARCHIVELOG
    0 2011-11-25T20:10:00 RMAN COMPLETED WITH ERRORS 25-NOV-11 27-NOV-11
    0 2011-11-25T20:10:00 BACKUP COMPLETED WITH ERRORS 25-NOV-11 27-NOV-11 DB INCR SBT_TAPE
    0 2011-11-26T09:00:01 RMAN COMPLETED 26-NOV-11 26-NOV-11
    and as learnt in a case of channel failover, RMAN attempts to complete the work on another channel, hence in this case how can i really tell if the backups were successful in this other channel.

  • 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 tivoli failure:  create sequential file, Authentication Failure

    New db instance, not writing to tape.
    DB is 10.2.0.4
    run {
    allocate channel sbt_backup1 type 'SBT_TAPE' format '%U' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/ora
    cle/bin64/tdpo_mydb.opt)';
    backup tablespace users;
    release channel sbt_backup1;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on sbt_backup1 channel at 10/02/2009 11:17:42
    ORA-19506: failed to create sequential file, name="0tkqpi6l_1_1", parms=""
    ORA-27028: skgfqcre: sbtbackup returned error
    ORA-19511: Error received from media manager layer, error text:
    ANS1025E (RC137) Session rejected: Authentication failure
    Settings
    /usr/tivoli/tsm/client/oracle/bin64
    dsm_mydb.opt
    SErver_name MYDBPRD
    tdpo_mydb.opt
    DSMI_ORC_CONFIG /usr/tivoli/tsm/client/oracle/bin64/dsm_mydb.opt
    TDPO_NODE MYDBPRD
    /usr/tivoli/tsm/client/api/bin64
    dsm.sys
    NODENAME MYDBPRD
    ERRORLOGNAME /usr/local/tsm/logs/IFSDBS_MYDBPRD_error.log
    SCHEDLOGNAME /usr/local/tsm/logs/IFSDBS_MYDBPRD_sched.log
    Note: Several db/clients are working on this server. This is a new setup and not working.

    This is not an Oracle/RMAN problem,contact your TSM administrator:
    http://www-01.ibm.com/support/docview.wss?uid=swg21216057
    Werner

  • Need urgently on RMAN-03009, RMAN-10015, RMAN-10033

    Hi,
    We are currently encountering the following error from our backup:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on t1 channel at 12/16/2012 11:29:30
    RMAN-10015: error compiling PL/SQL program
    RMAN-10033: error during compilation of job step 2: ORA-00603: ORACLE server session terminated by fatal error
    ORA-04030: out of process memory when trying to allocate 400 bytes (PL/SQL DIANA,LISIMA: Add cells)
    OS:
    HPUX 11.11
    $ulimit -a
    time(seconds) unlimited
    file(blocks) unlimited
    data(kbytes) 4292870144
    stack(kbytes) 131072
    memory(kbytes) unlimited
    coredump(blocks) 4194303
    Oracle:
    version 9i
    pga_aggregate_target is 1048576000
    workarea_size_policy is AUTO
    Total System Global Area 1260353024 bytes
    Fixed Size 738816 bytes
    Variable Size 939524096 bytes
    Database Buffers 318767104 bytes
    Redo Buffers 1323008 bytes
    Please help us on how to go about troubleshooting or solving this problem.
    Thanks you

    Pl do not post duplicates - RMAN-03009, RMAN-10015, RMAN-10033, ORA-04030
    This is a forum of volunteers and this is the weekend - if you have an urgent issue, pl open an SR with Support

  • RMAN backup got failed with the error ORA-19566

    Hi,
    One of database, while taking backup using RMAN, it failed with the following error:
    RMAN-03009: failure of backup command on DISK4 channel at 11/28/2012 09:47:29
    ORA-19566: exceeded limit of 0 corrupt blocks for file <faile_name>
    I used DBV to identify the number of blocks corrupted.
    I referred the Metalink iD 457422.1 & 336133.1. But it did not help since the corrupted blocks have got object in it.
    I could able to find the object as well. it is one of the table in the datafile.
    I used 'ALTER TABLE ... MOVE..' command to see if that helps. But again getting the same error while taking the backup and corrupted blocks still exists.
    DB Version : 10.2.0.5
    OS Version : RHEL 5.6
    Please help me out to get this fixed.

    Here it is:
    SQL> Select * from v$database_block_corruption ;
    FILE# BLOCK# BLOCKS CORRUPTION_CHANGE# CORRUPTION_TYPE
    13 3988352 128 0 ALL ZERO

  • ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode

    Hi All
    Its my first time to use RMAN in our ERP EBSR12
    our database version is 11g
    Please help how to resolv and make successfully backup
    RMAN> backup database;
    Starting backup at 24-JAN-11
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 01/24/2011 11:18: 25
    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 full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    including current control file in backup set
    channel ORA_DISK_1: starting piece 1 at 24-JAN-11
    channel ORA_DISK_1: finished piece 1 at 24-JAN-11
    piece handle=/oracle/mybackup_db/PROD2/backupset/2011_01_24/o1_mf_ncnnf_TAG20110 124T111824_6msvw4cv_.bkp tag=TAG20110124T111824 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 01/24/2011 11:18: 25
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    RMAN>
    Thanks

    ORA-19602: cannot backup or copy active file in NOARCHIVELOG modeIs your database in archivelog or noarchivelog mode?
    How to Turn Archiving ON and OFF [ID 69739.1]
    Please also see these docs/links.
    ORA-19602 Using RMAN to Backup Database [ID 246183.1]
    COLD RMAN backup fails: Ora-19602 even after SHUTDOWN IMMEDIATE and STARTUP MOUNT [ID 373828.1]
    Backup & Recovery
    http://www.oracle.com/pls/db112/portal.portal_db?selected=14&frame=#backup_and_recovery
    Thanks,
    Hussein

  • DUPLICATE DB : ORA-17629: Cannot connect to the remote database server

    [oracle@ora11g1 ~]$ export ORACLE_SID=sales
    [oracle@ora11g1 ~]$ rman target sys/sales@sales
    Recovery Manager: Release 11.2.0.1.0 - Production on Wed Jun 5 13:00:15 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: SALES (DBID=690066655)
    RMAN> connect auxiliary sys/salestby2@salestby2
    connected to auxiliary database: SALES (not mounted)
    RMAN> DUPLICATE TARGET DATABASE FOR STANDBY FROM ACTIVE DATABASE SPFILE
    2> SET DB_NAME= 'sales'
    3> SET DB_UNIQUE_NAME= 'salestby2'
    4> SET control_files='/u02/oradata/salestby2/control01.ctl','/u02/oradata/salestby2/control02.ctl'
    5> SET DB_FILE_NAME_CONVERT='/u02/oradata/sales/','/u02/oradata/salestby2/'
    6> SET LOG_FILE_NAME_CONVERT='/u02/oradata/sales/','/u02/oradata/salestby2/';
    Starting Duplicate Db at 05-JUN-13
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=20 device type=DISK
    contents of Memory Script:
    backup as copy reuse
    targetfile '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/orapwsales' auxiliary format
    '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/orapwsalestby2' targetfile
    '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfilesales.ora' auxiliary format
    '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfilesalestby2.ora' ;
    sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfilesalestby2.ora''";
    executing Memory Script
    Starting backup at 05-JUN-13
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=58 device type=DISK
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 06/05/2013 13:05:26
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-01017: invalid username/password; logon denied
    ORA-17629: Cannot connect to the remote database server
    continuing other job steps, job failed will not be re-run
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 06/05/2013 13:05:27
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 06/05/2013 13:05:27
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-01017: invalid username/password; logon denied
    ORA-17629: Cannot connect to the remote database server

    Welcome to the oracle forums!
    Please take some time to go through [url https://forums.oracle.com/forums/ann.jspa?annID=1535]FAQ PAGE
    Always post 4 digit oracle version and OS details.
    Post any query out put between \  \ tags
    Mark your questions as answered if you get the answer
    Password of SYS user on primary and standby must be same.Copy the password file from primary to standby server
    scp $ORACLE_HOME/dbs/orapwv112 <oracle_user@auxiliary_host>:/u01/app/oracle/product/11.2/dbs/orapwdupv112

  • RMAN-11003: failure during parse/execution of SQL statement: alter session

    without doing any changes I have started getting the following error in the RMAN logs.
    i didnt any changes related to sort_area_size but getting the error below
    plz help guys
    RMAN logs
    =====================
    connected to recovery catalog database
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of allocate command at 12/03/2007 22:00:01
    RMAN-03014: implicit resync of recovery catalog failed
    RMAN-03009: failure of full resync command on default channel at 12/03/2007 22:00:01
    RMAN-11003: failure during parse/execution of SQL statement: alter session set sort_area_size=10485760
    ORA-00068: invalid value 10485760 for parameter sort_area_size, must be between 0 and 1

    Hi:
    It seems when you are starting RMAN it's executing some commands (one 'ALTER SESSION...'. It's seems to be a batch which has a bad value for SORT_AREA_SIZE. Find it and modify to a proper value as message shows. If you can't find start RMAN by calling directly the executable ($ORACLE_HOME/bin/rman or %ORACLE_HOME%/bin/rman.exe).

  • Failure of backup command, please help

    hi,
    My last backup to give mi error :(
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 01/19/2010 07:31:50
    ORA-19506: failed to create sequential file, name="software_inc0_T20100119_t708679906_s6348_p1", parms=""
    ORA-27028: skgfqcre: sbtbackup returned error
    ORA-19511: Error received from media manager layer, error text:
    nwora_open_backup: unable to start save session with server
    localhost: system error

    user487449 wrote:
    $ pwd
    /d01/orabackup/oradata/mydb
    $ ls -ltrc
    total 2
    2 drwxrwxrwx 2 orarman dba 2048 Aug 30 08:43 archThis shows permissions for arch directory inside mydb folder and you are creating files in mydb directory.
    Do this:
    $ cd /d01/orabackup/oradata/
    $ ls -lartd mydbThis will show us the permissions set on mydb directory. You need to make sure that the OS user who is running RMAN script has write permissions on the mydb folder.
    If you wish to grant 777 permissions on my db folder, do this:
    chmod -R 0777 /d01/orabackup/oradata/mydb

Maybe you are looking for

  • File save destination

    I want to set a specific location on my hard drive for "save as" target. I thought I figured it out a couple days ago and it worked for exactly one file then reverted to default. Now I can't even find where I thought I fixed it. I need to be able to

  • Acrobat XI Pro - can't add pages :(

    I was using Acrobat 9 Pro - I could add pages easily. With XI - it hangs or crashes just before the screen "add pages before or after" - it's driving me mad - might uninstall it and go back to 9 which was quite stable. Lots of other new features/layo

  • VAT on Vendor Invoice (NON PO Invoice)

    Hi Folks, We are generating automtaic Vendor  Invoices  (based on a requirement  of leasing in Fixed assets).The clients wants a VAT applied on these invoices (standard rate). Any suggestion on how to handle this?  Thanks sapsri

  • I'm having problems with quizzes in Adobe Presenter 10

    I'm having problems with quizzes in Adobe Presenter 10, upon publishing, the text just disappears and the buttons look weird, also the text on submit buttons doesn't show?

  • Material to be issued without receipt

    Dear All, If I have to issue the raw material without receipt to production for consumption because of urgency. and I am making the migo next day. during that period stock should show in negative. How to do this in SAP ? Please help me out. Regards,