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 -> Re: force oracle database shutdown

Re: force oracle database shutdown

From: Mladen Gogala <gogala_at_sbcglobal.net>
Date: Wed, 04 May 2005 04:12:49 GMT
Message-ID: <pan.2005.05.04.04.12.48.297840@sbcglobal.net>


On Mon, 02 May 2005 10:58:29 +0200, maxim2k wrote:

> Is there any way to force the database to close the connections with the
> application servers and shutdown?

As root do the following:

pkill -9 oracle
ipcrm -M `ipcs -m|grep oracle|awk '{ print $1; }'`

That should finish the instance off. That is equivalent to shutdown abort. Beware, if your DBA finds this script, he or she may bring a slow and painful death upon you.

-- 
Egoist: A person of low taste, more interested in themselves than in me.
Received on Tue May 03 2005 - 23:12:49 CDT

Original text of this message

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