RE: Database recovery problem

  • From: "Onkarnath Tiwari" <onkar.tiwari@xxxxxxxxxxx>
  • To: "'Michael McMullen'" <ganstadba@xxxxxxxxxxx>, <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 20 Sep 2005 18:20:27 +0530

SQL> ALTER DATABASE OPEN;
ALTER DATABASE OPEN
*
ERROR at line 1:
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open


SQL> ALTER DATABASE OPEN RESETLOGS;
ALTER DATABASE OPEN RESETLOGS
*
ERROR at line 1:
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: 'F:\ORACLE\ORADATA\BODEV\SYSTEM01.DBF'

This is what I got after putting this file in offline drop mode. Now
what???? By the way in the mean time after the suggestion of one of my
colleage I had issued one command i.e. 
Recover database using backup controlfile until cancel;

Is this command did something wrong???

Thanks & Regards,
 
T.Onkar Nath
Oracle DBA
Extn. : 2269
email : onkar.tiwari@xxxxxxxxxxx

-----Original Message-----
From: Michael McMullen [mailto:ganstadba@xxxxxxxxxxx] 
Sent: Tuesday, September 20, 2005 6:10 PM
To: onkarnath.tiwary@xxxxxxxxx; oracle-l@xxxxxxxxxxxxx
Subject: Re: Database recovery problem

almost correct
startup mount;
alter database datafile 'D:\DB\ORADATA\BODEV\NMSANDBOX_DATA.ORA' offline
drop;
alter database open;
if the database still wants to recover more files you need to drop them
also, if it wants to recover system it's time to learn irish
say
WHALE
OIL
BEEF
HOOKED
faster and faster with an bit of an irish lilt.
back to the problem at hand.
drop tablespace tablespace_of_the_above_datafile;
then reload your data because you were in noarchivelog mode so you must be
able to reload your data.

then take this opportunity to crank up your buffer cache to as big as
possible -- this is a joke, no flames please.

----- Original Message ----- 
From: Mercadante, Thomas F (LABOR)
To: onkarnath.tiwary@xxxxxxxxx ; oracle-l@xxxxxxxxxxxxx
Sent: Tuesday, September 20, 2005 8:26 AM
Subject: RE: Database recovery problem


Onkar,

It is asking for an archive file because the dummy file that you created is
not an Oracle database file.  So it is trying to bring it up to date.  Even
though you are not running in archivelog mode, Oracle still acts the same
way - that is, it is keeping track of what would be the correct archivelog
file even though it did not write them out to disk.

You have one option:

Startup mount;
Alter datafile 'D:\DB\ORADATA\BODEV\NMSANDBOX_DATA.ORA' offline.
Alter database open.

You will be able to export all of the data in the database except what was
stored in this data file.  This will allow you to import it into another
database.

So all of your data is not gone - just the stuff in this file/tablespace.
Everything else has been lost.

Good Luck!

Tom



From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx]
On Behalf Of Onkar N Tiwary
Sent: Tuesday, September 20, 2005 7:55 AM
To: oracle-l@xxxxxxxxxxxxx
Subject: Database recovery problem

hi all,

We have got one oracle 9i rel 2 on windows 2000 running in no-archive log
mode. the problem is one of the dba of the other team has deleted some of
the dbf files while the database was running and tablespace was online.
after deleting the file he re-started the database which while opening throw
error saying that file needs recovery. I was told to do this . I have
created the dbf files also but while recovering the dbfs using RECOVER
DATAFILE ' 'D:\DB\ORADATA\BODEV\NMSANDBOX_DATA.ORA'; command its asking for
the archive files . output is below mentioned :

SQL> recover datafile 'D:\DB\ORADATA\BODEV\NMSANDBOX_DATA.ORA';
ORA-00279: change 38062424 generated at 05/13/2005 00:52:05 needed for
thread 1
ORA-00289: suggestion : F:\ORACLE\ORA92\RDBMS\ARC00397.001
ORA-00280: change 38062424 for thread 1 is in sequence #397

Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
I dont know why its asking for the archive files.??? Btw the team who is
owning the database has not taken any backup. If anyone has got the problem
like this , plz. share ur experience so that I can perform this.

TIA


-- 
Thanks & Regards,
T. Onkar Nath
OneAPPS Enterprise Technology Pvt. Ltd.
       to_onkar@xxxxxxxxx
       onkarnath.tiwary@xxxxxxxxx



--
//www.freelists.org/webpage/oracle-l

Other related posts: