If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > ORA-01157: cannot identify/lock data file 1 - see DBWR trace file

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old
Registered User
 
Join Date: Feb 2012
Posts: 1
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file

Hi Guys, I am having a problem as follows:

I got the following error from the trace file:

Code:
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: '/data/oradata/pfs/o1_mf_system_12qcksmh_.dbf'
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3
ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
ORA-01110: data file 2: '/data/oradata/pfs/o1_mf_undo_tbs_12qclj2m_.dbf'
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Is it possible to recover these data files ? I have checked the disk and confirmed that these files are missing from the database..
Reply With Quote
  #2 (permalink)  
Old
Registered User
 
Join Date: Mar 2010
Location: Vienna, Austria
Posts: 149
Hi,

should not be a problem, just use RMAN to restore and recover the latest backup:

$ rman target /
RMAN> restore database;
RMAN> recover database;
RMAN> alter database open resetlogs;


that's it.

Much more worrying is the fact that your datafiles are "disappearing" ...
__________________
"There is always an easy solution to every problem - neat, plausible, and wrong."
-- H.L. Mencken
Reply With Quote
  #3 (permalink)  
Old
Lead Application Develope
 
Join Date: Jun 2004
Location: Liverpool, NY USA
Posts: 2,393
That's assuming that you have been running in archive log mode.
__________________
Bill
You do not need a parachute to skydive. You only need a parachute to skydive twice.
Reply With Quote
  #4 (permalink)  
Old
Registered User
 
Join Date: Mar 2010
Location: Vienna, Austria
Posts: 149
beilstwh,

if not, it wasn't important anyway ...
__________________
"There is always an easy solution to every problem - neat, plausible, and wrong."
-- H.L. Mencken
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On