Can't start oracle getting error ora-01157 cannot identify/lock

After power feliure I'm getting the follwoing error when try to start oracle 8i on Unix

SVRMGR> startup
ORACLE instance started.
Total System Global Area                         56036184 bytes
Fixed Size                                          72536 bytes
Variable Size                                    39014400 bytes
Database Buffers                                 16777216 bytes
Redo Buffers                                       172032 bytes
Database mounted.
ORA-01157: cannot identify/lock data file 8 - see DBWR trace file
ORA-01110: data file 8: '/ora1/OraHome1/oradata/ora1/oem_repository.dbf'
SVRMGR>

what need to be done and please can you porvide examples.

Thanks in advance
bolicatAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sapnamCommented:
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. The accompanying error from the operating system describes why the file could not be identified.
Action: At the operating system level, make the file available to the database. Then either open the database or do an ALTER SYSTEM CHECK DATAFILES
anand_2000vCommented:
most probably the file is corrupt. You can restore the file from the latest backup and give the command
SQL>recover

however, If I suspect correctly, then you do not have any backups. If OEM_repository does not contain any of users object,
drop the file and later recreate your oem repository

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bolicatAuthor Commented:
You are correct  don't have backup, how do I drop the file and recreate?

Thanks
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

anand_2000vCommented:
alter database datafile '/ora1/OraHome1/oradata/ora1/oem_repository.dbf' offline;

or

alter database datafile '/ora1/OraHome1/oradata/ora1/oem_repository.dbf' offline drop;

anand_2000vCommented:
but make sure that ur important data is not in that file
anand_2000vCommented:
is the db up now?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.