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
415 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
sql for Oracle views 8 49
Migrate Oracle Database from ASM to Non-ASM on a Windows server. 1 34
Oracle Next Available Number 2 32
SQL Developer 6 36
Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
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 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 video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

863 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

28 Experts available now in Live!

Get 1:1 Help Now