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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Automatic database start in sun solaris

Re: Automatic database start in sun solaris

From: Richard Ji <rji_at_exenet.com>
Date: Fri, 24 Aug 2001 10:29:42 -0700
Message-ID: <F001.003772FB.20010824104533@fatcity.com>

Just create one under /etc/init.d and softlink both the S and K script to it. The one under /etc/init.d must accept stop and start as an argument and do startup and shutdown accordingly. You can check out any script under /etc/init.d as a example on how to write one.

Richard Ji

>>> murosa_at_inicia.es 08/24/01 08:10AM >>>
Saroj, you must create two files, SXXXOracle and KXXXOracle, in /etc/rc2.d, for example, where XXX are numbers. So when your machine reboots that files starts Oracle Database and listeners. Well, first, because second is to stop database and listener. This is a question of Unix start. Due to I'm not really sure how can you do it, it's better you see at that directory, /etc/rc2.d, and look any pair of files to see it.

    Remenber SXXXOracle is to start Oracle and listeners and KXXXOracle is to stop its.

    HTH

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Richard Ji
  INET: rji_at_exenet.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Fri Aug 24 2001 - 12:29:42 CDT

Original text of this message

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