Controlfile error

SQL*Plus: Release 10.2.0.1.0 - Production on Sun Jul 24 02:49:39 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
hi i dont have any back up of control file
how can i recover from this
SQL> connect / as sysdba
Connected.
SQL> startup nomount
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> alter database mount;
alter database mount
ERROR at line 1:
ORA-00205: error in identifying control file, check alert log for more info
Thank in advance
SQL>

Hi Asif
Check your alert log file and paste last 50 lines of your log fileSystem parameters with non-default values:
processes = 150
__shared_pool_size = 96468992
__large_pool_size = 4194304
__java_pool_size = 4194304
__streams_pool_size = 0
sga_target = 285212672
control_files = /u01/oracle/product/10.2.0/oradata/habeeb/control01.ctl, /u01/oracle/product/10.2.0/oradata/habeeb/control02.ctl, /u01/oracle/product/10.2.0/oradata/habeeb/control03.ctl
db_block_size = 8192
__db_cache_size = 176160768
compatible = 10.2.0.1.0
db_file_multiblock_read_count= 16
db_recovery_file_dest = /u01/oracle/product/10.2.0/db_1/flash_recovery_area
db_recovery_file_dest_size= 2147483648
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=habeebXDB)
job_queue_processes = 10
background_dump_dest = /u01/oracle/product/10.2.0/db_1/admin/habeeb/bdump
user_dump_dest = /u01/oracle/product/10.2.0/db_1/admin/habeeb/udump
core_dump_dest = /u01/oracle/product/10.2.0/db_1/admin/habeeb/cdump
audit_file_dest = /u01/oracle/product/10.2.0/db_1/admin/habeeb/adump
db_name = habeeb
open_cursors = 300
pga_aggregate_target = 94371840
PSP0 started with pid=3, OS id=9997
PMON started with pid=2, OS id=9995
MMAN started with pid=4, OS id=9999
DBW0 started with pid=5, OS id=10001
LGWR started with pid=6, OS id=10003
CKPT started with pid=7, OS id=10005
SMON started with pid=8, OS id=10007
RECO started with pid=9, OS id=10009
CJQ0 started with pid=10, OS id=10011
Sun Jul 24 03:02:20 2011
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
MMNL started with pid=12, OS id=10015
MMON started with pid=11, OS id=10013
Sun Jul 24 03:02:21 2011
starting up 1 shared server(s) ...
Sun Jul 24 03:02:22 2011
ALTER DATABASE MOUNT
Sun Jul 24 03:02:22 2011
ORA-00202: control file: '/u01/oracle/product/10.2.0/oradata/habeeb/control01.ctl'
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3
Sun Jul 24 03:02:22 2011
ORA-205 signalled during: ALTER DATABASE MOUNT...
Thank You

Similar Messages

  • Error While Control File Creation

    Hi Experts,
    i'm trying to create control file but i'm getting following error.
    SQL> CREATE CONTROLFILE
      2     SET DATABASE venk
      3     LOGFILE GROUP 1 ('C:\oracle\product\10.2.0\oradata\venk\redo01_01.log',
      4                      'C:\oracle\product\10.2.0\oradata\venk\redo01_02.log'),
      5             GROUP 2 ('C:\oracle\product\10.2.0\oradata\venk\redo02_01.log',
      6                      'C:\oracle\product\10.2.0\oradata\venk\redo02_02.log'),
      7             GROUP 3 ('C:\oracle\product\10.2.0\oradata\venk\redo03_01.log',
      8                      'C:\oracle\product\10.2.0\oradata\venk\redo03_02.log')
      9     RESETLOGS
    10     DATAFILE 'C:\oracle\product\10.2.0\oradata\venk\system01.dbf' SIZE 3M,
    11              'C:\oracle\product\10.2.0\oradata\venk\rbs01.dbs' SIZE 5M,
    12              'C:\oracle\product\10.2.0\oradata\venk\users01.dbs' SIZE 5M,
    13              'C:\oracle\product\10.2.0\oradata\venkemp01.dbs' SIZE 5M
    14     MAXLOGFILES 50
    15     MAXLOGMEMBERS 3
    16     MAXLOGHISTORY 400
    17     MAXDATAFILES 200
    18     MAXINSTANCES 6
    19     ARCHIVELOG;
    CREATE CONTROLFILE
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01163: SIZE clause indicates 384 (blocks), but should match header 60160
    ORA-01110: data file 1: 'C:\oracle\product\10.2.0\oradata\venk\system01.dbf'
    SQL>I'm search in google.
    ORA-01163:
    SIZE clause indicates string (blocks), but should match header string
    Cause:      The size specified in bytes in the SIZE clause of the CREATE CONTROLFILE statement does not equate to the number of blocks recorded in the header.
    Action:      Specify the correct filename and size ( in bytes ).But i don't know how to check the SIZE of header .. Pls Help

    Thanks for your help.
    @phaeus .. i really don't know enough or not ..i'm just learning in my own system.
    @mseberg Now getting below error.
    SQL> CREATE CONTROLFILE
      2     SET DATABASE venk
      3     LOGFILE GROUP 1 ('C:\oracle\product\10.2.0\oradata\venk\redo01_01.log',
      4                      'C:\oracle\product\10.2.0\oradata\venk\redo01_02.log'),
      5             GROUP 2 ('C:\oracle\product\10.2.0\oradata\venk\redo02_01.log',
      6                      'C:\oracle\product\10.2.0\oradata\venk\redo02_02.log'),
      7             GROUP 3 ('C:\oracle\product\10.2.0\oradata\venk\redo03_01.log',
      8                      'C:\oracle\product\10.2.0\oradata\venk\redo03_02.log')
      9     RESETLOGS
    10     DATAFILE 'C:\oracle\product\10.2.0\oradata\venk\system01.dbf',
    11              'C:\oracle\product\10.2.0\oradata\venk\rbs01.dbs',
    12              'C:\oracle\product\10.2.0\oradata\venk\users01.dbs',
    13              'C:\oracle\product\10.2.0\oradata\venkemp01.dbs'
    14     MAXLOGFILES 50
    15     MAXLOGMEMBERS 3
    16     MAXLOGHISTORY 400
    17     MAXDATAFILES 200
    18     MAXINSTANCES 6
    19     ARCHIVELOG;
    CREATE CONTROLFILE
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01565: error in identifying file
    'C:\oracle\product\10.2.0\oradata\venk\rbs01.dbs'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    SQL>@orafad     Thanks for your link :) .i'm referring this link
    http://docs.oracle.com/cd/E11882_01/server.112/e25494/control003.htm
    any way pls help to resolve this issue . So that in future if this kind of issue came i can solve my self.

  • ORA-01157 and ORA-01110 errors

    Dear all,
    I was  getting "ORA-00205: error in identifying controlfile" error while starting the database
    This had happened during the investigation of the IMPORT_ABAP phase failure, during our system copy (Import)
    I found out in alert_SID.log that control file was missing in 3 locations /oracle/SID/origlogA, /oracle/SID/origlogB and /oracle/SID/sapdata1
    So I copied the control file from /oracle/GRD/saparch/cntrl to the above 3 locations. Now I am able to mount the database but not able to open it.
    Getting the below mentioned error
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: '/oracle/SRD/sapdata1/system_1/system.data1'
    Any suggestions?

    The control file from /oracle/SRD/saparch/cntrl was an old file so deleted it from the 3 locations as mentioned earlier
    Now there is no control file in origlogA, origlobB and sadata1
    Now I am getting the below mentioned error
    ORA-00205: error in identifying control file, check alert log for more in
    any suggestions?

  • Create controlfile

    Hi,
    on 10gR2, I recreate a new database (in noarchivlog mode)with the hot backed up data and redolog files of another database (in noarchivlog mode) with following script :
    STARTUP NOMOUNT PFILE="c:\oracle\product\10.2.0\admin\TEST\pfile\initTEST.ORA"
    CREATE CONTROLFILE SET DATABASE "TEST" RESETLOGS  NOARCHIVELOG
        MAXLOGFILES 16
        MAXLOGMEMBERS 3
        MAXDATAFILES 200
        MAXINSTANCES 8
        MAXLOGHISTORY 292
    LOGFILE
      GROUP 1 'D:\BASE\TEST\UNDO\REDO01.LOG'  SIZE 50M,
      GROUP 2 'D:\BASE\TEST\UNDO\REDO02.LOG'  SIZE 50M,
      GROUP 3 'D:\BASE\TEST\UNDO\REDO03.LOG'  SIZE 50M
    DATAFILE
      'D:\BASE\TEST\DATA\SYSTEM01.DBF',
      'D:\BASE\TEST\DATA\UNDOTBS01.DBF',
      'D:\BASE\TEST\DATA\SYSAUX01.DBF',
      'D:\BASE\TEST\DATA\USERS01.DBF',
      'D:\BASE\TEST\DATA\TSDATA01.DBF',
      'D:\BASE\TEST\DATA\TST1.DBF',
      'D:\BASE\TEST\DATA\TS_T1.DBF',
      'D:\BASE\TEST\DATA\TS_PO.DBF',
      'D:\BASE\TEST\DATA\TS_N1.DBF',
      'D:\BASE\TEST\DATA\TS_DATA1.DBF',
      'D:\BASE\TEST\DATA\TS_T2.DBF'
    CHARACTER SET WE8MSWIN1252
    RECOVER DATABASE using backup controlfile until cancel;
    AUTO
    ALTER DATABASE OPEN RESETLOGS;
    ALTER TABLESPACE TEMP ADD TEMPFILE 'D:\BASE\TEST\DATA\TEMP01.DBF'
         SIZE 20971520  REUSE AUTOEXTEND ON NEXT 655360  MAXSIZE 32767M;But it can not continue until end. It stops at "ALTER DATABASE OPEN RESETLOGS;"
    Then I retry "RECOVER DATABASE using backup controlfile until cancel;" and when prompted I give :
    'D:\BASE\TEST\UNDO\REDO01.LOG'
    'D:\BASE\TEST\UNDO\REDO02.LOG'
    These log files would be applied. I issue :
    ALTER DATABASE OPEN RESETLOGS;
    and then every thing is OK. I have my new database.
    My question is :
    Why my script can not go to end ? How can I have it automaticaly until end ? How can I make it to apply redologs automaticaly ?
    Thank you very much.

    thank you Erka, but :
    SQL> alter database recover automatic database using backup controlfile;
    alter database recover automatic database using backup controlfile
    ERROR at line 1:
    ORA-00279: change 12090228 generated at 02/13/2009 21:12:07 needed for thread 1
    ORA-00289: suggestion : D:\BASE\TEST\ARCH\ARC00425_0665589163.001
    ORA-00280: change 12090228 for thread 1 is in sequence #425
    ORA-00278: log file 'D:\BASE\TEST\ARCH\ARC00425_0665589163.001' no longer
    needed for this recovery
    ORA-00308: cannot open archived log 'D:\BASE\TEST\ARCH\ARC00425_0665589163.001'
    ORA-27041: unable to open fileOf cours as I said in the begining the databases are not in archivelog mode.

  • Databse open error

    I m performing the data refresh activity. I had taken the backup(database backup through filesystem) and restored the same in the new target system.My target system is an freshly installed SAP system where I m replicating the data of PRD.
    I had done the restoration successfully and also had created successfully the control file. But when i try command as
    "alter database open resetlogs;" it gives error as alter database open resetlogs
    ERROR at line 1:
    ORA-01152: file 2 was not restored from a sufficiently old backup
    ORA-01110: data file 2: '/oracle/BRT/sapdata5/undo_1/undo.data1'
    Below mentioned are the tried commands.
    SQL> alter database recover until cancel using backup controlfile;
    alter database recover until cancel using backup controlfile
    ERROR at line 1:
    ORA-00279: change 5014386605 generated at 01/01/2011 10:16:37 needed for thread
    1
    ORA-00289: suggestion : /oracle/BRT/oraarch/BRTarch1_172808_676564222.dbf
    ORA-00280: change 5014386605 for thread 1 is in sequence #172808
    SQL> alter database recover until cancel using backup controlfile;
    alter database recover until cancel using backup controlfile
    ERROR at line 1:
    ORA-00275: media recovery has already been started
    SQL> alter database recover cancel;
    alter database recover cancel
    ERROR at line 1:
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01152: file 2 was not restored from a sufficiently old backup
    ORA-01110: data file 2: '/oracle/BRT/sapdata5/undo_1/undo.data1'
    SQL> alter database recover until cancel using backup controlfile;
    alter database recover until cancel using backup controlfile
    ERROR at line 1:
    ORA-00279: change 5014386605 generated at 01/01/2011 10:16:37 needed for thread
    1
    ORA-00289: suggestion : /oracle/BRT/oraarch/BRTarch1_172808_676564222.dbf
    ORA-00280: change 5014386605 for thread 1 is in sequence #172808
    We modified the command later as " recover database using backup controlfile until cancel;"for which it asked for AUTO Cancel  etc. where we gave an option of CANCEL.
    After completing the process we gave command as "alter database open resetlogs;"
    For which we got an err in trace file as mentioned below:
    Errors in file /oracle/BRT/saptrace/usertrace/brt_ora_2109488.trc:
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    Mon Jan  3 11:35:47 2011
    Error 704 happened during db open, shutting down database
    USER: terminating instance due to error 704
    Instance terminated by USER, pid = 2109488
    ORA-1092 signalled during: alter database open resetlogs...
    The dbf file it is asking is present in target system , but still facing the same issue.
    Kindly suggest .
    Regards,

    It's the same problem as in your other thread, isn't it?
    Unable to open database

  • "ORA-01203 - wrong creation SCN" got during copy of a db on another machine

    Hello colleagues,
    I copy a database from a machine to a second one through this procedure:
    I set each tablespace (data and temp) in backup mode
    I copy the datafiles (data and temp)
    I copy the control file
    I copy archived redo logs
    On the second machine I try to startup the database by the command
    On the second machine I try to startup the database but the following errors are got:
    SQL> @/usr/Systems/1359HA_9.0.0_Master/HA_EOMS_1_9.0.0_Master/tmp/oracle/CACH
    E/apply_redo.sql;
    ORACLE instance started.
    Total System Global Area 423624704 bytes
    Fixed Size 2044552 bytes
    Variable Size 209718648 bytes
    Database Buffers 209715200 bytes
    Redo Buffers 2146304 bytes
    Database mounted.
    alter database recover automatic from '/usr/Systems/1359HA_9.0.0_Master/HA_EOMS_1_9.0.0_Master/data/warm_rep
    l/WarmArchive/CACHE' database until cancel using backup controlfile
    but the following errors are got:
    SQL> @/usr/Systems/1359HA_9.0.0_Master/HA_EOMS_1_9.0.0_Master/tmp/oracle/CACH
    E/apply_redo.sql;
    ORACLE instance started.
    Total System Global Area 423624704 bytes
    Fixed Size 2044552 bytes
    Variable Size 209718648 bytes
    Database Buffers 209715200 bytes
    Redo Buffers 2146304 bytes
    Database mounted.
    alter database recover automatic from '/usr/Systems/1359HA_9.0.0_Master/HA_EOMS_1_9.0.0_Master/data/warm_rep
    l/WarmArchive/CACHE' database until cancel using backup controlfile
    ERROR at line 1:
    ORA-00283: recovery session canceled due to errors
    ORA-01110: data file 1: '/cache/db/db01/system_1.dbf'
    ORA-01122: database file 1 failed verification check
    ORA-01110: data file 1: '/cache/db/db01/system_1.dbf'
    ORA-01203: wrong incarnation of this file - wrong creation SCN
    You see the mount command and the error got.
    What can I do to troubleshoot the problem?
    thanks for the support
    Enrico
    The complete copy procedure is the following:
    #!/bin/ksh
    # Step 2 -- Verifying the DBMS ARCHIVELOG mode
    $ORACLE_HOME/bin/sqlplus /nolog << EOF
    connect / as sysdba
    spool ${ORACLE_TMP_DIR}/archive.log
    archive log list;
    spool off
    EOF
    grep NOARCHIVELOG ${ORACLE_TMP_DIR}/archive.log >/dev/null 2>&1
    # Step 3 -- Creating DB_filenames.conf / DB_controfile.conf fles
    [ -f ${ORACLE_TMP_DIR}/DB_filenames.conf ] && rm -f ${ORACLE_TMP_DIR}/DB_filenames.conf
    [ -f ${ORACLE_TMP_DIR}/DB_controfile.conf ] && rm -f ${ORACLE_TMP_DIR}/DB_controfile.conf
    [ -f ${ORACLE_TMP_DIR}/DB_TEMP_filenames.conf ] && rm -f ${ORACLE_TMP_DIR}/DB_TEMP_filenames.conf
    $ORACLE_HOME/bin/sqlplus /nolog << EOF
    connect / as sysdba
    set linesize 600;
    spool ${ORACLE_TMP_DIR}/DB_filenames.conf
    select 'TABLESPACE=',tablespace_name from sys.dba_data_files;
    select 'FILENAME=',file_name from sys.dba_data_files;
    select 'LOGFILE=',MEMBER from v\$logfile;
    spool off
    EOF
    $ORACLE_HOME/bin/sqlplus /nolog << EOF
    connect / as sysdba
    set linesize 600;
    spool ${ORACLE_TMP_DIR}/DB_controfile.conf
    select name from v\$controlfile;
    spool off
    EOF
    $ORACLE_HOME/bin/sqlplus /nolog << EOF
    connect / as sysdba
    set linesize 600;
    spool ${ORACLE_TMP_DIR}/DB_TEMP_filenames.conf
    select 'TABLESPACE=',tablespace_name from sys.dba_temp_files;
    select 'FILENAME=',file_name from sys.dba_temp_files;
    spool off
    EOF
    note "Executing cp ${ORACLE_TMP_DIR}/DB_filenames.conf ${INSTANCE_DATA_DIR}/DB_filenames.conf ..."
    cp ${ORACLE_TMP_DIR}/DB_filenames.conf ${INSTANCE_DATA_DIR}/DB_filenames.conf
    [ $? -ne 0 ] && error "Error executing cp ${ORACLE_TMP_DIR}/DB_filenames.conf ${INSTANCE_DATA_DIR}/DB_filenames.conf!"\
         && LocalExit 1
    chmod ug+x ${INSTANCE_DATA_DIR}/DB_filenames.conf
    note "Executing cp ${ORACLE_TMP_DIR}/DB_controfile.conf ${INSTANCE_DATA_DIR}/DB_controfile.conf ..."
    cp ${ORACLE_TMP_DIR}/DB_controfile.conf ${INSTANCE_DATA_DIR}/DB_controfile.conf
    [ $? -ne 0 ] && error "Error executing cp ${ORACLE_TMP_DIR}/DB_controfile.conf ${INSTANCE_DATA_DIR}/DB_controfile.conf!"\
         && LocalExit 1
    chmod ug+x ${INSTANCE_DATA_DIR}/DB_controfile.conf
    note "Executing cp ${ORACLE_TMP_DIR}/DB_TEMP_filenames.conf ${INSTANCE_DATA_DIR}/DB_TEMP_filenames.conf ..."
    cp ${ORACLE_TMP_DIR}/DB_TEMP_filenames.conf ${INSTANCE_DATA_DIR}/DB_TEMP_filenames.conf
    [ $? -ne 0 ] && error "Error executing cp ${ORACLE_TMP_DIR}/DB_TEMP_filenames.conf ${INSTANCE_DATA_DIR}/DB_TEMP_filenames.conf!"\
         && LocalExit 1
    chmod ug+x ${INSTANCE_DATA_DIR}/DB_TEMP_filenames.conf
    set -a
    set -A arr_tablespace `grep "^TABLESPACE=" ${INSTANCE_DATA_DIR}/DB_filenames.conf | awk '{ print \$2 }'`
    index=`grep "^TABLESPACE" ${INSTANCE_DATA_DIR}/DB_filenames.conf | wc -l`
    backup_status=0
    i=0
    while [ $i -lt $index ]
    do
    note "tablespace=${arr_tablespace[$i]}"
    $ORACLE_HOME/bin/sqlplus /nolog << EOF
    connect / as sysdba
    set linesize 600;
    spool ${ORACLE_TMP_DIR}/tablespace.log
    select 'FILENAME=',file_name from sys.dba_data_files where tablespace_name='${arr_tablespace[$i]}';
    spool off
    alter tablespace ${arr_tablespace[$i]} end backup;
    spool ${ORACLE_TMP_DIR}/backup_tablespace.log
    alter tablespace ${arr_tablespace[$i]} begin backup;
    spool off
    EOF
    set -A arr_filename `grep "^FILENAME=" ${ORACLE_TMP_DIR}/tablespace.log | awk '{ print \$2 }'`
    index1=`grep "^FILENAME" ${ORACLE_TMP_DIR}/tablespace.log | wc -l`
    h=0
    while [ $h -lt $index1 ]
    do
    name=`basename ${arr_filename[$h]}`
    note "filename = ${arr_filename[$h]}"
    $ORACLE_HOME/bin/sqlplus /nolog << EOF
    connect / as sysdba
    host compress -c ${arr_filename[$h]} > ${BACKUP_AREA}/$name.Z
    EOF
    h=`expr $h + 1`
    done
    $ORACLE_HOME/bin/sqlplus /nolog << EOF
    connect / as sysdba
    spool ${ORACLE_TMP_DIR}/backup_tablespace.log
    alter tablespace ${arr_tablespace[$i]} end backup;
    spool off
    EOF
    i=`expr $i + 1`
    done
    [ $backup_status -eq 1 ] && LocalExit 1
    set -a
    set -A arr_tablespace `grep "^TABLESPACE=" ${INSTANCE_DATA_DIR}/DB_TEMP_filenames.conf | awk '{ print \$2 }'`
    index=`grep "^TABLESPACE" ${INSTANCE_DATA_DIR}/DB_TEMP_filenames.conf | wc -l`
    ${ORACLE_TMP_DIR}/tablespace.logi=0
    while [ $i -lt $index ]
    do
    note "tablespace=${arr_tablespace[$i]}"
    $ORACLE_HOME/bin/sqlplus /nolog << EOF
    connect / as sysdba
    set linesize 600;
    spool ${ORACLE_TMP_DIR}/tablespace.log
    select 'FILENAME=',file_name from sys.dba_temp_files where tablespace_name='${arr_tablespace[$i]}';
    spool off
    EOF
    set -A arr_filename `grep "^FILENAME=" ${ORACLE_TMP_DIR}/tablespace.log | awk '{ print \$2 }'`
    index1=`grep "^FILENAME" ${ORACLE_TMP_DIR}/tablespace.log | wc -l`
    h=0
    while [ $h -lt $index1 ]
    do
    name=`basename ${arr_filename[$h]}`
    note "filename = ${arr_filename[$h]}"
    $ORACLE_HOME/bin/sqlplus /nolog << EOF
    connect / as sysdba
    host compress -c ${arr_filename[$h]} > ${BACKUP_AREA}/$name.Z
    EOF
    h=`expr $h + 1`
    done
    i=`expr $i + 1`
    done
    # "log switch & controlfile backup"
    $ORACLE_HOME/bin/sqlplus /nolog << EOF
    connect / as sysdba
    spool ${ORACLE_TMP_DIR}/backup_controlfile.log
    alter database backup controlfile to '${BACKUP_AREA}/ctrl_pm.ctl' reuse;
    host chmod a+rw ${BACKUP_AREA}/ctrl_pm.ctl
    alter system archive log current;
    spool off
    spool ${ORACLE_TMP_DIR}/archive_info.log
    archive log list;
    spool off
    EOF
    # Step 5 -- Copying the DBMS on the companion node
    note "transferring archived redo log files from ACT to SBY host"
    name=`grep 'Archive destination' ${ORACLE_TMP_DIR}/archive_info.log| awk '{ print \$3 }'`
    set -A vett_logfiles `grep "^LOGFILE=" ${INSTANCE_DATA_DIR}/DB_filenames.conf | awk '{ print \$2 }'`
    index=`grep "^LOGFILE" ${INSTANCE_DATA_DIR}/DB_filenames.conf | wc -l`
    i=0
    while [ $index -gt 0 ]
    do
    name=`basename ${vett_logfiles[$i]}`
    ###MOD001
    $ORACLE_HOME/bin/sqlplus /nolog << EOF
    connect / as sysdba
    host cp ${vett_logfiles[$i]} ${BACKUP_AREA}/$name
    host chmod a+rw ${BACKUP_AREA}/$name
    EOF
    if [ $? -ne 0 ]; then
    error "Error copying logfile on LOCAL_BACKUP_AREA"
    LocalExit 1
    fi
    note "log_file=${vett_logfiles[$i]}"
    index=`expr $index - 1`
    i=`expr $i + 1`
    done
    note "Executing RemoteCopy ${COMPANION_HOSTNAME} ${INSTANCE_DATA_DIR}/DB_filenames.conf ${INSTANCE_DATA_DIR}/DB_filenames.conf 0 -k -ret 2 ..."
    RemoteCopy ${COMPANION_HOSTNAME} ${INSTANCE_DATA_DIR}/DB_filenames.conf ${INSTANCE_DATA_DIR}/DB_filenames.conf 0 -k -ret 2
    if [ $? -ne 0 ]; then
    error "Error executing RemoteCopy ${COMPANION_HOSTNAME} ${INSTANCE_DATA_DIR}/DB_filenames.conf ${INSTANCE_DATA_DIR}/DB_filenames.conf 0 -ret 2!"
    LocalExit 1
    fi
    note "Executing RemoteCopy ${COMPANION_HOSTNAME} ${INSTANCE_DATA_DIR}/DB_TEMP_filenames.conf ${INSTANCE_DATA_DIR}/DB_TEMP_filenames.conf 0 -k -ret 2 ..."
    RemoteCopy ${COMPANION_HOSTNAME} ${INSTANCE_DATA_DIR}/DB_TEMP_filenames.conf ${INSTANCE_DATA_DIR}/DB_TEMP_filenames.conf 0 -k -ret 2
    if [ $? -ne 0 ]; then
    error "Error executing RemoteCopy ${COMPANION_HOSTNAME} ${INSTANCE_DATA_DIR}/DB_TEMP_filenames.conf ${INSTANCE_DATA_DIR}/DB_TEMP_filenames.conf 0 -ret 2!"
    LocalExit 1
    fi
    note "Executing RemoteCopy ${COMPANION_HOSTNAME} ${INSTANCE_DATA_DIR}/DB_controfile.conf ${INSTANCE_DATA_DIR}/DB_controfile.conf 0 -k -ret 2 ..."
    RemoteCopy ${COMPANION_HOSTNAME} ${INSTANCE_DATA_DIR}/DB_controfile.conf ${INSTANCE_DATA_DIR}/DB_controfile.conf 0 -k -ret 2
    if [ $? -ne 0 ]; then
    error "Error executing RemoteCopy ${COMPANION_HOSTNAME} ${INSTANCE_DATA_DIR}/DB_controfile.conf ${INSTANCE_DATA_DIR}/DB_controfile.conf 0 -k -ret 2!"
    LocalExit 1
    fi
    note "Executing RemoteCopy ${COMPANION_HOSTNAME} ${BACKUP_AREA} ${RECOVER_AREA} 0 -k -ret 2 ..."
    RemoteCopy ${COMPANION_HOSTNAME} ${BACKUP_AREA} ${RECOVER_AREA} 0 -k -ret 2

    If the Operating system is same :
    Working Machine
    ================
    Shutdown the database and copy everything
    Copy the init.ora
    Copy the pdf,ctl,and log
    Copy the bdump, udump etc..
    On the second machine
    ==================
    Copy your file in the same path as original i.e
    C:\oracle..<dbname>\system.dbf
    C:\oracle..<dbname>\system.dbf
    Start the database
    If your paths in second machine does not match as original update this thread again
    Michael
    http://mikegeorgiou.blogspot.com

  • Oracle Dataguard Help

    I am trying to setup oracle dataguard(10g) in logical standby mode and i'm getting this error.
    Could anyone please help me with this
    SQL> alter database create logical standby controlfile
    2 AS 'D:\oradata\PRIMARYDB\STANDYCTL.ctl';
    alter database create logical standby controlfile
    ERROR at line 1:
    ORA-06550: line 1, column 36:
    PLS-00201: identifier 'DBMS_LOGMNR_D.STORE_IN_REDO_LOGS' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored

    when i am trying at the standby server to get into managed recovery mode i am getting this error. Any ideas why??
    SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE;
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE
    ERROR at line 1:
    ORA-00283: recovery session canceled due to errors
    ORA-01110: data file 1: 'D:\ORADATA\STANDBY\SYSTEM01.DBF'
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: 'D:\ORADATA\STANDBY\SYSTEM01.DBF'
    The trace file doesn't mention much about the error except:
    The process cannot access the file because it is being used by another process.
    Message was edited by:
    user636794

  • Current archive log got deleted, how to recover using previous archive log?

    Hi
    My current log sequence #819 and it is got deleted and no choice to get it back and I have previous archived logs with sequences #814 to 818.
    When I starting my database it is showing that use 'MUST USE RESETLOGS OR NORESETLOGS option for database open then I used the command
    SQL> ALTER DATABASE OPEN RESETLOGS;
    ALTER DATABASE OPEN RESETLOGS
    ERROR at line 1:
    ORA-01113: file 1 needs media recovery
    ORA-01110: data file 1: 'E:\APP\ADMINISTRATOR\ORADATA\ORCL\SYSTEM01.DBF'
    SQL> alter database recover;
    alter database recover
    ERROR at line 1:
    ORA-00283: recovery session canceled due to errors
    ORA-01610: recovery using the BACKUP CONTROLFILE option must be done
    SQL> alter database recover using backup controlfile;
    alter database recover using backup controlfile
    ERROR at line 1:
    ORA-00279: change 8433746 generated at 01/15/2013 19:51:59 needed for thread 1
    ORA-00289: suggestion :
    E:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2013_01_16\O1_MF_1_819_
    %U_.ARC
    ORA-00280: change 8433746 for thread 1 is in sequence #819
    now I don't have the archive log with sequence 819, I have recover from 818. please tell me how to do it?

    You probably should post to the correct forum too: Recovery Manager (RMAN)
    cheers

  • To open the database which is in recovery mode

    Hi Folks
    Could some one help me in opening a database which is in the recovery mode .
    I applied a wrong archive log and come out of it
    now when i try to apply the correct archive log it says its in recovery
    could some suggest me in solving this problem. alter database recover until cancel using backup controlfile
    2 ;
    alter database recover until cancel using backup controlfile
    ERROR at line 1:
    ORA-00275: media recovery has already been started
    cheers
    alter database recover until cancel using backup controlfile

    Oracle doesn't allow you to "apply a wrong archive log".
    What commands did you execute to "apply" the archive log ? What messages did Oracle return ?
    You can either
    a. SHUTDOWN
    or
    b. ALTER DATABASE RECOVER CANCEL
    to stop it from recovering
    Then, (if you want to restart "recoveyr mode") issue
    a. STARTUP MOUNT
    b. ALTER DATABASE RECOVER UNTIL CANCEL USING BACKUP CONTROLFILE
    I presume that this is not a "Managed Standby" database but a manually scripted database ?
    Hemant K Chitale
    http://hemantoracledba.blogspot.com
    Edited by: Hemant K Chitale on Aug 19, 2010 11:10 AM

  • Opening the link in cluster DB Administration tab page failed

    Hi Experts,
    I'm a SC from North China.
    Now I'm setting up a Grid Control PoC environment for a customer.
    The installation and configuration have been finished successfully.
    But when we tried to show DB administration function some issues happened.
    The issue is that we can not open any links in Administration tab of a DB instance which belongs to a 2 nodes RAC.
    We will get an error just like "Error:Java.sql.SQLException:Closed Connection" in the page.
    For example, Click "Tablespaces" link.
    It is so strange that we can open those links from the Administration tab page in the cluster DB page.
    It needs about half minute to open those links.
    So if someone knows about this issue please tell me how we can troubleshoot this issue.
    Thank you in advance.
    Envirnonment:
    OMS server: Windows2003, OMS 10.2.0.4
    Agent:AIX 5.3, Agent 10.2.0.4, 2 nodes 10g RAC.
    The customer is doing some other DB testing on the node2. Some time the node2 is very slow.
    emoms.log example:
    2009-04-20 09:51:49,828 [EMUI_09_51_49_/console/database/storage/controlfile] ERROR adm.misc logException.3615 - oracle.sysman.emSDK.admObj.AdminObjectException: Closed Connection
    2009-04-21 11:00:02,140 [EMUI_11_00_02_/console/database/instance/waitDetails] ERROR perf.waits setEMConnection.119 - java.sql.SQLException: Closed Connection
    Edited by: user610819 on 2009-4-21 下午11:36

    Hi there, I'm wondering if you've found a resolution. I've found a similar error with a non-RAC database being monitored by a 10.2.0.5 OMS/Grid Control on Windows 2003 Enterprise SP2. From the Storage --> Control Files --> click "Backup to Trace" and the following error pops up immediately:
    "Error
    Failed backup control file object: Closed Connection"
    And then on the OMS in the emoms.trc:
    09-10-29 16:07:44,033 [EMUI_16_07_44_/console/database/storage/controlfile] ERROR adm.misc logException.3664 - oracle.sysman.emSDK.admObj.AdminObjectException: Closed Connection
         at oracle.sysman.emo.adm.storage.controlfile.DBControlfileInitializer.initializeGeneral(DBControlfileInitializer.java:207)
         at oracle.sysman.emo.adm.storage.controlfile.DBControlfileInitializer.initialize(DBControlfileInitializer.java:114)
         at oracle.sysman.emo.adm.DBObject.initialize(DBObject.java:177)
         at oracle.sysman.db.adm.stg.ControlfileController.getControlfileBean(ControlfileController.java:423)
         at oracle.sysman.db.adm.stg.ControlfileController.getBean(ControlfileController.java:282)
         at oracle.sysman.db.adm.DBController.validateFileNameState(DBController.java:3493)
         at oracle.sysman.db.adm.DBController.handleEvent(DBController.java:3291)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:578)
         at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:247)
         at oracle.sysman.db.adm.DBController.handleRequest(DBController.java:3008)
         at oracle.sysman.db.adm.DBControllerResolver.handleRequest(DBControllerResolver.java:114)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:777)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:328)
         at oracle.sysman.eml.app.Console.doGet(Console.java:304)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:265)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:369)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:670)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:341)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:816)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:231)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:136)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    Edited by: shadowriderhope on Oct 29, 2009 4:15 PM

  • Got error while recover controlfile with rman

    Dear all,
    My controlfile and some datafiles were crash and i tried to recover their with rman as the following step:
    1. startup nomount;
    2. restore controlfile from autobackup;
    3. alter database mount;
    4. restore database;
    5.SELECT archivelog_change#-1 FROM v$database;
    ARCHIVELOG_CHANGE#-1
    1301671
    6.run {
    set until scn 1301671;
    recover database;
    executing command: SET until clause
    Starting recover at 01 พ.ย. 2006
    using channel ORA_DISK_1
    starting media recovery
    media recovery failed
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 11/01/2006 15:38:01
    ORA-00283: recovery session canceled due to errors
    RMAN-11003: failure during parse/execution of SQL statement: alter database reco
    ver if needed
    start until change 1301671 using backup controlfile
    ORA-00283: recovery session canceled due to errors
    ORA-01190: controlfile or data file 1 is from before the last RESETLOGS
    ORA-01110: data file 1: 'C:\ORACLE\ORADATA\DB01\SYSTEM01.DBF'
    What happend? Please give me some advise.
    Thaks for advance !
    Chara

    After every resetlogs you have to take fresh backup.
    It seems you have opened your database in resetlogs and your backup is prior to this resetlogs.So the controlfile is showing inconsistance with the other datafiles.

  • RAC Create ORA-00206: error in writing (block 3, # blocks 1) of controlfile

    Why i am getting this error durint RAC DB Creation using dbca -datafileDestination /var/opt/oracle/oradata/orcl
    I cheek the directory and i am seeing 3 control files created in it. Out put of my alert.log file
    Any idea?
    =================================================
    Starting ORACLE instance (normal)
    Sun Apr 11 12:07:59 2004
    Global Enqueue Service Resources = 64, pool = 1
    Sun Apr 11 12:07:59 2004
    Global Enqueue Service Enqueues = 128
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    GES IPC: Receivers 1 Senders 1
    GES IPC: Buffers Receive 1000 Send 530 Reserve 300
    GES IPC: Msg Size Regular 396 Batch 2048
    SCN scheme 2
    Using log_archive_dest parameter default value
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 9.2.0.4.0.
    System parameters with non-default values:
    processes = 150
    timed_statistics = TRUE
    shared_pool_size = 150994944
    large_pool_size = 33554432
    java_pool_size = 16777216
    control_files = /var/opt/oracle/oradata/orcl/control01.ctl, /var/opt/oracle/oradata/orcl/control02.ctl, /var/opt/oracle/oradata/orcl/control03.ctl
    db_block_size = 8192
    db_cache_size = 50331648
    compatible = 9.2.0.0.0
    db_file_multiblock_read_count= 16
    cluster_database_instances= 1
    thread = 1
    fast_start_mttr_target = 300
    instance_number = 1
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    undo_retention = 10800
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    instance_name = orcl
    local_listener = LISTENER_ORCL1
    remote_listener = LISTENERS_ORCL
    hash_join_enabled = TRUE
    background_dump_dest = /ora01/oracle/admin/orcl/bdump
    user_dump_dest = /ora01/oracle/admin/orcl/udump
    core_dump_dest = /ora01/oracle/admin/orcl/cdump
    sort_area_size = 524288
    db_name = orcl
    open_cursors = 300
    star_transformation_enabled= FALSE
    query_rewrite_enabled = FALSE
    pga_aggregate_target = 60817408
    Sun Apr 11 12:07:59 2004
    cluster interconnect IPC version:Oracle UDP/IP
    IPC Vendor 1 proto 2 Version 1.0
    PMON started with pid=2
    DIAG started with pid=3
    LMON started with pid=4
    LMD0 started with pid=5
    DBW0 started with pid=6
    LGWR started with pid=7
    CKPT started with pid=8
    SMON started with pid=9
    RECO started with pid=10
    Sun Apr 11 12:08:02 2004
    CREATE DATABASE orcl
    MAXINSTANCES 32
    MAXLOGHISTORY 0
    MAXLOGFILES 192
    MAXLOGMEMBERS 3
    MAXDATAFILES 1024
    DATAFILE '/var/opt/oracle/oradata/orcl/orcl/system01.dbf' SIZE 250M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    EXTENT MANAGEMENT LOCAL
    DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE '/var/opt/oracle/oradata/orcl/orcl/temp01.dbf' SIZE 40M REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED
    UNDO TABLESPACE "UNDOTBS1" DATAFILE '/var/opt/oracle/oradata/orcl/orcl/undotbs01.dbf' SIZE 20M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    CHARACTER SET WE8ISO8859P1
    NATIONAL CHARACTER SET AL16UTF16
    LOGFILE GROUP 1 ('/var/opt/oracle/oradata/orcl/orcl/redo01.log') SIZE 5M REUSE,
    GROUP 2 ('/var/opt/oracle/oradata/orcl/orcl/redo02.log') SIZE 5M REUSE
    Sun Apr 11 12:08:02 2004
    lmon registered with NM - instance id 1 (internal mem no 0)
    Sun Apr 11 12:08:03 2004
    Reconfiguration started
    List of nodes: 0,
    Global Resource Directory frozen
    one node partition
    Communication channels reestablished
    Master broadcasted resource hash value bitmaps
    Non-local Process blocks cleaned out
    Resources and enqueues cleaned out
    Resources remastered 0
    set master node info
    Submitted all remote-enqueue requests
    Update rdomain variables
    Dwn-cvts replayed, VALBLKs dubious
    All grantable enqueues granted
    0 GCS shadows traversed, 0 replayed, 0 unopened
    Submitted all GCS remote-cache requests
    Sun Apr 11 12:08:03 2004
    Reconfiguration complete
    Post SMON to start 1st pass IR
    Sun Apr 11 12:08:24 2004
    Database mounted in Exclusive Mode.
    Sun Apr 11 12:08:35 2004
    Successful mount of redo thread 1, with mount id 1051001763.
    Assigning activation ID 1051001763 (0x3ea503a3)
    Thread 1 opened at log sequence 1
    Current log# 1 seq# 1 mem# 0: /var/opt/oracle/oradata/orcl/orcl/redo01.log
    Successful open of redo thread 1.
    Sun Apr 11 12:08:38 2004
    SMON: enabling cache recovery
    Sun Apr 11 12:08:38 2004
    WARNING: Default passwords for SYS and SYSTEM will be used.
    Please change the passwords.
    Sun Apr 11 12:08:38 2004
    create tablespace SYSTEM datafile '/var/opt/oracle/oradata/orcl/orcl/system01.dbf' SIZE 250M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    EXTENT MANAGEMENT LOCAL online
    Sun Apr 11 12:10:08 2004
    Errors in file /ora01/oracle/admin/orcl/bdump/orcl1_ckpt_16649.trc:
    ORA-00206: error in writing (block 3, # blocks 1) of controlfile
    ORA-00202: controlfile: '/var/opt/oracle/oradata/orcl/control03.ctl'
    ORA-27072: skgfdisp: I/O error
    Linux Error: 5: Input/output error
    Additional information: 2
    ORA-00206: error in writing (block 3, # blocks 1) of controlfile
    ORA-00202: controlfile: '/var/opt/oracle/oradata/orcl/control01.ctl'
    ORA-27072: skgfdisp: I/O error
    Linux Error: 5: Input/output error
    Additional information: 2
    Sun Apr 11 12:10:08 2004
    Errors in file /ora01/oracle/admin/orcl/bdump/orcl1_ckpt_16649.trc:
    ORA-00221: error on write to controlfile
    ORA-00206: error in writing (block 3, # blocks 1) of controlfile
    ORA-00202: controlfile: '/var/opt/oracle/oradata/orcl/control03.ctl'
    ORA-27072: skgfdisp: I/O error
    Linux Error: 5: Input/output error
    Additional information: 2
    ORA-00206: error in writing (block 3, # blocks 1) of controlfile
    ORA-00202: controlfile: '/var/opt/oracle/oradata/orcl/control01.ctl'
    ORA-27072: skgfdisp: I/O error
    Linux Error: 5: Input/output error
    Additional information: 2
    Sun Apr 11 12:10:08 2004
    CKPT: terminating instance due to error 221
    Sun Apr 11 12:10:09 2004
    System state dump is made for local instance
    Sun Apr 11 12:10:09 2004
    Trace dumping is performing id=[cdmp_20040411121009]
    Sun Apr 11 12:10:13 2004
    Instance terminated by CKPT, pid = 16649
    =================================================

    dear karan & all
    i have copied "control file" from another location but now it generate an error
    SQL> startup
    ORACLE instance started.
    Total System Global Area  557842432 bytes
    Fixed Size                  1250140 bytes
    Variable Size             289410212 bytes
    Database Buffers          264241152 bytes
    Redo Buffers                2940928 bytes
    ORA-00211: control file does not match previous control files
    ORA-00202: control file: 'F:\ORACLE\IDS\SAPDATA1\CNTRL\CNTRLIDS.DBF'
    SQL>
    now tell me what can i do
    regard

  • Error in making backup of current controlfile, rman

    Hi All,
    i am hitting by a strange error, i tried metalink and google but did't get any satisfactory answer yet, i would like to discuss it here...
    we have an ORACLE 9iR2 two nodes RAC on solaris 9 SPARC, with a DR site dataguard 9i server...we also have a separate rman catalog server...initially everything was working fine but with the time the size of databases has been raised...now it has been observed that off n on we get following error when we take RMAN based backup:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03015: error occurred in stored script exec_bkp_full
    RMAN-03015: error occurred in stored script caf_db
    RMAN-03002: failure of backup command at 01/21/2009 10:28:04
    RMAN-06004: ORACLE error from recovery catalog database: ORA-03114: not connected to ORACLE
    RMAN-06097: text of failing SQL statement: declare first boolean ; conf# number ; begin if ( :first > 0 ) then fi
    RMAN-06099: error occurred in source file: krmk.pc, line: 27998
    our backup script is:
    printing stored script: backup_db
    allocate channel canal01 type disk ;
    sql 'alter database backup controlfile to trace';
    sql 'alter system archive log current';
    backup filesperset 4 format "path-to-directory/db_%U.bkp" ( database );
    backup format "path-to-directory/stdby_%U.cf" current controlfile for standby keep forever nologs;
    backup format "path-to-directory/arch_%U.bkp" archivelog all;
    release channel canal01;
    it has been noticed that when we remove "backup format "path-to-directory/stdby_%U.cf" current controlfile for standby keep forever nologs;" from backup script the backup runs without any problem...but when we have added this line, it gives above mentioned error.
    PS: the same script runs fine with small size databases...we are getting such problem only with much huge size databases.
    TIA

    Hi,
    Fareedh wrote:
    1. But has this resolved your backup error?Yeah, amazingly this time Hot backup worked !
    2. Try not to configure it, instead have the statement inside the run script.what is the difference in both types?
    >
    eg:-
    run
    allocate channel ch1 type Disk maxpiecesize=2500M;
    backup
    filesperset 50
    format '<Your directory>'
    database include current controlfile;
    release channel ch1;

  • RMAN error when restoring controlfile from tape

    Hi,
    We have a Production database with instance name PROD.
    We use Symantec Netbackup software to backup this database to tape library.
    We want to test some recovery scenarios on a test server. So we want to restore the production backups from Tape to this test server.
    We did the following:
    Cloned the ORACLE Home to the Test Server.
    Changed the db_name parameter to PROD and also set ORACLE_SID to PROD.
    then we connected to RMAN and ran the following command to restore the control files:
    RMAN> run {
    set dbid 4155532403
    set controlfile autobackup format for device type 'sbt_type' to '%F';
    set until time "to_date('16/12/2012:10:13:37','dd/mm/yyyy:hh24:mi:ss')";
    allocate channel t1 device type 'sbt_tape';
    SEND 'NB_ORA_SERV=riysvbkp-001,NB_ORA_CLIENT=lh-erp';
    restore controlfile to '/testerp/dbexec/tmp/cf1.ctl' from autobackup;
    executing command: SET DBID
    database name is "PROD" and DBID is 4155532403
    executing command: SET CONTROLFILE AUTOBACKUP FORMAT
    executing command: SET until clause
    allocated channel: t1
    channel t1: SID=171 device type=SBT_TAPE
    channel t1: Veritas NetBackup for Oracle - Release 7.1 (2011082510)
    sent command to channel: t1
    Starting restore at 17-DEC-12
    channel t1: looking for AUTOBACKUP on day: 20121216
    channel t1: AUTOBACKUP found: c-4155532403-20121216-01
    channel t1: restoring control file from AUTOBACKUP c-4155532403-20121216-01
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 12/17/2012 08:34:41
    ORA-19870: error while restoring backup piece c-4155532403-20121216-01
    ORA-19507: failed to retrieve sequential file, handle="c-4155532403-20121216-01", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
    Failed to process backup file <c-4155532403-20121216-01>
    Here you can see that AUTOBACKUP is found but RMAN is unable to process the backup piece.
    I am not able to see any errors in the log files. Please advise.
    Thanks,
    Muneer.

    Thanks.
    The earlier error is gone and now I am getting the following error:
    channel t1: looking for AUTOBACKUP on day: 20121216
    channel t1: AUTOBACKUP found: c-4155532403-20121216-01
    channel t1: restoring control file from AUTOBACKUP c-4155532403-20121216-01
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 12/17/2012 14:34:25
    ORA-19870: error while restoring backup piece c-4155532403-20121216-01
    ORA-19507: failed to retrieve sequential file, handle="c-4155532403-20121216-01", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
    Backup file <c-4155532403-20121216-01> not found in NetBackup catalog

  • Error in identifying controlfile

    when I startup the svrmgrl, it says
    'error in identfying controlfile',
    what shall I do?
    how to setup the controlfile ?

    when I startup the svrmgrl, it says
    'error in identfying controlfile',
    what shall I do?
    how to setup the controlfile ?

Maybe you are looking for

  • How can I get connection between VC and back end ABAP system

    Hi, I'm developing the kits in the VC platform, and I need to access the back end system designed by ABAP. For example, the system provides some public functions(not web services), and I hope when I click the "search" button, the VC front can call th

  • Zen micro, space is

    Hi I have a little problem with my Zen micro. Today i would put some music on my Zen, but it woulden't, because it told me that there wasn't more space, and i knew there was. There was about 4 gb space left, and then i tried to change the setting, so

  • Value based hierarchies and Period dimension should only contain  2  monthl

    Hi, Can anyone tell me what is value based hierarchies. And also can anyone let me know to filter the records in AWm because in Period dimension should only contain 2 monthly values (Oct. 2008 ( 200810) and Sep. 2008 ( 200809)) it is urgent. Thanks v

  • How do I connect my iPad to my iPhone to access the internet

    How do I connect my iPad retina display to my iPhone 4S to access the internet

  • HT4009 In-app purchase with gift card balance

    I have an iTunes gift card balance on my iTunes account.  When I attempt to make an in-app purchase, it does not process at all and instead directs me to view iTunes Store Support to complete this transaction.  Can anybody help with this issue?