Solved

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

Posted on 2007-11-19
2
1,157 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
Maintaining Oracle Managed Accounts 2 37
Export table into csv file in oracle 10 87
Problem with duplicate records in Oracle query 16 29
Creation date for a PDB 5 21
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Via a live example, show how to take different types of Oracle backups using RMAN.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

777 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