Monday, August 24, 2009

ORA-01157

ORA-01157: cannot identify/lock data file string - see DBWR trace file

Cause: The background process was either unable to find one of the data files or failed to lock it because the file was already in use. The database will prohibit access to this file but other files will be unaffected. However the first instance to open the database will need to access all online data files. Accompanying error from the operating system describes why the file could not be identified.

Action: Have operating system make file available to database. Then either open the database or do
ALTER SYSTEM CHECK DATAFILES.

Note:
The error happened when creating a tablespace:

create tablespace TBS datafile '/u02/oracle/MYDB/tbs01.dbf' size 50M
extent management local autoallocate segment space management auto;


ERROR at line 1:
ORA-01157: cannot identify/lock data file 12 - see DBWR trace file
ORA-01110: data file 12: '/u02/oracle/MYDB/tbs01.dbf'

Last updated: August 24, 2009

All Oracle errors in the blog can be found at: Oracle errors
All ESRI ArcSDE errors in the blog can found at:
ArcSDE Errors

No comments:

Post a Comment