?
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
?
995 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
3 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 23

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.
Suggested Courses

839 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