denrepo

Oracle error

ORA-01157

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

What usually causes it

DBWR can't find or open a datafile: it's missing, renamed, has the wrong permissions, or its file system or ASM disk group isn't mounted.

What to check first

Restore access to the file or mount its storage. If the file is lost, restore and recover it with RMAN. A missing tempfile can simply be dropped and added again.

Scripts that help

Open in the error lookupOracle's reference