Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: dbshut script - shutdown or shutdown immediate
Peter,
Shutdown immediate would be a better choice. Might also be a good idea to have the app server process stopped prior to the database instance being shutdown.
I have seen apps that have left ghost connections or go nuts when the database disappeared (bad error handling I guess).
david
>From: "Schauss, Peter" <pschauss_at_northropgrumman.com>
>Reply-To: ORACLE-L_at_fatcity.com
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>Subject: dbshut script - shutdown or shutdown immediate
>Date: Wed, 02 Apr 2003 07:03:38 -0800
>
>I have one Oracle instance which supports an application
>server which always maintains a database connection.
>The UNIX system administrator tells me that this instance always
>hangs when she tries to shut down the system. The other instances,
>which do not support a 24x7 process shut down properly.
>
>Looking at $ORACLE_HOME/bin/dbshut, I notice that the input to sqlplus
>is
> connect internal
> shutdown
>
>Should I modify the script to "shutdown immediate" so that it kills
>any connections?
>
>Environment is Oracle 8.1.7 /AIX 4.3.3.
>
>Thanks,
>Peter Schauss
>Northrop Grumman Corporation
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.net
>--
>Author: Schauss, Peter
> INET: pschauss_at_northropgrumman.com
>
>Fat City Network Services -- 858-538-5051 http://www.fatcity.com
>San Diego, California -- Mailing list and web hosting services
>---------------------------------------------------------------------
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from). You may
>also send the HELP command for other information (like subscribing).
>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: david davis INET: ddoralist_at_hotmail.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Wed Apr 02 2003 - 10:19:05 CST
![]() |
![]() |