- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: oracle 8.1.6 - recover lost system datafile
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2003 12:41 PM
тАО06-04-2003 12:41 PM
I do not have cold backups of the data files.
The system went down and the database won't come up. When I try to restart the database it says it needs to recover system.dbf file.
I have all the files from the database when it was shutdown abnormally. The info I am seeing says restore system datafile from tape as the only way to restore system tablespace.
I have shutdown our production database and copied it in the past. I have then used the metalink article to rename the database. We used it to copy production data to a development database.
I only need the one schema from the downed database to import into a fresh database.
Can that be done without a system datafile/tablespace?
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2003 12:44 PM
тАО06-04-2003 12:44 PM
Re: oracle 8.1.6 - recover lost system datafile
recover database;
If this returns with "Media Recovery Complete" (or something like that) go ahead and type "alter database open;".
This can happen if the database goes down wrong.
Thanks,
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2003 12:52 PM
тАО06-04-2003 12:52 PM
Re: oracle 8.1.6 - recover lost system datafile
The database is not started or mounted.
SVRMGR> connect internal
Connected.
SVRMGR> recover database;
ORA-01034: ORACLE not available
SVRMGR>
Should I do startup mount? Or startup nomount?
Thanks again.
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2003 12:58 PM
тАО06-04-2003 12:58 PM
Re: oracle 8.1.6 - recover lost system datafile
SVRMGR> startup mount
ORACLE instance started
Database mounted.
SVRMGR> recover database;
ORA-00283: recovery session canceled due to errors
ORA-01610: recovery using the BACKUP CONTROLFILE option must be done
SVRMGR>
I dont' have a backup control file. I do have the control files that are part of the database file set I have.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2003 01:18 PM
тАО06-04-2003 01:18 PM
Re: oracle 8.1.6 - recover lost system datafile
Thanks,
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2003 01:31 PM
тАО06-04-2003 01:31 PM
Re: oracle 8.1.6 - recover lost system datafile
I am working on copies of the downed database from when it crashed. I suppose I can copy them over again and not rebuild the control files.
Since I have the system.dbf file will I be able to recover? I'm beginning to think I'm making this harder than it is.
When we lost power could I have just restarted Oracle and used 'recover database'? I assumed I had to something else.
The reason I ask is that my last archive log file is number 16705. When I try to recover after rebuilding the control files it is asking for log file 16706. I don't have that file, I don't think it exists. I bet the resetlogs command has something to do with it.
I am learning. :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2003 01:51 PM
тАО06-04-2003 01:51 PM
SolutionTry this. Do a "select * from v$log" and "select * from v$logfile". Then try running a "recover database using backup controlfile until cancel". When it asks for a file (hopefully a number higher than 2), make sure that it is not a log that has been archived (shouldn't be) and try cutting and pasting one of the log members from the v$logfile into the specification. This should say something like "log xxxxx is not needed. Redo this for one member from each group and see if the log that is needed is still available on disk and has not been reset.
This is going with the assumption that the system datafile needed recovery, and was not completely missing or corrupted.
Post back if this doesn't work.
Thanks,
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2003 03:40 PM
тАО06-04-2003 03:40 PM
Re: oracle 8.1.6 - recover lost system datafile
I had too many things going on at once. My dev box went down so I moved that database to another box and made a new instance. Or I should say I copied over an existing instance. That was the source of my confusion.
I did do a 'alter database open resetlogs' command when I was renaming the instance.
I usually try to work on researching problems before I start a new thread asking the same questions that have been answered.
I copied over all my files from the temp location.
SVRMGR> connect internal
SVRMGR> startup mount;
SVRMGR> alter database open;
That was it.
The past 2 days of self-placed H3ll are over.
Thanks again.