Yes,
Bull, Ken is correct...a file that is part of your database has become invalid. The first steps you can try are (from a Windows command prompt):
Code:
[o/s prompt]> sqlplus /nolog
SQL> connect / as sysdba
SQL> shutdown abort
SQL> startup mount
SQL> recover database
(then if the response is "Recovery complete.", then you can issue the command...)
SQL> alter database open;
...and Oracle should be successfully up and running. If, however, you receive some unsuccessful response to your "recover database" command, then you are in a little deeper hot water. To recover from a more drastic media failure, your database must be in "ARCHIVELOG mode". To determine if this is the case for your database, following your "startup mount" command, you can issue the command (at the SQL> prompt):
This command lists the status of your archive logging. If the response is "No Archive Mode", then you cannot
recover your database...the best you can hope for is to
restore your database from a previous
cold backup. If you have not ever done a
cold backup of your database (in which your database is properly shutdown and you have copied, using an o/s copy command of all of your database datafiles, including
control files, on-line redo log files, and database data files), then you are S.O.L (Surely Out of Luck) and you must re-create your database from scratch.
But if your database is in "Archive Log" mode, then with your database shutdown, you restore (from a previous full backup of your database) a copy of the file that is corrupted. Then you follow the same steps that I listed, above.
Hopefully, you will have success following the "recover database" steps, above. If you are successful, then this can be one of the things for which you are thankful during this holiday season. If you are not successful, then you still can be thankful that you learned an important lesson about backing up your database on just a simple, personal "sandbox" database and not a corporate, fiduciary database.
Let us know the outcome.
![[santa] [santa] [santa]](/data/assets/smilies/santa.gif)
Mufasa
(aka Dave of Sandy, Utah, USA)
[
Providing low-cost remote Database Admin services]
Click here to join
Utah Oracle Users Group on Tek-Tips if you use
Oracle in
Utah USA.