Solved

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

Posted on 2007-11-19
2
1,153 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
2 Comments
 
LVL 8

Accepted Solution

by:
LindaC earned 250 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need help with Oracle syntax 4 56
Oracle Database creation fails 5 49
su - oracle could not open session 6 47
MULTIPLE DATE QUERY 12 24
Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

948 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now