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@(protected) [mailto:oracle-l-bounce@(protected)] On Behalf Of Onkar N Tiwary Sent: Tuesday, September 20, 2005 7:55 AM To: oracle-l@(protected) 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 :
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.
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>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.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>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.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>So all of your data is not gone – just the stuff in this file/tablespace. Everything else has been lost.<o :p></o:p></span></font></p>
<div class=MsoNormal align=center style='text-align:center'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt; font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> oracle-l-bounce@(protected) [mailto:oracle-l-bounce@(protected)] <b><span style='font-weight:bold'>On Behalf Of </span></b><st1:PersonName w:st="on">Onkar N Tiwary</st1:PersonName><br> <b><span style='font-weight:bold'>Sent:</span></b> Tuesday, September 20, 2005 7:55 AM<br> <b><span style='font-weight:bold'>To:</span></b> oracle-l@(protected)<br> <b><span style='font-weight:bold'>Subject:</span></b> Database recovery problem </span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'>hi all,<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'>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 : <o:p></o:p></span></font></p>
</div>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><br> SQL> recover datafile 'D:\DB\ORADATA\BODEV\NMSANDBOX_DATA.ORA';<br> ORA-00279 (See ORA-00279.ora-code.com): change 38062424 generated at 05/13/2005 00:52:05 needed for thread 1 <br> ORA-00289 (See ORA-00289.ora-code.com): suggestion : F:\ORACLE\ORA92\RDBMS\ARC00397.001<br> ORA-00280 (See ORA-00280.ora-code.com): change 38062424 for thread 1 is in sequence #397<o:p></o:p></span>< /font></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><br> Specify log: {<RET>=suggested | filename | AUTO | CANCEL}<o:p></o:p>< /span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'>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 <st1:City w:st="on"><st1:place w:st="on">ur</st1:place>< /st1:City> experience so that I can perform this.<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'>TIA<o:p></o:p></span></font></p>