Re: Oracle shutdown on Sun

From: Norm Soley <soley_at_trop32.enet.dec.com>
Date: Mon, 26 Oct 1992 18:59:25 GMT
Message-ID: <1992Oct26.185925.4152_at_engage.pko.dec.com>


In article <1992Oct22.155543.19668_at_icf.hrb.com> gml_at_icf.hrb.com (Gretchen M. Lenze) writes:
>
>Does anyone know a graceful means of shutting down the ORACLE RDBMS under
>SunOS? Documentation suggests running dbshut utility from the shutdown5
>file, but the shutdown5 file does not exist on our system.

Generally (a dangerous word to start any statement with) bsdish systems like SunOS (and ULTRIX and Sequent Dynix 3.X) have a binary shutdown file. It sends a signal (SIGTERM I think) to everything and then waits some number of seconds for everything to exit gracefully then starts the actual shutdown. The problem with this is that the wait time is not actually long enough for things like Oracle to reliably finish a graceful shutdown so they are coded to ignore the signal.

SVRish systems have a shell script for shutdown.

So rename /etc/shutdown to something else and create an /etc/shutdown script file that does your Oracle shutdown then calls the renamed binary file.

-- 
    Norman Soley, Specialist, Digital Integrations Services,  ITC District
    Digital Equipment of Canada                   soley_at_trooa.enet.dec.com
    Opinions expressed are mine alone  and do not reflect those of Digital 
    Equipment Corporation or my cat Marge.
Received on Mon Oct 26 1992 - 19:59:25 CET

Original text of this message