Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> lingering session causing shutdown immediate to hang

lingering session causing shutdown immediate to hang

From: hastenthunder <hastenthunder_at_hotmail.com>
Date: Tue, 30 Nov 2004 17:01:28 -0500
Message-ID: <Y46rd.2070$Ny6.3494@mencken.net.nih.gov>


I have a strange problem on Oracle 10g/Red Hat Enterpirse 3

One of the user's session was accessing some procedure in her own schema, which was preventing her from recompiling it. I tried to do "Alter system kill session 'sid, serial#', but the session does not die, it just got marked as "killed". I waited 40 minutes for that session to die, and finally gave up and used UNIX command "kill -9" to terminate her OS process. Strangely, the session still shows up in v$session.

I then tried to restart the instance by issuing "shutdown immediate", and the database hanged (it was hanging for the past hour and half). This is really strange, since there were no active transaction before I tried to shut the database down, I'd expect the database would be down fairly quickly. And no, no one was trying to logon while I was performing the shut-down.

It seems the only alternative is to perform "shutdown abort" and then instance recovery. But what should I do if startup hangs after the database got shutdown abnormally?

Thanks for your help Received on Tue Nov 30 2004 - 16:01:28 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US