Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Oracle: Rollback Segment Data File is Offline. File needs media recovery

Posted on 2007-11-19
2
Medium Priority
?
1,164 Views
Last Modified: 2013-12-19
SQL> alter database datafile '/oracle01/dbf/dbinst/rbs01.dbf' online;
alter database datafile '/oracle01/dbf/dbinst/rbs01.dbf' online
*
ERROR at line 1:
ORA-01113: file 2 needs media recovery
ORA-01110: data file 2: '/oracle01/dbf/dbinst/rbs01.dbf'

SQL> select name, status from v$datafile;
/oracle01/dbf/dbinst/rbs01.dbf
RECOVER

0
Comment
Question by:villavej
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
LindaC earned 1000 total points
ID: 20315428
Try this:
III. TRYING TO ONLINE A DATAFILE OR TABLESPACE
**********************************************
 
   1. Recover the datafile:
 
           SVRMGRL> RECOVER DATAFILE '<datafile_name>';
 
      If recovering a tablespace, do
 
           SVRMGRL> RECOVER TABLESPACE <tablespace_name>;

      If recovering a database, do
         
           SVRMGRL> RECOVER DATABASE;
 
   2. Confirm each of the archived logs that you are prompted for until you
      receive the message "Media recovery complete".

      If you are prompted for an archived log that does not exist, Oracle probably
      needs one or more of the online logs to proceed with the recovery. Compare
      the sequence number referenced in the ORA-280 message with the sequence
      numbers of your online logs. Then enter the full path name of one of the
      members of the redo group whose sequence number matches the one you are
      being asked for.

   3. Open the database.
         
       SVRMGR> ALTER DATABASE OPEN;
0
 

Author Closing Comment

by:villavej
ID: 31410016
Thanks.  It worked.
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question