Re: Start/Shutdown of Oracle Databases in Unix

From: Brian Martin <icbkr_at_ix.netcom.com>
Date: 1996/08/28
Message-ID: <32248345.6EA5_at_ix.netcom.com>#1/1


trazz_at_interaccess.com wrote:
<begging omitted>

try this in your startup directory, note that you'll need to modify it for multiple databases but you can't expect me to us to do all the work...

>>>>> cut here < S93oracle_start> <<<<<<<<# S93 startup file
/bin/su - oracle -c /oracle_home/7.2.3/bin/dbstart nice -n 10 /bin/su - oracle -c /oracle_home/7.2.3/bin/lsnrctl << EOF start
exit
EOF
nice -n 10 /bin/su - oracle -c /oracle_home/7.2.3/bin/orasrv port=1525
>>>>> stop cutting <<<<<<

first you change to oracle, then you run dbstart then you start the lsnr, via a heredoc "<<" and then start orasrv

here's the shutdown version:
>>>>>>>>> cut here <<<<<<<<# modify dbshut script to use immediate rather than normal mode /bin/su - oracle -c /oracle_home/7.2.3/bin/dbshut

>>>>> stop ye olde hacking <<<<<<

that should do it.
both dbshut and dbstart came with your system. check the documentation. also, on your other question regarding backup. It's in the manual.

bcmartin
with special thanks to ian gillman who cobbled up the originals Received on Wed Aug 28 1996 - 00:00:00 CEST

Original text of this message