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: Tom <tray_at_voicenet.com>
Date: 26 Aug 1999 13:39:37 GMT
Message-ID: <01beefc8$85be6e20$03cf34aa@oxt>


Hi again,
Thanks for all the ideas. I tried each one. Unfortunately I got the same result. I did get the job to end properly though using rsh instead of rexec. It seems that for some reason rexec stays active until all processes end ( and since it is a database startup script, it never ends until you shut down the database. Then the script ends ) With rsh however, the script terminates even with the database up and running. It doesn't make much sense to me but it was a shot in the dark and it worked. I figured I owed you
all that explanation for your efforts, and thanks.

Tom

Tom <tray_at_voicenet.com> wrote in article <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
>
>
>
>
Received on Thu Aug 26 1999 - 08:39:37 CDT

Original text of this message

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