?
Solved

i have this error when trying to open oracle database :ORA-01110: data file 1: '/oracle/DEV/sapdata1/system_1/system.data1'

Posted on 2015-02-15
4
Medium Priority
?
785 Views
Last Modified: 2016-02-08
SQL> alter database open resetlogs;
alter database open resetlogs
*
ERROR at line 1:
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/oracle/DEV/sapdata1/system_1/system.data1'


SQL> ^CORA-01110: data file 1: '/oracle/DEV/sapdata1/system_1/system.data1
0
Comment
Question by:mibrahim1980
[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
4 Comments
 
LVL 35

Accepted Solution

by:
johnsone earned 1000 total points
ID: 40610755
Self explanatory.  You need to recover the data file until it is consistent with all the other data files.  Usually this requires the recovery of all files as the error message just indicates the first file it finds that is inconsistent.

A reset logs allows  you to stop a recovery and bring the database up in its current state.  It is used in an incomplete recovery.  All the files still need to be consistent with each other.

My guess is that you have restored some sort of hot backup.  At a minimum you need to apply all the archives that were generated during the backup.  At that point the files should be consistent and the resetlogs will work.
0
 
LVL 38

Assisted Solution

by:Geert Gruwez
Geert Gruwez earned 1000 total points
ID: 40613143
you might need the "until cancel". There is an error in the docs somewhere when restoring.

recover database using backup controlfile until cancel;

> cancel

alter database open resetlogs;
0
 
LVL 22

Expert Comment

by:Steve Wales
ID: 41453936
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious sideā€¦
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.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Suggested Courses

752 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