Wrong incarnation of this file - wrong creation SCN

We currently have a media recovery problem, and the problem seems not to get resolved.
System is Solaris 10 on a 64bits Sparc with 10.2.4 Oracle database.
Problem:
Can't recover from backup and archivelog fiiles.
We ran "alter database recover" and we got database altered and we open the database. But when query datafile table, the datafile (datafile 14) was still in recovered mode - I don't know how that happed.
Next, drop tablespace, inlucuding contents and added a new tablespace and the database opened again without error. But this time we still need the data from the old datafile.
We tried to add the old datafile to the tablespace, then we got "Wrong incarnation of this file - wrong creation SCN".
Where do we go from here?

Hemant K Chitale wrote:
drop tablespace, inlucuding contents and added a new tablespace That was absolutely the wrong thing to do.
Did you check to see if that datafile had been OFFLINE ? You could have attempted a RECOVER DATAFILE n and then ALTER DATABASE DATAFILE n ONLINE;Yes the datafile was offline
Given the situation you are in, you cannot add that tablespace back into the database.
So where do we start from here?
Your problem statement and the line "We ran "alter database recover"" aren't clear enough. Did you restore the database ? Or did you restore only a datafile ? OR did you not have to restore anything but just did a RECOVER DATABASE ?
This database does not have RMAN backup, ( the backup system is copy datafile to another folder) but we did a recover and the database recovered - as I said, we got "database alter" after we ran the recover command.
>
(if you can restore the database again and re-attempt recovery / online of that datafile, that would be one path to take --- but before you do so, please take another full {preferably COLD} backup of the database as it currently is !)
Yes, we back it up lastnight.

Similar Messages

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

  • I operate a windows 8,  62 bit computer.  I have ordered and downloaded the following product for AU$129 Adobe Photoshop Elements 13 (Windows,English) on the understanding that it would convert PD files to word.  It is not doing so. Is this a wrong order?

    I operate a windows 8,  62 bit computer.  I have ordered and downloaded the following product for AU$129 Adobe Photoshop Elements 13 (Windows,English) on the understanding that it would convert PD files to word.  It is not doing so. Is this a wrong order?

    if you're trying to convert pdf files to word files, you want acrobat pro or acrobat standard, Buying guide | Adobe Acrobat XI Standard
    http://helpx.adobe.com/x-productkb/policy-pricing/return-cancel-or-change-order.html
    http://helpx.adobe.com/x-productkb/global/phone-support-orders.html

  • Can't Open Numbers file, wrong format

    Hello I have Numbers version 3.2
    I have a friend who has created 3 numbers spreadsheets.  I can not open them on my mac.
    On my Mac with mavericks , I get error can't open file. I checked console and got detailed message "8/13/14 8:04:54.759 PM Numbers[284]: *** Assertion failure #2: -[TSAImportController prepareForImportDisplayingProgress:] TSAImportController.m:292 Could not create importer for document at /Users/bill/Desktop/2014 Conference Spreadsheet.numbers."
    8/13/14 8:57:17.690 PM Numbers[284]: *** Assertion failure #3: -[TSAImportController prepareForImportDisplayingProgress:] TSAImportController.m:292 Could not create importer for document at /Users/bill/Library/Containers/com.apple.mail/Data/Library/Mail Downloads/A527BF91-859C-4348-881E-9F90D8F5EFBC/2013 990.numbers.
    What does this indicate, they can take the same file and make it an Xcel and I can open.
    I tried to move the file over to the cloud and open , and I get error 'invalid file format"  what is going on here ?

    Update #3 .. I tried to install an old version of numbers.  Interesting enough files still error, but they error with the error reported on iCloud.  "could not open file, wrong format" console : 8/14/14 8:23:49.220 PM Numbers[425]: Error opening document in -[SFAppApplicationDelegate(Private) doCoordinatedReadWorkForURL:]. No NSError provided

  • Dreamweaver CS6 displaying the wrong icon for certain file types

    I recently upgraded to the Maverick and I noticed that my Dreamweaver changed some of my files' icon to Acrobat Reader symbol. This does not represent the actual file type. My most important files, such as mp3 and m4v, are not displaying correctly. My concern is that it is affecting my website. How do I change the icons back to the original file type icons? Much needed help! Thanks!

    What do local file associations have to do with your website? You have a severely wrong understanding of this stuff. Anyway, file associations on Mac can be changed using a right-click and Get Info and then choosing a new default program for the file type.
    Mylenium

  • HT1498 I just bought Apple TV 2 weeks ago. I have a brand new Samsung LED TV. Everything works fine.  I rented a movie from iTunes and it took 4 hours to download. My friend said this is wrong, his movies play instantly, so what's wrong?

    I just bought Apple TV 2 weeks ago. I have a brand new Samsung LED TV. Everything works fine.  I rented a movie from iTunes and it took 4 hours to download. My friend said this is wrong, his movies play instantly, so what's wrong?

    I just bought Apple TV 2 weeks ago. I have a brand new Samsung LED TV. Everything works fine.  I rented a movie from iTunes and it took 4 hours to download. My friend said this is wrong, his movies play instantly, so what's wrong?

  • HT1694 I'm having a lot of problems with the hotmail account, regularly is indicating an error in the server, that I have to introduce the password again that late that this is wrong. I have changed the password making this shorter but it does not work.

    I'm having a lot of problems with the hotmail account, regularly is indicating an error in the server, that I have to introduce the password again that late that this is wrong. I have changed the password making this shorter but it does not work.

    bump? Is bumping allowed? Lol.
    I just really need some help here.

  • SOMETHING IS WRONG, I SEND A FILE TO TRASH AND DOES NOT APPEAR IN TRASH, THE TRASH IS EMPTY

    SOMETHING IS WRONG, I SEND A FILE TO TRASH AND DOES NOT APPEAR IN TRASH, THE TRASH IS EMPTY

    I had the same problem. It was solved see the discussion at  https://discussions.apple.com/message/19433909#19433909

  • Im trying to buy a song from a album but i get error that it is no longer available. The other songs is working and its a new album. I typer in the wrong password on this song. Could that be the issue?

    Im trying to buy a song from a album but i get error that it is no longer available. The other songs is working and its a new album. I typer in the wrong password on this song. Could that be the issue?

    Never rely upon the iTunes Store to always have your purchases.  Always keep a copy of everything safe on a backup drive at home.
    "After you download your purchases, back up your iTunes library. Previous purchases may be unavailable if they've been refunded or aren't on the iTunes Store." - http://support.apple.com/kb/ht2519

  • My old iMac and OS 10.4 will not accept the New iTunes Version 10 application and I can't get past the screen offering to download iTunes 10.  This is wrong and I need help getting past this situation. Help!

    My old iMac and OS 10.4 will not accept the New iTunes Version 10 application and I can't get past the screen offering to download iTunes 10.  This is wrong and I need help getting past this situation. Help!

    Sure, you can get around it if you don't need the newest version of iTunes. I still use version 7.5 because the newer versions didn't strike me as offering anything I needed.
    If you do need a version 10-something then you will have to upgrade your operating system to Leopard (fi your computer will support it) at least.  If you need 10.5 for some reason then there's no getting around it, you will have to buy a new computer.

  • HT1146 Just started using Apple mail.  Trying to set up email folders with Company/Company P.O. and it won't work.  Went to Edit and added special characters and it still won't work.  What am I doing wrong or can this not be done.

    Just started using apple mail.  Trying to set up email folders with example:  Company/Company P.O.  It won't let me do it.  It will not allow / or . .  What am I doing wrong or can this not be done.  I tried to use the Edit menu and adding the special characters, but it still won't work.  Please advise.  mmather

  • Tecra A3: BIOS update 'rom file wrong szie' [sic]

    If I try to update my bios, I get an error message 'rom file wrong szie' and yes that is the way it is spelt.
    Also when I try to update the software for my multidrive - which Toshiba sent me the link for it - says: 'drive not found'. What's going on??

    Hello
    Tecra A3 is pretty new unit and it will be interesting to know why you want to make BIOS update. Is there any problem with it?
    Which BIOS update doesnt run, windows or traditional one? If you have no serious problem, dont do it at all.
    The issue with your multidrive is a little bit confused for me. Which software you should install?

  • ITunes store says I have 5 computers listed, this is wrong. How do I fix this?

    iTunes says I have 5 computers listed, this is wrong. It is only this computer. Every time this computer hw was fixed, it added another computer. In a day or so, I'll have a new computer and will have a problem cause iTunes store says I have 5 computers already. AAAaaaacccckkk! How do I get this fixed?

    Hi,
    If you only have One Computer you can easily Deauthorise the Mysterious Five and just Authorise the one you have...
    See Here:
    http://support.apple.com/kb/HT1420
    Cheers,

  • There is a problem in updating iphoto and iMovie, read a response here from a certain Dahveed if I'm not wrong to try this, however I'm a first time mac user, how do you delete this ... /Mac HD/Library/Caches/com.apple.appstore/adoption.plist

    There is a problem in updating iphoto and iMovie, read a response here from a certain Dahveed if I'm not wrong to try this, however I'm a first time mac user, how do you delete this ... /Mac HD/Library/Caches/com.apple.appstore/adoption.plist

    It says 'To update this application, sign in to the account you used to purchase it.'
    However I only have one account. I've tried to sign out and in several times. But it doesn't work. I do remember changing my password recently. Secondly I'd like to add that I got this macbook air 3 days ago. I'm a first time mac user. It had three updates initially. Mountain lion 10.8.2, iphoto and the imovie. I updated the mountain lion, thinking I'd get the iphoto and imovie done later. However now this problem has come up. Thanks for responding. Hoping to hear from you soon again regarding this.

  • Sorry for posting a wrong question Loading multiple files!!

    Sorry for posting a wrong question Loading multiple files!!
    As per my understanding 
    Sorry for posting a wrong question Loading multiple files!!
    As per my understanding only a standard Dat file can be compared with one single dat file.Because Eacg dat file will be containing its own values. So multiple files cannot be compared.
    Am assuming dat files containing time(s) and acceleration values(g). G value for each file differs.
    Thanku!!
    Solved!
    Go to Solution.

    Hi Rash.patel,
    I'm still not sure I follow you.  When you say "Dat" file, do you mean the DIAdem 8.x standard file with the *.dat header and usuall a *.r64 binary file or two that it references, or do you mean some other specific data file with the extension *.dat or do you just mean a generic data file?
    DIAdem can certainly load multiple files into the Data Portal at the same time, so you must be referring to either a limitation of the "*.Dat" file you're talking about or correcting yourself that all the data you want to compare turns out to be in one "Dat" file.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

Maybe you are looking for