Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2004-04-01
9
Medium Priority
?
797 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1000 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 8

Accepted Solution

by:
plq earned 1000 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 1

Assisted Solution

by:balee
balee earned 1000 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
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…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

704 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