Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Oracle startup script won't end.
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
![]() |
![]() |