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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Oracle startup script won't end.

Re: Oracle startup script won't end.

From: Jürgen Lietz <jlietz_at_talknet.de>
Date: Wed, 25 Aug 1999 13:14:00 +0200
Message-ID: <fmQw3.1104$B7.86492@news.tli.de>

Tom <tray_at_voicenet.com> schrieb in im Newsbeitrag: 01beee4b$84da27c0$03cf34aa_at_oxt...
> Hi all!
> I have created a simple script to startup and shutdown my instances
> automatically. I run the startup script and it doesn't finish, but the
> shutdown script does. Is this because the script spawns other processes?
> How can I get the script to end without killing it? This could be an AIX
or
> Oracle issue. I wasn't sure so I posted to both. Any help would be
> appreciated. Here is the script. (as you can see I'm very inexperienced in
> script writing)
>
> #!/bin/ksh
> set -xv
> /u01/home/oracle/product/7.2.3/.profile
> ORACLE_SID=GOOFY
> svrmgrl <<EOF
> connect internal
> startup
> EOF
>
> thanks in advance,
> Tom
>

 Try this:

#!/bin/ksh
set -xv
/u01/home/oracle/product/7.2.3/.profile ORACLE_SID=GOOFY
svrmgrl <<EOF
connect internal
startup
exit <<<<<< to end svrmgrl
EOF Received on Wed Aug 25 1999 - 06:14:00 CDT

Original text of this message

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