Solved

How can I shut down a Oracle DB thats not responding/hung

Posted on 2004-04-01
9
748 Views
Last Modified: 2010-08-05
We have a remote DB thats is hung and not not responding. Is the a command we can use to force it to shut down so we can restart it?
0
Comment
Question by:Sparky191
  • 4
  • 3
9 Comments
 
LVL 1

Author Comment

by:Sparky191
ID: 10730427
Its an Oracle 9 db
0
 
LVL 8

Assisted Solution

by:plq
plq earned 250 total points
ID: 10730483
On windows

Start - Control Panel - Services

Stop the Service named Oracle...DBName...

Hopefully it will recover itself when you restart it.

0
 
LVL 1

Author Comment

by:Sparky191
ID: 10730508
We've done that. The db still is trying to shut down but isn't. We can't log into it. it won't accept any passwords or usernames that we know.
0
 
LVL 8

Accepted Solution

by:
plq earned 250 total points
ID: 10730572
Ugh is it taking CPU ? Can you see disk activity ? Whats the memory usage and page file usage on the server ?
Is the DB or log disk full ? Maybe delete some other stuff to allow more space.

Of course, theres the reboot option. Oracle is very good at recovering in my experience, but don't sue me if it b*ggers it up. If its a huge DB maybe you just need to wait

I think you need someone with deeper oracle dba knowledge than me. Maybe post a 20 point link in the Oracle section if noone comes back here soon.

0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 1

Author Comment

by:Sparky191
ID: 10730592
We could use Rman in Oracle 8 to close it down.  But we don't know how to do that in Oracle 9?
0
 
LVL 8

Expert Comment

by:plq
ID: 10730646
0
 
LVL 1

Assisted Solution

by:balee
balee earned 250 total points
ID: 10731694
You need to do shutdown abort. Basically, when you are doing it from services it is doing shutdown immediate.

Here is the way how to stop it:

<sid> - this is the name of the db
**** - is the sysdba password, you should know it
------------------------

start dos prompt

set oracle_sid=<sid>

sqlplus /nolog

connect sys/**** as sysdba;

shutdown abort;

0
 
LVL 1

Author Comment

by:Sparky191
ID: 10957476
21 days isn't a of time really.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I guess that all of us know that caching the data usually increase the performance, but I worried if all of us are aware about the risk that caching the data provides and how to minimize this.  That’s the reason why I decided to write this short art…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now