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
518 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
4 Comments
 
LVL 34

Accepted Solution

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

Assisted Solution

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

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
selective queries 7 38
Use of Exception to end a Loop 3 45
ODBC in excel 2016 in Windows 10 via VBA 16 143
setting local variables in a cursor block 3 20
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
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, 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.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.

829 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