ORA-19505: failed to identify file - RMAN in creating standby DR database.

I got this error when creating standby database at remote target server. 
ORA-19505: failed to identify file "/backup/dxp1p/online/DXP1P_CF_c-2027711285-20131204-01"
Here is what I did:
1.   started the listener and created corresponding tnsnames entry at remote standyb server 
2.  startup nomount to the standby database at remote server for an empty instance (instance name dxp1p).
3.  All rman backups are in the /backup mount point at primary and the mount point is shared on the remote server as nfs.   So, whatever have in the backup we should be able to see and read from the remote as well.
4.  Run the following at primary rman:
sql 'alter system archive log current';
backup current controlfile for standby;
sql 'alter system archive log current';
crosscheck backup;
crosscheck archivelog all;
exit
5.   Start the rman  command from primary after connected to the standby server, as the primary DB uses ASM and the standby DB uses file system for the database files:
RUN
SET NEWNAME FOR DATAFILE 1 to '/u01/dxp1p/data/system01.dbf';
SET NEWNAME FOR DATAFILE 2 to '/u01/dxp1p/data/sysaux01.dbf';
SET NEWNAME FOR DATAFILE 3 to '/u01/dxp1p/data/undotbs01.dbf';
SET NEWNAME FOR DATAFILE 4 to '/u01/dxp1p/data/users01.dbf';
SET NEWNAME FOR DATAFILE 5 to '/u01/dxp1p/data/fxtntdata.dbf';
SET NEWNAME FOR DATAFILE 6 to '/u01/dxp1p/data/fxtntindex.dbf';
SET NEWNAME FOR DATAFILE 7 to '/u01/dxp1p/data/mlogs.dbf';
SET NEWNAME FOR DATAFILE 8 to '/u01/dxp1p/data/dts.dbf';
SET NEWNAME FOR DATAFILE 9 to '/u01/dxp1p/data/dxpsoa.dbf';
SET NEWNAME FOR DATAFILE 10 to '/u01/dxp1p/data/expresso_ts.dbf';
SET NEWNAME FOR DATAFILE 11 to '/u01/dxp1p/data/jms_ts.dbf';
SET NEWNAME FOR DATAFILE 12 to '/u01/dxp1p/data/uup_ts.dbf';
SET NEWNAME FOR DATAFILE 13 to '/u01/dxp1p/data/newpage_ts.dbf';
  ALLOCATE AUXILIARY CHANNEL aux1 DEVICE TYPE DISK;
  ALLOCATE AUXILIARY CHANNEL aux2 DEVICE TYPE DISK;
  DUPLICATE TARGET DATABASE for standby
nofilenamecheck
dorecover;
========================================================================
But I got this error from the rman log:
contents of Memory Script:
   set until scn  12245784375453;
   restore clone standby controlfile;
executing Memory Script
executing command: SET until clause
Starting restore at 04-DEC-13
channel aux1: starting datafile backup set restore
channel aux1: restoring control file
channel aux1: reading from backup piece /backup/dxp1p/online/DXP1P_CF_c-2027711285-20131204-01
channel aux1: ORA-19870: error while restoring backup piece /backup/dxp1p/online/DXP1P_CF_c-2027711285-20131204-01
ORA-19505: failed to identify file "/backup/dxp1p/online/DXP1P_CF_c-2027711285-20131204-01"
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3
failover to previous backup
channel aux1: starting datafile backup set restore
channel aux1: restoring control file
channel aux1: reading from backup piece /backup/dxp1p/online/DXP1P_20131204_833310136_464
channel aux1: ORA-19870: error while restoring backup piece /backup/dxp1p/online/DXP1P_20131204_833310136_464
ORA-19505: failed to identify file "/backup/dxp1p/online/DXP1P_20131204_833310136_464"
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3
failover to previous backup
channel aux1: starting datafile backup set restore
channel aux1: restoring control file
channel aux1: reading from backup piece /backup/dxp1p/online/DXP1P_CF_c-2027711285-20131204-00
channel aux1: ORA-19504: failed to create file "/oracle/product/11g/dbs/u02/dxp1p/control/control02.ctl"
ORA-27040: file create error, unable to create file
Linux-x86_64 Error: 2: No such file or directory
Additional information: 1
ORA-19600: input file is control file  (/u01/dxp1p/control/control01.ctl)
ORA-19601: output file is control file  (/oracle/product/11g/dbs/u02/dxp1p/control/control02.ctl)
Finished restore at 04-DEC-13
contents of Memory Script:
   sql clone 'alter database mount standby database';
executing Memory Script
sql statement: alter database mount standby database
released channel: aux1
released channel: aux2
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 12/04/2013 19:06:13
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of sql command on clone_default channel at 12/04/2013 19:06:13
RMAN-11003: failure during parse/execution of SQL statement: alter database mount standby database
ORA-00205: error in identifying control file, check alert log for more info
=========================================
Not sure why, can somebody help?   Appreciated!

I used company regular script to login to standby instance as sys user from primary DB RMAN as oracle OS user and sys DB user.   We normally run this way for years.
Like this:
$ORACLE_HOME/bin/rman target=/ auxiliary 'sys/sys0rapr321!'@dxp1p_s11 CMDFILE=${HOME}/dba/scripts/rman_cr_dr.cmd
rman_cr_dr.cmd:
RUN
SET NEWNAME FOR DATAFILE 1 to '/u01/dxp1p/data/system01.dbf';
SET NEWNAME FOR DATAFILE 2 to '/u01/dxp1p/data/sysaux01.dbf';
SET NEWNAME FOR DATAFILE 3 to '/u01/dxp1p/data/undotbs01.dbf';
SET NEWNAME FOR DATAFILE 4 to '/u01/dxp1p/data/users01.dbf';
SET NEWNAME FOR DATAFILE 5 to '/u01/dxp1p/data/fxtntdata.dbf';
SET NEWNAME FOR DATAFILE 6 to '/u01/dxp1p/data/fxtntindex.dbf';
SET NEWNAME FOR DATAFILE 7 to '/u01/dxp1p/data/mlogs.dbf';
SET NEWNAME FOR DATAFILE 8 to '/u01/dxp1p/data/dts.dbf';
SET NEWNAME FOR DATAFILE 9 to '/u01/dxp1p/data/dxpsoa.dbf';
SET NEWNAME FOR DATAFILE 10 to '/u01/dxp1p/data/expresso_ts.dbf';
SET NEWNAME FOR DATAFILE 11 to '/u01/dxp1p/data/jms_ts.dbf';
SET NEWNAME FOR DATAFILE 12 to '/u01/dxp1p/data/uup_ts.dbf';
SET NEWNAME FOR DATAFILE 13 to '/u01/dxp1p/data/newpage_ts.dbf';
  ALLOCATE AUXILIARY CHANNEL aux1 DEVICE TYPE DISK;
  ALLOCATE AUXILIARY CHANNEL aux2 DEVICE TYPE DISK;
  DUPLICATE TARGET DATABASE for standby
nofilenamecheck
dorecover;
exit
==========================
Oinstall is a group.   I am not sure to use oinstall as a user?

Similar Messages

  • ASM Direct file access (for creating standby database in Standard Edition)

    Hi all,
    Just really looking for any opinions, experience etc. that people may have about this.
    My company are looking to set up a RAC system. They have also asked me to think about creating a standby database for disaster recovery. The first problem they give me here is that they only pay for Standard Edition of Oracle, therefore Dataguard is not an option.
    I know that one can setup "manual" standby databases with Standard Edition, automating the shipping of archive logs with hand-written scripts etc. However, as the primary here is RAC, and will be using ASM on the shared storage, I'm not sure that this would be possible (and I'm even less sure that it would be desirable!). I say this because I don't know of a way to access (using only the O/S and/or Oracle) the database files stored in ASM, and even if there was a way, I can't imagine it being a good idea..
    Anybody know of a way to tackle it, or care to contribute anything to this? As I say, my opinion is that even if it is possible to get to those files within ASM and hence manipulate them, I'd be worried that it wouldn't be such a good idea. But I'm willing to bet I'm not the first to have thought about it...
    Regards,
    Ados
    Edit 1:
    Sorry, I should state that in principal, the basic environment is:
    Windows 2003 Server
    Oracle 10g R2
    I didn't state that originally though, as I'd be keen to hear from anyone who may have attempted this on any O/S and Oracle version.
    Edited by: Ados on 16-sep-2009 9:32
    Edit 2:
    I also realise we could put the archive logs on the local nodes.. but to reinforce the point, I'm talking about having them on the shared storage where - in theory - the management is easier and more effective.
    Edited by: Ados on 16-sep-2009 9:35

    For anyone interested..
    I guess it would be done using RMAN (in fact, I'm sure of it...) in which case, I feel a lot more comfortable doing it!!
    For example:
    backup as copy archivelog ALL to destination 'c:\temp\';
    This way, it shouldn't matter if the arch logs are stored using ASM, we can now get them and "see" them.. and hence "manipulate" them (pass them on to a standby DB, for example).
    I'm just waiting to get my hands on a Standard Edition installation where I can test all this.. To try it all out (with 2-node RAC, and a standby server) I don't think I'll get a chance, so still interested in opinions, or if anyone's actually done this.
    Regards,
    Ados

  • While cloning the rman database ORA-19505

    Hi ,
    Can anybody tell me where am i going wrong
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 01/24/2008 17:53:25
    RMAN-03015: error occurred in stored script Memory Script
    ORA-19505: failed to identify file "/backups/RMAN/FULL_lpj6tn6k_1_1"
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    Recovery Manager complete.
    thanks in advance

    ORA-19505: failed to identify file "/backups/RMAN/FULL_lpj6tn6k_1_1"
    SVR4 Error: 2: No such file or directory
    where did your file /backups/RMAN/FULL_lpj6tn6k_1_1 go?

  • Rman restoration - Cannot identify file

    Hi,
    I am doing a RMAN restoration in linux server named I have a full backup plus next two days incremental backup to restore database till time.
    I have created a instance started it wilth a pfile and restored the control file with below option
    RMAN> restore control file from C:\backups\control_123.ctl';
    The control file is succesfully restored...
    RMAN > Alter database mount;
    Database Mounted.
    when i tried to restore the USERS tablespace i am getting the below error that file cannot be identified.
    ORA-19870: error reading backup piece C:\Rman_files\hth_data_full_6304_1_770178761.bkp
    ORA-19505: failed to identify file "C:\Rman_files\hth_data_full_6304_1_770178761.bkp
    ORA-27037: unable to obtain file status
    My question is it mandatory to move the rman and archive log backup files to the path that is specified in the backup control file, can we copy the RMAN files to some other location instead of default control file location and restore from there ?
    Thanks
    Edited by: user11981262 on Mar 6, 2012 3:58 AM

    user11981262 wrote:
    Hi,
    I am doing a RMAN restoration in linux server named I have a full backup plus next two days incremental backup to restore database till time.
    I have created a instance started it wilth a pfile and restored the control file with below option
    RMAN> restore control file from C:\backups\control_123.ctl';
    The control file is succesfully restored...
    RMAN > Alter database mount;
    Database Mounted.
    when i tried to restore the USERS tablespace i am getting the below error that file cannot be identified.
    ORA-19870: error reading backup piece C:\Rman_files\hth_data_full_6304_1_770178761.bkp
    ORA-19505: failed to identify file "C:\Rman_files\hth_data_full_6304_1_770178761.bkp
    ORA-27037: unable to obtain file status
    My question is it mandatory to move the rman and archive log backup files to the path that is specified in the backup control file, can we copy the RMAN files to some other location instead of default control file location and restore from there ?
    Thanks
    Edited by: user11981262 on Mar 6, 2012 3:58 AM
    can we copy the RMAN files to some other location instead of default control file location and restore from there ? Catalog the backup before restoring the tablespace
    or just put the backup in the default location as in your case it is in folder "C:\Rman_files\"
    --neeraj

  • Create standby DB with RMAN backup in Oracle 9.2.0.6

    I am tring to create a standby DB in different host with different directory using RMAN. The commandv with which I tried to create the standby database is the follow:
    (in the primary server side)
    RUN
    ALLOCATE AUXILIARY CHANNEL DUP1 TYPE DISK;
    DUPLICATE TARGET DATABASE FOR STANDBY
    NOFILENAMECHECK
    DORECOVER;
    but RMAN give me this error:
    Starting restore at 18-FEB-08
    channel DUP1: starting datafile backupset restore
    channel DUP1: restoring controlfile
    output filename=/opferi/oradata/oradata01/data01/cntrl01.dbf
    released channel: DUP1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 02/18/2008 17:57:20
    RMAN-03015: error occurred in stored script Memory Script
    ORA-19505: failed to identify file "/opferi/oracle/product/9.2.0/dbs/l4j9127p_1_1"
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    The standby database is in a different host with the same directory structure. I started (with nomount option) with the same init file that the primary database.
    I read solution like the backupset must be copied manually to the standby host, but for me is not a solution.
    The RMAN backup script is the follow (like
    RUN {
    CROSSCHECK BACKUPSET;
    DELETE NOPROMPT OBSOLETE;
    DELETE NOPROMPT EXPIRED BACKUPSET;
    crosscheck archivelog all;
    ALLOCATE CHANNEL ch00 TYPE disk;
    BACKUP
    $BACKUP_TYPE
    FORMAT '/rman/opferi2/df_sipd_%d_%u_%s_%p'
    DATABASE INCLUDE CURRENT CONTROLFILE FOR STANDBY;
    sql 'alter system archive log current';
    backup format '/rman/opferi2/archive_log_%d_t%t_s%s_p%p' (archivelog all);
    RELEASE CHANNEL ch00;
    when $BACKUP_TYPE=0
    Can anyone help my with this problem?? Thaks
    Cristian.
    PS. Sorry my bad english because I am from Latin America

    Requirements are:
    1 the backup should be accessible to both target and auxiliary database in the same location.
    2 On Unix this can be arranged through NFS, provided you set the read and write buffer to 32k.
    Obviously the backup can not be located in $ORACLE_HOME/dbs, as you can not mount a NFS directory over $ORACLE_HOME/dbs without loosing functionality.
    Hth
    Sybrand Bakker
    Senior Oracle DBA

  • Create standby DB using RMAN in Oracle10.2 standard ediction

    I am tring to create a standby DB in different host with different directory using RMAN. when I issued the command <duplicate target database for standby>, RMAN gave the error msg as follow:
    Starting restore at 02-MAY-06
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=78 devtype=DISK
    creating datafile fno=1 name=/export/database/oracle/HTS1/system01.dbf
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 05/02/2006 11:24:28
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06136: ORACLE error from auxiliary database: ORA-01180: can not create datafile 1
    ORA-01110: data file 1: '/export/database/oracle/HTS1/system01.dbf'
    Path '/export/database/oracle/HTS1' exists in the standby host and permission are granted, some initial parameter for standby DB was set to:
    db_file_name_convert='/export/home/oracle/oradata/HTS1','/export/database/oracle/HTS1'
    log_file_name_convert='/export/home/oracle/oradata/HTS1','/export/database/oracle/HTS1'
    db_create_file_dest='/export/database/oracle/HTS1'
    Can anyone shed some light on the cause of this error? Thanks
    Jackson

    I found the reason. it was because of the the backup set not available.
    But after I prepare the backup set at hte primary host, rman still gave err msg:
    RMAN> duplicate target database for standby;
    Starting Duplicate Db at 02-MAY-06
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=78 devtype=DISK
    contents of Memory Script:
    restore clone standby controlfile;
    sql clone 'alter database mount standby database';
    executing Memory Script
    Starting restore at 02-MAY-06
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting datafile backupset restore
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: reading from backup piece /export/home/oracle/flash_recovery_area/HTS1/backupset/2006_05_02/o1_mf_ncnnf_TAG20060502T131953_25ftztpo_.bkp
    ORA-19870: error reading backup piece /export/home/oracle/flash_recovery_area/HTS1/backupset/2006_05_02/o1_mf_ncnnf_TAG20060502T131953_25ftztpo_.bkp
    ORA-19505: failed to identify file "/export/home/oracle/flash_recovery_area/HTS1/backupset/2006_05_02/o1_mf_ncnnf_TAG20060502T131953_25ftztpo_.bkp"
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    failover to previous backup

  • Creating database problem with ORA-01519: error while processing file '' ne

    Dear all,
    I am having rough time with creating database manually. can anyone help me with the following errors.
    ALERT LOGFILE:-
    Sun May 31 12:00:39 2009
    Errors in file d:\oracle\product\10.1.0\admin\oracle5\udump\oracle5_ora_3444.trc:
    ORA-01501: CREATE DATABASE failed
    ORA-01519: error while processing file '%ORACLE_HOME%\RDBMS\ADMIN\SQL.BSQ' near line 5744
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01119: error in creating database file 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\undotbs1.dbf'
    ORA-27040: file create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    Error 1519 happened during db open, shutting down database
    USER: terminating instance due to error 1519
    Sun May 31 12:00:39 2009
    Errors in file d:\oracle\product\10.1.0\admin\oracle5\bdump\oracle5_reco_3416.trc:
    ORA-01519: error while processing file '' near line
    CREATE DATABASE SCRIPT:-
    create database ORACLE5
    user sys identified by bala
    user system identified by bala
    logfile
    group 1 ('D:\oracle\product\10.1.0\oradata\ORACLE5\logfile\redo01.log') SIZE 50M,
    group 2 ('D:\oracle\product\10.1.0\oradata\ORACLE5\logfile\redo02.log') SIZE 50M,
    group 3 ('D:\oracle\product\10.1.0\oradata\ORACLE5\logfile\redo03.log') SIZE 50M
    maxlogfiles 5
    maxlogmembers 5
    maxloghistory 1
    maxdatafiles 50
    maxinstances 1
    datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5\datafile\system01.dbf' size 200m autoextend on maxsize unlimited extent management local
    undo tablespace UNDOTBS1 datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\undotbs1.dbf' size 10m autoextend on maxsize unlimited
    sysaux datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5\datafile\sysaux01.dbf' size 100m autoextend on maxsize unlimited
    default temporary tablespace temp tempfile 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\temp01.dbf' size 10m autoextend on maxsize unlimited
    character set US7ASCII
    NATIONAL CHARACTER SET AL16UTF16
    INIT.ORA FILE:-
    # Copyright (c) 1991, 2001, 2002 by Oracle Corporation
    # Archive
    log_archive_format=ARC%S_%R.%T
    # Cache and I/O
    db_block_size=8192
    db_cache_size=25165824
    db_file_multiblock_read_count=16
    # Cursors and Library Cache
    open_cursors=300
    # Database Identification
    db_domain=""
    db_name=oracle5
    # Diagnostics and Statistics
    background_dump_dest=D:\oracle\product\10.1.0\admin\oracle5\bdump
    core_dump_dest=D:\oracle\product\10.1.0\admin\oracle5\cdump
    user_dump_dest=D:\oracle\product\10.1.0\admin\oracle5\udump
    # File Configuration
    #db_create_file_dest=D:\oracle\product\10.1.0\oradata
    db_recovery_file_dest=D:\oracle\product\10.1.0\flash_recovery_area
    db_recovery_file_dest_size=2147483648
    # Job Queues
    job_queue_processes=10
    # Miscellaneous
    compatible=10.1.0.2.0
    # Pools
    java_pool_size=50331648
    large_pool_size=8388608
    shared_pool_size=83886080
    # Processes and Sessions
    processes=150
    # Security and Auditing
    remote_login_passwordfile=EXCLUSIVE
    # Shared Server
    dispatchers="(PROTOCOL=TCP) (SERVICE=oracle5XDB)"
    # Sort, Hash Joins, Bitmap Indexes
    pga_aggregate_target=25165824
    sort_area_size=65536
    # System Managed Undo and Rollback Segments
    undo_management=AUTO
    undo_tablespace=UNDOTBS1
    control_files=("D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORACLE5\CONTROLFILE\control01.CTL", "D:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ORACLE5\CONTROLFILE\control02.CTL")

    Hi,
    undo tablespace UNDOTBS1 datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\undotbs1.dbf' size 10m autoextend on maxsize unlimited
    After ORACLE5 there is a space character. Typo? Create proper directory or delete this character.
    Bartek

  • RMAN DUPLICATE FOR STANDBY FROM ACTIVE DATABASE fails

    Hello
    I'm trying to use RMAN DUPLICATE to create a standby database using Oracle 11.2.0.3 with PSU 6 on HP-UX.
    Primary is 2 node RAC. Standby is also 2 node RAC.
    Standby database instance is started in nomount mode.
    I use:
    duplicate target database for standby from active database
      spfile
      <some spfile parameters>
    with PFILE I get:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 10/01/2013 12:41:13
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of sql command on clone_default channel at 10/01/2013 12:41:13
    RMAN-11003: failure during parse/execution of SQL statement: alter system set spfile= '/opt/oracle/db11203/dbs/spfileCU1.ora'
    ORA-02097: parameter cannot be modified because specified value is invalid
    ORA-01565: error in identifying file '/opt/oracle/db11203/dbs/spfileCU1.ora'
    ORA-27037: unable to obtain file status
    HPUX-ia64 Error: 2: No such file or directory
    With SPFILE I get;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 10/01/2013 13:06:34
    RMAN-05501: aborting duplication of target database
    RMAN-05537: DUPLICATE without TARGET connection when auxiliary instance is started with spfile cannot use SPFILE clause
    But I do have RMAN connexion to target database.
    Thanks for your help.

    Here is the output beginning of the script which clearly shows that I'm always connected to target database:
    Recovery Manager: Release 11.2.0.3.0 - Production on Tue Oct 1 13:05:47 2013
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: CU (DBID=1143962925)
    connected to auxiliary database: CU (not mounted)
    RMAN> set echo on
    2> run
    3> {
    4>  configure device type disk parallelism 10;
    5>   allocate channel pr1 type disk;
    6>   allocate channel pr2 type disk;
    7>   allocate channel pr3 type disk;
    8>   allocate channel pr4 type disk;
    9>   allocate channel pr5 type disk;
    10>   allocate channel pr6 type disk;
    11>   allocate channel pr7 type disk;
    12>   allocate channel pr8 type disk;
    13>   allocate channel pr9 type disk;
    14>   allocate channel pr10 type disk;
    15>   allocate auxiliary channel st1 type disk;
    16>   allocate auxiliary channel st2 type disk;
    17>   allocate auxiliary channel st3 type disk;
    18>   allocate auxiliary channel st4 type disk;
    19>   allocate auxiliary channel st5 type disk;
    20>   allocate auxiliary channel st6 type disk;
    21>   allocate auxiliary channel st7 type disk;
    22>   allocate auxiliary channel st8 type disk;
    23>   allocate auxiliary channel st9 type disk;
    24>   allocate auxiliary channel st10 type disk;
    25>   duplicate target database for standby from active database
    26>   spfile

  • RMAN backup results in ORA-19504: failed to create file

    Hi there,
    We are receiving following error when we issue archivelog backup command.
    input archive log thread=2 sequence=63449 recid=112736 stamp=685370768
    input archive log thread=2 sequence=63450 recid=112738 stamp=685373560
    input archive log thread=2 sequence=63451 recid=112739 stamp=685374337
    input archive log thread=2 sequence=63452 recid=112741 stamp=685376999
    input archive log thread=2 sequence=63453 recid=112744 stamp=685377082
    channel ORA_DISK_5: starting piece 1 at 29-APR-09
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 04/29/2009 10:09:17
    ORA-19504: failed to create file "/rmanback/arch_27628.arc"
    ORA-27040: skgfrcre: create error, unable to create file
    SVR4 Error: 2: No such file or directory
    Any solutions, Please.
    Thanks,
    Balu.

    the mount point /rmanback has full write/read permission.
    root@cmwdb2 # pwd
    /rmanback
    root@cmwdb2 # ls -lrt |pg
    total 421996016
    -rwxrwxrwx 1 oracle dba 604926976 Apr 25 07:57 arch_27391.arc
    -rwxrwxrwx 1 oracle dba 675586048 Apr 25 07:57 arch_27392.arc
    -rwxrwxrwx 1 oracle dba 710009856 Apr 25 07:57 arch_27390.arc
    -rwxrwxrwx 1 oracle dba 733988864 Apr 25 07:57 arch_27388.arc
    -rwxrwxrwx 1 oracle dba 741121024 Apr 25 07:57 arch_27389.arc
    -rwxrwxrwx 1 oracle dba 44449792 Apr 25 07:58 _c-1556269231-20090425-03.arc                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • ORA-00205: error in identifying control file, check alert log for more

    I am trying to upgrade database software from 11.2.0.1 to 11.2.0.2 and followed the steps given in the Doc ID 1276368.1 in linux 86 OS environment . I am in step 9 where i need to start up the database in startup upgrade mode. I get the the following error. Please help. This out of box upgrade is quite tricky and my database is stigged version. Not able to trouble shoot further, Please help me to go forward.
    sqlplus " / as sysdba "
    SQL> spool /tmp/upgrade.log
    SQL> startup upgrade
    ORACLE instance started.
    Total System Global Area 1607008256 bytes
    Fixed Size 1344476 bytes
    Variable Size 973081636 bytes
    Database Buffers 620756992 bytes
    Redo Buffers 11825152 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    Do i shutdown and restart again? I need to run @catupgrd.sql; and other.sql to upgrade it and then apply CPU patch.
    Please help...regards

    Fatal NI connect error 12637, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
         TNS for Linux: Version 11.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
         TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
    Time: 21-NOV-2011 04:49:04
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12637
    TNS-12637: Packet receive failed
    ns secondary err code: 12532
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    opiodr aborting process unknown ospid (3912) as a result of ORA-609
    Mon Nov 21 04:59:02 2011
    Shutting down instance (immediate)
    Stopping background process SMCO
    Shutting down instance: further logons disabled
    Mon Nov 21 04:59:04 2011
    Stopping background process CJQ0
    Stopping background process QMNC
    Stopping background process MMNL
    Stopping background process MMON
    License high water mark = 26
    All dispatchers and shared servers shutdown
    ALTER DATABASE CLOSE NORMAL
    Mon Nov 21 04:59:09 2011
    SMON: disabling tx recovery
    SMON: disabling cache recovery
    Mon Nov 21 04:59:09 2011
    Shutting down archive processes
    Archiving is disabled
    Mon Nov 21 04:59:09 2011
    ARCH shutting down
    Mon Nov 21 04:59:09 2011
    ARCH shutting down
    ARC3: Archival stopped
    ARC1: Archival stopped
    Mon Nov 21 04:59:09 2011
    ARCH shutting down
    ARC0: Archival stopped
    Mon Nov 21 04:59:09 2011
    ARCH shutting down
    ARC2: Archival stopped
    Thread 1 closed at log sequence 1458
    Successful close of redo thread 1
    Mon Nov 21 04:59:51 2011
    Completed: ALTER DATABASE CLOSE NORMAL
    ALTER DATABASE DISMOUNT
    Completed: ALTER DATABASE DISMOUNT
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Mon Nov 21 04:59:52 2011
    Stopping background process VKTM:
    Mon Nov 21 04:59:56 2011
    Instance shutdown complete
    Mon Nov 21 07:48:43 2011
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_1 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =27
    LICENSE_MAX_USERS = 0
    SYS auditing is enabled
    Starting up:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options.
    Using parameter settings in server-side spfile /u01/app/oracle/product/11.2.0/db_1/dbs/spfilertborcl.ora
    System parameters with non-default values:
    processes = 150
    resource_limit = TRUE
    memory_target = 1536M
    control_files = "/u01/app/oracle/oradata/rtborcl/control01.ctl"
    control_files = "/u02/app/oracle/oradata/control02.ctl"
    db_block_size = 8192
    compatible = "11.2.0.1.0"
    log_archive_format = "%t_%s_%r.dbf"
    db_recovery_file_dest = "/u01/app/oracle/flash_recovery_area"
    db_recovery_file_dest_size= 4977M
    undo_tablespace = "UNDOTBS1"
    recyclebin = "OFF"
    db_securefile = "PERMITTED"
    remote_login_passwordfile= "EXCLUSIVE"
    audit_sys_operations = TRUE
    db_domain = ""
    global_names = TRUE
    dispatchers = "(PROTOCOL=TCP) (SERVICE=rtborclXDB)"
    audit_file_dest = "/u01/app/oracle/admin/rtborcl/adump"
    audit_trail = "DB_EXTENDED"
    db_name = "rtborcl"
    open_cursors = 300
    os_authent_prefix = "SOP$"
    sql92_security = TRUE
    sec_protocol_error_further_action= "drop"
    sec_max_failed_login_attempts= 3
    diagnostic_dest = "/u01/app/oracle"
    Mon Nov 21 07:48:47 2011
    PMON started with pid=2, OS id=4275
    Mon Nov 21 07:48:47 2011
    VKTM started with pid=3, OS id=4280
    VKTM running at (100ms) precision
    Mon Nov 21 07:48:47 2011
    GEN0 started with pid=4, OS id=4287
    Mon Nov 21 07:48:47 2011
    DIAG started with pid=5, OS id=4292
    Mon Nov 21 07:48:47 2011
    DBRM started with pid=6, OS id=4297
    Mon Nov 21 07:48:47 2011
    PSP0 started with pid=7, OS id=4302
    Mon Nov 21 07:48:47 2011
    DIA0 started with pid=8, OS id=4307
    Mon Nov 21 07:48:47 2011
    MMAN started with pid=9, OS id=4312
    Mon Nov 21 07:48:47 2011
    DBW0 started with pid=10, OS id=4317
    Mon Nov 21 07:48:47 2011
    LGWR started with pid=11, OS id=4322
    Mon Nov 21 07:48:48 2011
    CKPT started with pid=12, OS id=4327
    Mon Nov 21 07:48:48 2011
    SMON started with pid=13, OS id=4332
    Mon Nov 21 07:48:48 2011
    RECO started with pid=14, OS id=4337
    Mon Nov 21 07:48:48 2011
    Mon Nov 21 04:59:51 2011
    Completed: ALTER DATABASE CLOSE NORMAL
    ALTER DATABASE DISMOUNT
    Completed: ALTER DATABASE DISMOUNT
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Mon Nov 21 04:59:52 2011
    Stopping background process VKTM:
    Mon Nov 21 04:59:56 2011
    Instance shutdown complete
    Mon Nov 21 07:48:43 2011
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_1 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =27
    LICENSE_MAX_USERS = 0
    SYS auditing is enabled
    Starting up:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options.
    Using parameter settings in server-side spfile /u01/app/oracle/product/11.2.0/db_1/dbs/spfilertborcl.ora
    System parameters with non-default values:
    processes = 150
    resource_limit = TRUE
    memory_target = 1536M
    control_files = "/u01/app/oracle/oradata/rtborcl/control01.ctl"
    control_files = "/u02/app/oracle/oradata/control02.ctl"
    db_block_size = 8192
    compatible = "11.2.0.1.0"
    log_archive_format = "%t_%s_%r.dbf"
    db_recovery_file_dest = "/u01/app/oracle/flash_recovery_area"
    db_recovery_file_dest_size= 4977M
    undo_tablespace = "UNDOTBS1"
    recyclebin = "OFF"
    db_securefile = "PERMITTED"
    remote_login_passwordfile= "EXCLUSIVE"
    audit_sys_operations = TRUE
    db_domain = ""
    global_names = TRUE
    dispatchers = "(PROTOCOL=TCP) (SERVICE=rtborclXDB)"
    audit_file_dest = "/u01/app/oracle/admin/rtborcl/adump"
    audit_trail = "DB_EXTENDED"
    db_name = "rtborcl"
    open_cursors = 300
    os_authent_prefix = "SOP$"
    sql92_security = TRUE
    sec_protocol_error_further_action= "drop"
    sec_max_failed_login_attempts= 3
    diagnostic_dest = "/u01/app/oracle"
    Mon Nov 21 07:48:47 2011
    PMON started with pid=2, OS id=4275
    Mon Nov 21 07:48:47 2011
    VKTM started with pid=3, OS id=4280
    VKTM running at (100ms) precision
    Mon Nov 21 07:48:47 2011
    GEN0 started with pid=4, OS id=4287
    Mon Nov 21 07:48:47 2011
    DIAG started with pid=5, OS id=4292
    Mon Nov 21 07:48:47 2011
    DBRM started with pid=6, OS id=4297
    Mon Nov 21 07:48:47 2011
    PSP0 started with pid=7, OS id=4302
    Mon Nov 21 07:48:47 2011
    DIA0 started with pid=8, OS id=4307
    Mon Nov 21 07:48:47 2011
    MMAN started with pid=9, OS id=4312
    Mon Nov 21 07:48:47 2011
    DBW0 started with pid=10, OS id=4317
    Mon Nov 21 07:48:47 2011
    LGWR started with pid=11, OS id=4322
    Mon Nov 21 07:48:48 2011
    CKPT started with pid=12, OS id=4327
    Mon Nov 21 07:48:48 2011
    SMON started with pid=13, OS id=4332
    Mon Nov 21 07:48:48 2011
    RECO started with pid=14, OS id=4337
    Mon Nov 21 07:48:48 2011
    MMON started with pid=15, OS id=4342
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Mon C:\Users\MVEMURI 07:48:48 2011
    MMNL started with pid=16, OS id=4347
    starting up 1 shared server(s) ...
    ORACLE_BASE from environment = /u01/app/oracle
    Mon Nov 21 07:48:49 2011
    ALTER DATABASE MOUNT
    Successful mount of redo thread 1, with mount id 2616737889
    Database mounted in Exclusive Mode
    Lost write protection disabled
    Completed: ALTER DATABASE MOUNT
    Mon Nov 21 07:48:54 2011
    ALTER DATABASE OPEN
    LGWR: STARTING ARCH PROCESSES
    Mon Nov 21 07:48:54 2011
    ARC0 started with pid=20, OS id=4398
    ARC0: Archival started
    LGWR: STARTING ARCH PROCESSES COMPLETE
    ARC0: STARTING ARCH PROCESSES
    Mon Nov 21 07:48:55 2011
    ARC1 started with pid=21, OS id=4403
    Mon Nov 21 07:48:55 2011
    ARC2 started with pid=22, OS id=4408
    ARC1: Archival started
    ARC2: Archival started
    ARC2: Becoming the 'no FAL' ARCH
    ARC2: Becoming the 'no SRL' ARCH
    Mon Nov 21 07:48:55 2011
    ARC3 started with pid=23, OS id=4413
    ARC1: Becoming the heartbeat ARCH
    Thread 1 opened at log sequence 1458
    Current log# 3 seq# 1458 mem# 0: /u01/app/oracle/oradata/rtborcl/redo03.log
    Current log# 3 seq# 1458 mem# 1: /u02/app/oracle/oradata/redo03b.log
    Successful open of redo thread 1
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    SMON: enabling cache recovery
    ARC3: Archival started
    ARC0: STARTING ARCH PROCESSES COMPLETE
    Successfully onlined Undo Tablespace 2.
    Undo initialization finished serial:0 start:977954 end:979234 diff:1280
    Verifying file header compatibility for 11g tablespace encryption..
    Verifying 11g file header compatibility for tablespace encryption completed
    Mon Nov 21 07:48:58 2011
    SMON: enabling tx recovery
    Database Characterset is WE8MSWIN1252
    No Resource Manager plan active
    replication_dependency_tracking turned off (no async multimaster replication found)
    Starting background process QMNC
    Mon Nov 21 07:49:03 2011
    QMNC started with pid=24, OS id=4418
    Mon Nov 21 07:49:10 2011
    db_recovery_file_dest_size of 4977 MB is 13.68% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Mon Nov 21 07:49:12 2011
    Completed: ALTER DATABASE OPEN
    Mon Nov 21 07:49:12 2011
    Starting background process CJQ0
    Mon Nov 21 07:49:12 2011
    CJQ0 started with pid=25, OS id=4470
    Mon Nov 21 07:54:05 2011
    Starting background process SMCO
    Mon Nov 21 07:54:05 2011
    SMCO started with pid=26, OS id=4515
    Mon Nov 21 10:08:01 2011
    ALTER SYSTEM ARCHIVE LOG
    Mon Nov 21 10:08:01 2011
    Thread 1 advanced to log sequence 1459 (LGWR switch)
    Current log# 1 seq# 1459 mem# 0: /u01/app/oracle/oradata/rtborcl/redo01.log
    Current log# 1 seq# 1459 mem# 1: /u02/app/oracle/oradata/redo01b.log
    Mon Nov 21 10:08:04 2011
    Archived Log entry 1421 added for thread 1 sequence 1458 ID 0x990b1f4c dest 1:
    Mon Nov 21 10:12:53 2011
    ALTER SYSTEM ARCHIVE LOG
    Mon Nov 21 10:12:53 2011
    Thread 1 advanced to log sequence 1460 (LGWR switch)
    Current log# 2 seq# 1460 mem# 0: /u01/app/oracle/oradata/rtborcl/redo02.log
    Current log# 2 seq# 1460 mem# 1: /u02/app/oracle/oradata/redo02b.log
    Mon Nov 21 10:12:53 2011
    Archived Log entry 1422 added for thread 1 sequence 1459 ID 0x990b1f4c dest 1:
    Mon Nov 21 10:14:44 2011
    Shutting down instance (immediate)
    Stopping background process SMCO
    Shutting down instance: further logons disabled
    Mon Nov 21 10:14:45 2011
    Stopping background process CJQ0
    Stopping background process QMNC
    Stopping background process MMNL
    Stopping background process MMON
    License high water mark = 4
    All dispatchers and shared servers shutdown
    ALTER DATABASE CLOSE NORMAL
    Mon Nov 21 10:14:49 2011
    SMON: disabling tx recovery
    SMON: disabling cache recovery
    Mon Nov 21 10:14:54 2011
    Shutting down archive processes
    Archiving is disabled
    Mon Nov 21 10:14:54 2011
    ARCH shutting down
    ARC3: Archival stopped
    Mon Nov 21 10:14:54 2011
    ARCH shutting down
    ARC0: Archival stopped
    Mon Nov 21 10:14:54 2011
    ARCH shutting down
    ARC2: Archival stopped
    Mon Nov 21 10:14:54 2011
    ARCH shutting down
    ARC1: Archival stopped
    Thread 1 closed at log sequence 1460
    Successful close of redo thread 1
    Mon Nov 21 10:15:01 2011
    Completed: ALTER DATABASE CLOSE NORMAL
    ALTER DATABASE DISMOUNT
    Completed: ALTER DATABASE DISMOUNT
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Mon Nov 21 10:15:02 2011
    Stopping background process VKTM:
    Mon Nov 21 10:15:08 2011
    Instance shutdown complete
    Mon Nov 21 11:52:11 2011
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Shared memory segment for instance monitoring created
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_1 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =27
    LICENSE_MAX_USERS = 0
    SYS auditing is enabled
    Starting up:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options.
    Using parameter settings in server-side pfile /u01/app/oracle/product/11.2.0/db_2/dbs/initrtborcl.ora
    System parameters with non-default values:
    processes = 150
    memory_target = 1536M
    control_files = "/u01/app/oracle/oradata/rtborcl/control01.ctl"
    control_files = "/u01/app/oracle/flash_recovery_area/rtborcl/control02.ctl"
    db_block_size = 8192
    compatible = "11.2.0.0.0"
    log_archive_format = "%t_%s_%r.dbf"
    db_recovery_file_dest = "/u01/app/oracle/flash_recovery_area"
    db_recovery_file_dest_size= 4977M
    undo_tablespace = "UNDOTBS1"
    remote_login_passwordfile= "EXCLUSIVE"
    audit_sys_operations = TRUE
    db_domain = ""
    global_names = TRUE
    dispatchers = "(PROTOCOL=TCP) (SERVICE=rtborclXDB)"
    audit_file_dest = "/u01/app/oracle/admin/rtborcl/adump"
    audit_trail = "DB_EXTENDED"
    db_name = "rtborcl"
    open_cursors = 300
    os_authent_prefix = "SOP$"
    sql92_security = TRUE
    sec_protocol_error_further_action= "drop"
    sec_max_failed_login_attempts= 3
    diagnostic_dest = "/u01/app/oracle"
    Create Relation DFW_CONFIG_CAPTURE
    Create Relation DFW_CONFIG_ITEM
    Mon Nov 21 11:52:17 2011
    PMON started with pid=2, OS id=7339
    Mon Nov 21 11:52:17 2011
    PSP0 started with pid=3, OS id=7344
    Mon Nov 21 11:52:18 2011
    VKTM started with pid=4, OS id=7349
    VKTM running at (100ms) precision
    Mon Nov 21 11:52:18 2011
    GEN0 started with pid=5, OS id=7356
    Mon Nov 21 11:52:19 2011
    DIAG started with pid=6, OS id=7361
    Mon Nov 21 11:52:19 2011
    DBRM started with pid=7, OS id=7366
    Mon Nov 21 11:52:19 2011
    DIA0 started with pid=8, OS id=7371
    Mon Nov 21 11:52:19 2011
    MMAN started with pid=9, OS id=7376
    Mon Nov 21 11:52:19 2011
    DBW0 started with pid=10, OS id=7381
    Mon Nov 21 11:52:19 2011
    LGWR started with pid=11, OS id=7386
    Mon Nov 21 11:52:19 2011
    CKPT started with pid=12, OS id=7391
    Mon Nov 21 11:52:19 2011
    SMON started with pid=13, OS id=7396
    Mon Nov 21 11:52:19 2011
    RECO started with pid=14, OS id=7401
    Mon Nov 21 11:52:19 2011
    MMON started with pid=15, OS id=7406
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Mon Nov 21 11:52:19 2011
    MMNL started with pid=16, OS id=7411
    starting up 1 shared server(s) ...
    ORACLE_BASE from environment = /u01/app/oracle
    Mon Nov 21 11:52:20 2011
    ALTER DATABASE MOUNT
    ORA-00210: cannot open the specified control file
    ORA-00202: control file: '/u01/app/oracle/flash_recovery_area/rtborcl/control02.ctl'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-205 signalled during: ALTER DATABASE MOUNT...
    Mon Nov 21 11:52:21 2011
    Checker run found 1 new persistent data failures

  • ORA-19510: failed to set size with ORA-27059: could not reduce file size

    Hi,
    I have RMAN backup implemented and getting below error.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on c1 channel at 01/12/2014 04:28:37
    ORA-19510: failed to set size of 12839996 blocks for file "/home/oracle/DBBACKUP/Oracle10g1/Full_Backup/DB_Backup_201401128366598241" (blocksize=16384)
    ORA-27059: could not reduce file size
    Linux Error: 28: no space left on device
    Additional information: 2
    I have checked with following scenarios:
    1. taking backup by setting the MAXSETSIZE parameter value greater than the maximum size of tablespace.
    2. taking compressed incremental backup with maxsetsize as unlimited.
    3. taking compressed incremental backup with maxpiecesize value as 20G/40G/80G/120G and maxsetsize as unlimited.
    Following is the RMAN backup script:
    RMAN> run
    2>  {
    3>  allocate channel c1 device type disk maxpiecesize 120G
    4>  format '/home/oracle/DBBACKUP/Oracle10g1/Full_Backup/DB_Backup_%Y%M%D%t%p';
    5>  backup incremental level 0 as compressed backupset database plus archivelog delete input;
    6>  crosscheck backup of database;
    7>  crosscheck backup of controlfile;
    8>  crosscheck archivelog all;
    9>  delete noprompt expired backup of database;
    10>  delete noprompt expired backup of controlfile;
    11>  delete noprompt obsolete recovery window of 15 days;
    12>  release channel c1;
    13>  }
    14> exit;
    Oracle database version is 10.2.0.1.
    The database is on Linux system and we are taking the RMAN backup on mounted Windows NTFS disk.
    The remaining space on NTFS system 1.7TB and the total database size 850GB. Used size by database is 500GB.
    Regards,
    Yogesh.

    Hi,
    First get the backup piece size its trying to allocate for file "/home/oracle/DBBACKUP/Oracle10g1/Full_Backup/DB_Backup_201401128366598241"
    = 12839996*16384
    = 210370494464/1024/1024/1024
    =195.9GB
    Its trying to allocate ~196GB for the file.
    1. Make sure the RMAN backup piece won’t exceed the O/S permitted filesize limit.
    2. But we can restrict the RMAN backup piece using the MAXPIECESIZE option.
    You restricted it to 120GB but actual requirement to allocate backup piece file is ~196GB.
    I think you need to change the MAXPIECESIZE and give it a try.
    Please update if it succeeded or failed.
    Thanks & Regards,
    Gayu

  • Rman : ORA-19502: write error on file "

    hi all,
    I have a oracle 9.2.0.6, i am taking backup of primary database, my DB is on Sun box and all the datafile are the raw filesystems.......
    but while taking backup i am getting an error.....
    I have checked across the internet and i got to know that the error occured because of Disk space not sufficient as such the catalog is on win 2003 an oracle home of the catalog db is having 20 Gb of space whereas i am taking backup on H:\ there i am having more than 100gb of space...
    please help me to resolve this problem....
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ch1 channel at 05/11/2009 13:00:19
    ORA-19502: write error on file "H:\mainbackup\bk_inc0_65_1", blockno 269825 (blo
    cksize=8192)
    ORA-27063: skgfospo: number of bytes read/written is incorrect
    Additional information: 131072
    Additional information: 1048576

    we have more enough space on disks but still getting an error
    pls suggest me...
    channel ch1: starting piece 1 at 12-MAY-09
    released channel: ch1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ch1 channel at 05/12/2009 12:46:07
    ORA-19504: failed to create file "G:\mainbackup\bk_inc0_69_1"
    ORA-27044: unable to write the header block of file
    SVR4 Error: 28: No space left on device
    Additional information: 1
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • ORA-00205: error in identifying control file,-Startup ASM db in PFA mode

    Is there any oracle restriction for ASM database in PFA mode?
    *[oracle@aveo:~]>cd $ORACLE_HOME/dbs*
    *[oracle@aveo:~]>orapwd file=orapwQ102ASMA password=sys entries=10 force=y*
    oracle@aveo:~]>sq
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Sep 3 12:49:15 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select file_name from dba_data_files;
    FILE_NAME
    +OBTDG1/q102asma/datafile/system01.dbf
    7 rows selected.
    SQL> show parameter pass
    NAME_COL_PLUS_SHOW_PARAM
    TYPE
    VALUE_COL_PLUS_SHOW_PARAM
    remote_login_passwordfile
    string
    EXCLUSIVE
    SQL> select from v$pwfile_users;*
    USERNAME SYSDB SYSOP
    SYS TRUE TRUE
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> exit
    Now made changes in sqlnet.ora file.
    oracle@aveo:admin]>pwd
    /oracle/10.2.0/product/network/admin
    *[oracle@aveo:admin]>cat sqlnet.ora*
    sqlnet.authentication_services=(none)
    *=oracle@aveo:admin]>sqlplus sys/sys as sysdba*
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Sep 3 13:28:29 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 272629760 bytes
    Fixed Size 2005736 bytes
    Variable Size 184550680 bytes
    Database Buffers 83886080 bytes
    Redo Buffers 2187264 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    It thows ORA-00205: error in identifying control file,
    Edited by: user2015671 on 3 Sep, 2010 8:09 AM

    In alert log it show below error message.
    ===================================================================
    Sat Sep 4 13:06:38 2010
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 1
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =10
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
    processes = 50
    shared_pool_size = 155189248
    large_pool_size = 4194304
    java_pool_size = 25165824
    resource_manager_plan = SYSTEM_PLAN
    control_files = OBTDG1/q102asma/controlfile/control01.ctl, OBTDG1/q102asma/controlfile/control02.ctl, +OBTDG1/q102asma/controlfile/control03.ctl
    db_block_size = 8192
    db_cache_size = 67108864
    db_2k_cache_size = 8388608
    db_4k_cache_size = 8388608
    compatible = 10.0.0.0.0
    log_archive_dest = +OBTDG1
    log_archive_format = %t_%s_%r.log
    log_buffer = 2152448
    fast_start_mttr_target = 300
    undo_management = AUTO
    undo_tablespace = rbs
    remote_login_passwordfile= EXCLUSIVE
    instance_name = Q102ASMA
    background_dump_dest = /qa/data/obt/Q102ASMA/admin/bdump
    user_dump_dest = /qa/data/obt/Q102ASMA/admin/udump
    core_dump_dest = /qa/data/obt/Q102ASMA/admin/cdump
    sort_area_size = 524288
    db_name = Q102ASMA
    open_cursors = 300
    ifile = /qa/data/obt/Q102ASMA/admin/pfile/configQ102ASMA.ora
    PMON started with pid=2, OS id=29642
    PSP0 started with pid=3, OS id=29644
    MMAN started with pid=4, OS id=29646
    DBW0 started with pid=5, OS id=29648
    LGWR started with pid=6, OS id=29650
    CKPT started with pid=7, OS id=29652
    SMON started with pid=8, OS id=29654
    RECO started with pid=9, OS id=29656
    MMON started with pid=10, OS id=29658
    MMNL started with pid=11, OS id=29660
    Sat Sep 4 13:06:40 2010
    ALTER DATABASE MOUNT
    Sat Sep 4 13:06:40 2010
    Starting background process ASMB
    ASMB started with pid=13, OS id=29663
    Sat Sep 4 13:06:40 2010
    ORA-00202: control file: '+OBTDG1/q102asma/controlfile/control01.ctl'
    ORA-17503: ksfdopn:2 Failed to open file +OBTDG1/q102asma/controlfile/control01.ctl
    ORA-15001: diskgroup "OBTDG1" does not exist or is not mounted
    ORA-15055: unable to connect to ASM instance
    ORA-01031: insufficient privileges
    Sat Sep 4 13:06:40 2010
    ORA-205 signalled during: ALTER DATABASE MOUNT...
    ===================================================================
    ASMCMD> pwd
    +OBTDG1/Q102ASMA/controlfile
    ASMCMD>
    ASMCMD> ls -ltr
    Type Redund Striped Time Sys Name
    N control01.ctl => +OBTDG1/Q102ASMA/CONTROLFILE/Current.283.728141849
    N control02.ctl => +OBTDG1/Q102ASMA/CONTROLFILE/current.292.728141859
    N control03.ctl => +OBTDG1/Q102ASMA/CONTROLFILE/current.299.728141861
    CONTROLFILE UNPROT FINE SEP 04 13:00:00 Y Current.283.728141849
    CONTROLFILE UNPROT FINE SEP 04 13:00:00 Y current.292.728141859
    CONTROLFILE UNPROT FINE SEP 04 13:00:00 Y current.299.728141861
    ===================================================================
    I tried without Password file authentication then i am not getting error during database startup.
    Why it is giving error for Password file authentication?
    Thanks,

  • ORA-19505 System cannot find the file specified

    I am trying to DUPLICAE DATABASE to OraDev machine.
    On my production the backup are on F:\Backups folder but there is no F:\Backups on OraDev box so I am getting ORA-19505 error saying file not found.
    Is there any way I can copy the backup to C:\Backups on OraDev and tell RMAN to look in C:\Backups instead of F:\Backups?
    I know this is Cloning where directory structure should be same, I have straighten up all the data file, log files issues only the backup location is giving the problem.
    Any idea?
    Thanks,
    Data Sheet

    Hi
    I think you are doing something wrong in your duplication steps.
    Try to read this post configure auxname and the links in the answer.
    Bye, Aron

  • ORA-19506:failed to create sequential file.

    RMAN offline full backup failed.
    We had setup of Oracle RMAN backup with TSM and it was working perfect but few days backup, our team did testing with RMAN-NetBackup on database server and after that our existing backup process started giving error.
    Our RMAN backup script is point to TSM but while executing, it shows to point NetBackup and not sure what dependencies are forcing them to point NetBackup.
    Oracle- 9i
    OS- AIX
    Error Message:-
    Starting backup at 04-SEP-12 09:21:51
    channel t1: starting full datafile backupset
    channel t1: specifying datafile(s) in backupset
    input datafile fno=00004 name=/u03/oradata/Test/datap_index01.dbf
    input datafile fno=00003 name=/u03/oradata/Test/datap_data01.dbf
    channel t1: starting piece 1 at 04-SEP-12 09:21:52
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on t1 channel at 09/04/2012 09:37:07
    ORA-19506: failed to create sequential file, name="Test_T_FULL_OFFLINE_set2057_piece1_20120904_09nkbf1g_1_1", parms=""
    ORA-27028: skgfqcre: sbtbackup returned error
    ORA-19511: Error received from media manager layer, error text:
    VxBSAValidateFeatureId: Failed with error:
    Server Status: cannot connect on socket

    Thanks for respond but issue is slightly different, we have RMAN backup setup with TSM and it was working fine earlier but last week one of our team installed and configured NetBackup with RMAN for testing oracle backup with RMAN-NetBackup and after testing they revert back the changes.
    After this testing mine RMAN-TSM backup started giving error and in error it seems to point to NetBackup instead of TSM, however I did check the RMAN script but there is no any changes that point to NetBackup.
    I am not sure what changes are causing to point backup to NetBackup instead of TSM.
    Please see the complete error message below-
    allocated channel: t1
    channel t1: sid=11 devtype=SBT_TAPE
    channel t1: Veritas NetBackup for Oracle - Release 7.5 (2012050906)*
    old RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration parameters are successfully stored
    starting full resync of recovery catalog
    full resync complete
    old RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO 'bk_ctl_%d_%F';
    new RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO 'bk_ctl_%d_%F';
    new RMAN configuration parameters are successfully stored
    starting full resync of recovery catalog
    full resync complete
    Starting backup at 04-SEP-12 09:21:51
    channel t1: starting full datafile backupset
    channel t1: specifying datafile(s) in backupset
    input datafile fno=00004 name=/u03/oradata/TEST_T/datap_index01.dbf
    input datafile fno=00003 name=/u03/oradata/TEST_T/datap_data01.dbf
    channel t1: starting piece 1 at 04-SEP-12 09:21:52
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on t1 channel at 09/04/2012 09:37:07
    ORA-19506: failed to create sequential file, name="TEST_T_FULL_OFFLINE_set2057_piece1_20120904_09nkbf1g_1_1", parms=""
    ORA-27028: skgfqcre: sbtbackup returned error
    ORA-19511: Error received from media manager layer, error text:
    VxBSAValidateFeatureId: Failed with error:
    Server Status:  cannot connect on socket
    RMAN>

Maybe you are looking for

  • Reserving the sales order stock for a customer

    Hello SAP gurus !! My client is wants to Reserve the stocks once the order is placed or confirmed by the Customers. For Example; --  If 10 c/s are available in the plant and a customer has ordered 10 c/s...  next time .. if someone is creating order

  • I do not think Flash Player 10 is installing properly.

    OS: Dual Booth Win XP and Vista 32bit System: Quad Core Dell Precision 3400 Background:     I recently had to format my machine and now I cannot get flash player to run properly. Problem/Error:      I am a developer and I am having problems running t

  • Inserting rows in PL/SQl table

    Hi, I have a PL/SQl table which i populated through bulk collect and now i am trying to loop through the table (actually quite a few nested loops) ... Now inside one of my loops i might need to insert a new row by splitting field in the existing row

  • Document Library view selection menu missing

    Hi, I am encountering a strange issue with the SP2013 document library web part. I included a screenshot (see link) where you can see that the web part of the doc lib doesn't contain a view selector menu at the right side. This is only available afte

  • Links/Tags Clickable In Source View

    Hi, I was wondering is it possible to enable Dreamweaver CS4 to open up links, css tags, scripts or etc. when clicked on? I don't know if you guys have ever used Expression Web 2 or familiar with it but it has that feature. For example in source view