niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » Oracle » Server
Urgent..Oracle Recover from Crashed OS
Post new topic   Reply to topic Page 1 of 1 [9 Posts] View previous topic :: View next topic
Author Message
Arijit Chatterjee
*nix forums beginner


Joined: 10 Jun 2005
Posts: 35

PostPosted: Fri Feb 11, 2005 7:49 am    Post subject: Urgent..Oracle Recover from Crashed OS Reply with quote

Dear Sir,
I have a query in oracle but I don't know how much foolish it is!!!
In my company who ever was the previous dba didn't take any backup
of the DB.Yesterday only the OS crashed.Even I don't know the oracle
Version ..think within 7i to 8i.Now the problem is if I reinstall
the os I will get back all my DB files but I need the help how should
Only information Os is Windows NT 4.0
I recover my DB.First of all is it possible?
If yes please help me out.
Regards
Arijit Chatterjee
Back to top
Steve H
*nix forums beginner


Joined: 14 Apr 2005
Posts: 13

PostPosted: Fri Feb 11, 2005 8:06 am    Post subject: Re: Urgent..Oracle Recover from Crashed OS Reply with quote

If all the database files (i.e. control files, redo logs, datafiles)
are still there, then I think you should be ok.

When you start your database instance and open the database, the SMON
process will detect that there was a crash. Then, it will apply
everything available on the redo logs to re-synchronize the datafiles
and finally will rollback any uncommitted changes.

This will be automatic, you just need to start the database.

Your urgent priority will be to setup and test a backup/recovery
process once the database is online.

(Note: 'recovery' is the important part here, hence you will need to
test it)
Back to top
Arijit Chatterjee
*nix forums beginner


Joined: 10 Jun 2005
Posts: 35

PostPosted: Fri Feb 11, 2005 9:05 am    Post subject: Re: Urgent..Oracle Recover from Crashed OS Reply with quote

Thanks Sir,
But When I reinstall my OS then I need to Reinstall the Oracle also.
Now how can I inform my new oracle server that previous DB is there?
Thanks once again
Regards
Arijit Chatterjee
Back to top
Peter Mubaiter
*nix forums beginner


Joined: 11 Feb 2005
Posts: 2

PostPosted: Fri Feb 11, 2005 10:21 am    Post subject: Re: Urgent..Oracle Recover from Crashed OS Reply with quote

arijitchatterjee123@yahoo.co.in schrieb:
Quote:
Thanks Sir,
But When I reinstall my OS then I need to Reinstall the Oracle also.
Now how can I inform my new oracle server that previous DB is there?

AFAIR you can use oradim to recreate your database as a service in NT.
Oracle itself needs a pfile (initSID.ora) to start the instance.
Back to top
Arijit Chatterjee
*nix forums beginner


Joined: 10 Jun 2005
Posts: 35

PostPosted: Fri Feb 11, 2005 10:35 am    Post subject: Re: Urgent..Oracle Recover from Crashed OS Reply with quote

Thanks Sir,
So First I am trying to explain the steps
1.Reinstall OS
2.Reinstall Oracle
3.Through oradim create service.
4.Start that service
5.Startup Database.
That is all?? If I am missing anything please suggest me.
Thanks a lot
Regards
Arijit Chatterjee
Back to top
StefanKapitza
*nix forums beginner


Joined: 25 May 2005
Posts: 48

PostPosted: Fri Feb 11, 2005 11:16 am    Post subject: Re: Urgent..Oracle Recover from Crashed OS Reply with quote

arijitchatterjee123@yahoo.co.in wrote:
Quote:
Thanks Sir,
So First I am trying to explain the steps
1.Reinstall OS
2.Reinstall Oracle
3.Through oradim create service.
4.Start that service
5.Startup Database.
That is all?? If I am missing anything please suggest me.
Thanks a lot
Regards
Arijit Chatterjee

0. Backup all you have

regards

s.kapitza
Back to top
Arijit Chatterjee
*nix forums beginner


Joined: 10 Jun 2005
Posts: 35

PostPosted: Fri Feb 11, 2005 11:38 am    Post subject: Re: Urgent..Oracle Recover from Crashed OS Reply with quote

Thanks Sir,
Backup means all the file/Folders in oracle folder???
Or Anything else???
Thanks once again for your kind help.
Regards
Arijit Chatterjee
Back to top
pauljmcclure@gmail.com
*nix forums beginner


Joined: 11 Feb 2005
Posts: 1

PostPosted: Fri Feb 11, 2005 11:39 am    Post subject: Re: Urgent..Oracle Recover from Crashed OS Reply with quote

2b) find the SID of the database - you could search for the
tnsnames.ora file that was on the server when the db was up. lets
assume SID = sid1
2c) find the initsid1.ora file
3.Through oradim create service.
(ex. ORADIM -NEW -SID sid1 -INTPWD oracle -STARTMODE auto -PFILE
c:\path_to_init_file\initsid1.ora)
4.Start that service
5.Startup Database.
cmd prompt>sqlplus /nolog
conn sys/oracle@sid1 as sysdba
startup

good luck!
Back to top
Frank van Bortel
*nix forums Guru


Joined: 19 Apr 2005
Posts: 804

PostPosted: Fri Feb 11, 2005 12:19 pm    Post subject: Re: Urgent..Oracle Recover from Crashed OS Reply with quote

pauljmcclure@gmail.com wrote:
Quote:
5.Startup Database.
cmd prompt>sqlplus /nolog
conn sys/oracle@sid1 as sysdba
startup

Well - for a V7, that won't work... Should
be:
svrmgrl
connect internal
startup

That should also work for 8.0 and 8i, although
sqlplus can be used for 8i, too. As from 9i, you
*must* use sqlplus; svrmgrl is not available
any more from that version.

And you were not sure about the version...
(It's printed on the CD, you know - or on the
diskettes Smile )
--
Regards,
Frank van Bortel
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [9 Posts] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 1:41 am | All times are GMT
navigation Forum index » Databases » Oracle » Server
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Urgent and imp. Making Squid 2.6 stable as tranpsarent proxy SHERDIL Squid 0 Thu Aug 03, 2006 11:18 am
No new posts Move Oracle 10g database to another location Selt Server 0 Fri Jul 21, 2006 2:14 pm
No new posts Oracle runtime Spitfire Server 0 Fri Jul 21, 2006 1:18 pm
No new posts Oracle Text Score Computation jatinder.1975@gmail.com Server 0 Fri Jul 21, 2006 1:00 pm
No new posts Can a trigger insert records into another oracle server Tauqir Server 2 Fri Jul 21, 2006 12:27 am

Auction cars | Advance Auto Parts | Credit Card | Car Finance | Six Figure Income
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1535s ][ Queries: 16 (0.0722s) ][ GZIP on - Debug on ]