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: Automatic listener/database startup?

Re: Automatic listener/database startup?

From: Jim Glockling <jglockli_at_bbn.com>
Date: Mon, 16 Oct 2000 14:46:38 GMT
Message-ID: <ixEG5.7$M16.367@burlma1-snr2>

In article <39EB0755.E9A5EDAB_at_Unforgetable.com> Walter T Rejuney <BlueSax_at_Unforgetable.com> writes:
>bluechase_at_my-deja.com wrote:
>
>> I am running Oracle8i on solaris. How can I automate the startup of
>> the listener and my database when the unix box is rebooted?
>>

 <snip>
>>
>> 1. How do I setup the listener to starup automatically?
>> 2. Any tips on how to get the dbstart script to work?

There's a mistake in the 8.1.6 dbstart at around line 63:

		#VERSION=`$ORACLE_HOME/bin/svrmgrl command=exit | awk '
		#   /PL\/SQL (Release|Version)/ {substr($3,1,3) ;
		VERSION=`$ORACLE_HOME/bin/svrmgrl command=exit | awk '
			/JServer Release/ {substr($3,1,3) ;

<snip>

>Put the following script in a file named oracle_init.sh and put the file
>in ${ORACLE_HOME}/bin.
>
>Then, make two links:
>
>ln ${ORACLE_HOME}/bin/oracle_init.sh /etc/rc2.d/S98oracle
>ln ${ORACLE_HOME}/bin/oracle_init.sh /etc/rc0.d/K05oracle

I'd link into rc1.d and rcS.d to stop as well to cover when going from rl 3 directly to single-user mode.

-Jim G. Received on Mon Oct 16 2000 - 09:46:38 CDT

Original text of this message

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