Recovery of datafile which is in RECOVER state in NOARCHIVELOG mode

Hi,
i have following datafile in recover state
12 /oradata/ORADATA/undo_tbs.dbf OFFLINE
I tried to recover but getting following errors....
SQL> recover datafile 12;
ORA-00279: change 29659636 generated at 03/26/2011 00:47:23 needed for thread 1
ORA-00289: suggestion : /u01/app/oracle/product/10.2.0/flash_recovery_area/ORCL/archivelog/2011_04_07/o1_mf_1_4608_%u_.arc
ORA-00280: change 29659636 for thread 1 is in sequence #4608
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00308: cannot open archived log '/u01/app/oracle/product/10.2.0/flash_recovery_area/ORCL/archivelog/2011_04_07/o1_mf_1_4608_%u_.arc'
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3
due to this datafile we r not able to create tables...is there any solution except restoring from backup...Pl helppp

SQL> archive log list
Database log mode No Archive Mode
Automatic archival Disabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 6150
Current log sequence 6153
SQL>
this is the output
Edited by: 850520 on Apr 7, 2011 2:46 AM

Similar Messages

  • [b]drop datafile which is in recover state[/b]

    One of the datafile got into Recover state.
    Our database is not running in Archive mode, so we can't recover it.
    We tried to drop it / change it into offline / online mode, but all failed. It remains in Recover state.
    It gives ORA-01110 error.
    Is there anyway to change the mode of this datafile or drop it.

    SQL> archive log list
    Database log mode No Archive Mode
    Automatic archival Disabled
    Archive destination USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence 6150
    Current log sequence 6153
    SQL>
    this is the output
    Edited by: 850520 on Apr 7, 2011 2:46 AM

  • Taking the datafile offline when the database is in NOARCHIVELOG mode

    My question is when the database is in No Archive log mode i'm not able to take the datafile offline.
    When i tried in my computer i have noticed fallowing.
    case1:
    SYS>alter database datafile 5 offline;
    ERROR at line1;
    ORA-01145:offline immediate disallowed unless media recovery enabled.
    case 2:
    SYS>alter database datafile 5 offline immediate;
    ERROR at line 1;
    ORA-00933:SQL command not properly ended
    case3:
    I have tried the command alter database datafile 6 offline drop; (in NOARCHIVELOG mode) and it is showing the same effect as alter database datafile 6 offline; ( in ARCHIVELOG mode).
    *In the NOARCHIVELOG mode are we really dropping the datafile to take the datafile offline? Will you please tell me the effect of keyword drop.

    JohnWatson wrote:
    You've marked your question answered - was that a mistake?
    The answer is that you cannot directly take a datafile offline in noarchivelog mode. You must take the tablespace offline:
    Hmm, are you certain about that? Perhaps I'm missing something.
    SQL> select file_id, file_name, online_status, status from dba_data_files where tablespace_name = 'USERS';
       FILE_ID FILE_NAME                                          ONLINE_ STATUS
             4 /u01/app/oracle/oradata/TEST/users01.dbf           ONLINE  AVAILABLE
    SQL> select log_mode from v$database;
    LOG_MODE
    NOARCHIVELOG
    SQL> alter database datafile 4 offline drop;
    Database altered.
    SQL> select file_id, file_name, online_status, status from dba_data_files where tablespace_name = 'USERS';
       FILE_ID FILE_NAME                                          ONLINE_ STATUS
             4 /u01/app/oracle/oradata/TEST/users01.dbf           RECOVER AVAILABLE
    SQL>  ALTER SYSTEM FLUSH BUFFER_CACHE;  <-- may not have been necessary
    System altered.
    SQL> select count(*) from scott.emp;
    select count(*) from scott.emp
    ERROR at line 1:
    ORA-00376: file 4 cannot be read at this time
    ORA-01110: data file 4: '/u01/app/oracle/oradata/TEST/users01.dbf'
    SQL> recover datafile 4;
    Media recovery complete.
    SQL> select file_id, file_name, online_status, status from dba_data_files where tablespace_name = 'USERS';
       FILE_ID FILE_NAME                                          ONLINE_ STATUS
             4 /u01/app/oracle/oradata/TEST/users01.dbf           OFFLINE AVAILABLE
    SQL> alter database datafile 4 online;
    Database altered.
    SQL> select file_id, file_name, online_status, status from dba_data_files where tablespace_name = 'USERS';
       FILE_ID FILE_NAME                                          ONLINE_ STATUS
             4 /u01/app/oracle/oradata/TEST/users01.dbf           ONLINE  AVAILABLE
    SQL> select count(*) from scott.emp;
      COUNT(*)
            14
    Also, please see the following link from the manual which discusses altering data file availability in noarchivelog mode.
    Altering Datafile Availability

  • Recover database in NOarchivelog mode :)

    Hi all. How to recover a database wich is in noarchivelog mode? B-)
    Suppose,
    I have 3 redolog groups (with two members in each, the second members are located on another drive ). When first redo log group was 1/2 full I took a full backup. Then there were 2 switches from first to second and from second to third. Now the currnet redolog group - 3 (just started). At this point we faced media failer. How to roll forward changes using backup + online redologs?
    Edited by: Junior Oracle DBA on Oct 16, 2008 1:53 PM

    Restore your database cold backup (excluding redo logs).
    Then issue this command :
    RECOVER DATABASE USING BACKUP CONTROLFILE
    provide the names of the last ACTIVE / CURRENT Redo Logs in the database when Oracle prompts for an ArchiveLog.
    When Oracle has finished recovery to a consistent point in time, it will return to the command prompt without any error.
    Now issue this command :
    ALTER DATABASE OPEN RESETLOGS
    You would have a Complete Recovery.
    This is provided that Oracle had NOT cycled through all the Online Redo Logs since the time when the Cold Backup was taken. (If Oracle had cycled through all the Online Redo Logs, it would have overwrriten the oldest log because it wasn't in ArchiveLog mode).
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Diff btw "recover datafile file#" & "alter database recover datafile file#"

    What is the difference between
    "recover datafile file#"
    "alter database recover datafile file#"
    Thanks
    Naveen

    I don't mean to be rude, but the statement that "There is no difference in both the commands" is facile in the extreme. Sounds like more off-the-cuff instant advice than the considered thoughts of someone who's actually bothered to try both commands out.
    The "alter database recover..." command is a disaster waiting to happen and should never be used by anyone who actually wants to achieve a successful database recovery. It has the effect of suppressing most of the interactive dialogue you get when you submit the shorter "recover..." command, and indeed causes spurious errors to be displayed because the non-interactive recovery process gets it wrong.
    For example, here's me recovering my database using the "alter database" syntax:
    SQL> alter database open;
    alter database open
    ERROR at line 1:
    ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
    ORA-01110: data file 4: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\WIN10\USERS01.DBF'
    SQL> alter database recover datafile 4;
    alter database recover datafile 4
    ERROR at line 1:
    ORA-00279: change 642359 generated at 07/04/2008 09:03:18 needed for thread 1
    ORA-00289: suggestion :
    C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\WIN10\ARCHIVELOG\2008_07_04\O1_MF_1_9_%U_.ARC
    ORA-00280: change 642359 for thread 1 is in sequence #9Note the slightly alarming report of an 'error at line 1'. What's difficult to convey in mere text, however, is that at the end of that output, the thing just sits there, and you've no idea what on Earth is happening on the database. The text tells you it's making a suggestion, but there's no indication of how you accept the suggestion, of what's happening when you do accept it or where anything is up to.
    I've interrupted one of those once (fortunately only in a training room) and lost the entire database as a result (because a half-complete, interrupted recovery is worse than no recovery at all).
    Compare that with the plain "recover..." syntax example:
    SQL> recover datafile 4;
    ORA-00279: change 642359 generated at 07/04/2008 09:03:18 needed for thread 1
    ORA-00289: suggestion :
    C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\WIN10\ARCHIVELOG\2008_07_04\O1_MF_1_9_%U_.ARC
    ORA-00280: change 642359 for thread 1 is in sequence #9
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00279: change 642571 generated at 07/04/2008 09:06:26 needed for thread 1
    ORA-00289: suggestion :
    C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\WIN10\ARCHIVELOG\2008_07_04\O1_MF_1_10_%U_.ARC
    ORA-00280: change 642571 for thread 1 is in sequence #10
    ORA-00278: log file
    'C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\WIN10\ARCHIVELOG\2008_07_04\O1_MF_1_9_46TPVL2G_.ARC' no longer needed for this recovery
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00279: change 642576 generated at 07/04/2008 09:06:32 needed for thread 1
    ORA-00289: suggestion :
    C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\WIN10\ARCHIVELOG\2008_07_04\O1_MF_1_12_%U_.ARC
    ORA-00280: change 642576 for thread 1 is in sequence #12
    ORA-00278: log file
    'C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\WIN10\ARCHIVELOG\2008_07_04\O1_MF_1_11_46TPVRMK_.ARC' no longer needed for this recovery
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    Log applied.
    Media recovery complete.There are no weird error messages reported here. The suggestion is accompanied by a prompt that tells you how to accept it. Every time a new log is required, a new prompt is given. You can cleanly cancel at any time by typing 'cancel'. You are kept informed throughout and are in charge throughout.
    Anyone that uses "alter database" syntax during a recovery is, therefore, either brave or foolhardy. In either case, there is a very profound difference between the two.
    Your parting shot that 'alter database' is a SQL command and 'recover' can be an RMAN command misses the point by a wide mile, too. RMAN can issue pretty much any piece of SQL you like, so long as you wrap it in the SQL command:
    RMAN> sql 'alter database recover datafile 4';
    using target database control file instead of recovery catalog
    sql statement: alter database recover datafile 4
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of sql command on default channel at 07/04/2008 09:23:16
    ORA-00279: change  generated at  needed for thread
    RMAN-11003: failure during parse/execution of SQL statement: alter database recover datafile 4
    ORA-00279: change 642359 generated at 07/04/2008 09:03:18 needed for thread 1
    ORA-00289: suggestion : C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\WIN10\ARCHIVELOG\2008_07_04\O1_MF_1_9_%U_.ARC
    ORA-00280: change 642359 for thread 1 is in sequence #9We don't get much further in RMAN with this dodgy form of the recovery command than we did in SQL*Plus, it's true -but that's just because it's a silly command to use in the first place, wherever you thought to use it. The distinction you seek to draw between 'SQL commands' and 'RMAN commands' is false in this case, in other words.

  • Recover datafile in noarchivelog mode

    hi all
    i faced problem when opening the database that there are datafile needed recovery
    i'm working in noarchivelog mode
    i tried to take this datafile offline but this failed
    what are the exactly procedures to recover this file ?

    i tried to take this datafile offline but this failed Please check your alert log file. Since you are working with noarchivelog mode. You must be having a backup. Do you ?
    what are the exactly procedures to recover this file ?You have not provided enough information but here are hints;
    - What kind of backups you have? Rman or user managed backups?
    Also read;
    http://www.oracle.com/technology/documentation/index.html
    Ex Senior DBA
    Lazy: Those who do not read documentation

  • How to move a DB in a recovering state from one server to another?

    I have a server with many DBs in a "recovering" state (log shipping secondary). There is a hardware failure and the server needs to be recreated.
    How do I keep the DBs so that I'll be able to attach them to the new server?
    I tried to backup the DBs but I get this message:
    Msg 927, Level 14, State 2, Line 2
    Database 'DBName' cannot be opened. It is in the middle of a restore.
    I can't bring fresh backups from the main site as the sites are far from each other and moving the backups will be too expensive.

    I have a server with many DBs in a "recovering" state (log shipping secondary). There is a hardware failure and the server needs to be recreated.
    How do I keep the DBs so that I'll be able to attach them to the new server?
    I can't bring fresh backups from the main site as the sites are far from each other and moving the backups will be too expensive.
    You can run recovery on current log shipping secondary database to bring it online as Suggested by Neha. Now take differential backup from primary and restore it on secondary to recreate logshipping.Diff backup would be less in size and would take less time
    to transfer.
    Since you had hardware failure I guess it would be good option to recreate Logshipping what was extent of hardware failure ? .Because since hardware was corrupt any files residing on it might as well be damaged.Take a full backup of primary database and
    move it to secondary and restore it with standby.Before that please remove database in recovery mode either by dropping it or by first running recovery and then
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers
    My TechNet Wiki Articles

  • Help! -Recovery media and which HDD fits?-

    Recently went to my local Geek Sqaud "best buy" and had it checked out. What my error was (Recovery) 0xc00000f " PC needs to be repaired" geek squad said it was a hardrive issue, thus needing it to be replaced. They told me I needed "HP recovery media" and an HDD. Matter in fact I don't know which "Recovery media" nor which HDD I need for my notebook. If anyone can help please let me know asap on what I can do.
    Update: I've checked the prices for recovery medias, but how about the HDD??
    One more thing if I'm trying to recover the laptop that was running 8.1, do I buy the recovery media for 8.1 ??

    I'm sorry the shipping took so long. However, I just wanted to point out that you can make your own recovery media and are encouraged to do so by the documentation that came with the laptop.
    - Peter

  • How to reverse service order which is in released state

    Hi,
    Please guide me how can we reverse a service order which is in released state.
    Is it possible to reverse a service order with released state?
    Please guide it is very urgent.
    Thanks and Regards
    Edited by: MPVash Vash on Dec 5, 2008 10:04 AM
    Edited by: MPVash Vash on Dec 5, 2008 10:06 AM

    Hi,
    a delivery suspension due to non-payment can just be released via an incoming payment.
    You could also manually do this be setting the end date of the suspension, but I would not advise that. As I currently do not have system to check I'm not sure whether you could use ISM_SALES_ORDER_CHANGE, but you can try via the where-used list of structure JKSI_SUSPEND which needs to be used in this case.
    Tim

  • Transaction/Report to process background work items which r in READY state

    HI,
    Can somebody kindly tell me the transaction/report program to process background work items which are in ready state. SM59 configuration was missing and hence, workflows failed to execute after being started successfully. Now, I want to comeplete these operations.
    Thanks a lot,
    Max

    Hi Max,
    Did you check transaction SWPC? If the workflows are in there you can start them through in a proper way.
    Regards,
    Martin

  • Datafile recover in case of noarchivelog mode

    my database is in noarchivelog mode and there is no backup available and one of my datafile is currupted then how can i recover the datafile??
    thanx in advance

    saugat chatterjee wrote:
    my database is in noarchivelog mode and there is no backup available and one of my datafile is currupted then how can i recover the datafile??
    thanx in advanceWhat ever version. To recover datafile archiving should be enabled. Noarchive norecovery...

  • Can we delete an account which is in provisioning state

    Hi All,
    I am trainee in OIM .........I am trying to delete the user's account from identity console(as 'xelsysadm') which is in provisioning state. when i click on remove accounts it is showing operation successfully completed. But i am getting the account again in my console.........
    Is there any specific process to delete user's accounts.........Please let me know .......
    Regards,
    Nani

    Delete means soft delete and the account will be present with Revoked status.
    till oim11gr1 we didn't have this feature to revoke a account having Provisioning status. But, yes R2 has this feature to revoke a account with Provisioning status.

  • IDM server goes into recovered state

    Hi everybody,
    When I install a second IDM server (on another machine) that shares the same Oracle repository as the first one, I notice that the first server goes from the "active" state to the "recovered" state. This is seen under the Configuration->Servers tab.
    Any ideas why this happens?
    Thanks!

    When you  are looking into? Can you provide more info? What does the process do?
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • My computer has crashed and I have had to restore the factory settings, without backing up my purchases is there anyway which I can recover purchased downloads?

    My computer has crashed and I have had to restore the factory settings, without backing up my purchases is there anyway which I can recover purchased downloads?

    check out Dave Sawyer's post in this thread.

  • How to recover a PDB in noarchivelog mode?

    Hi all,
    Urgent! We have a PDB currently in mount stage after restoring and recovering from backup. Whenever I tried to open it or recover data file, I keep getting this error message:
    Errors in file C:\ORACLE\diag\rdbms\us022348\us022348\trace\us022348_p000_8788.trc:
    ORA-01113: file 9 needs media recovery
    ORA-01110: data file 9: 'D:\ORADATA\12C\US022348\0FB7D663771D443E8DE2229B76E0DCA7\DATAFILE\O1_MF_USERS_B2TVTBL1_.DBF'
    The CDB and PDB both are in noarchivelog modes.
    Which command should I use to bring the database back?
    Thanks!!

    I tried these but no luck.
    RMAN> alter pluggable database PDBNAME open;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of sql statement command at 12/15/2014 14:10:49
    ORA-01113: file 9 needs media recovery
    ORA-01110: data file 9: 'D:\ORADATA\12C\US022348\0FB7D663771D443E8DE2229B76E0DCA7\DATAFILE\O1_MF_USERS_B2TVTBL1_.DBF'
    RMAN> alter pluggable database PDBNAME open resetlogs;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of sql statement command at 12/15/2014 14:11:05
    ORA-39862: RESETLOGS option only valid after a Pluggable Database incomplete recovery

Maybe you are looking for