Solved

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

Posted on 2004-04-01
9
769 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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
 
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

SQL Command Tool comes with APEX under SQL Workshop. It helps us to make changes on the database directly using a graphical user interface. This helps us writing any SQL/ PLSQL queries and execute it on the database and we can create any database ob…
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
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…

830 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