Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Can SvrMgrl accept command-line parameters?
setenv is a csh construct, it isn't supported by sh or ksh
John Haskins wrote:
>
> Thanks, that did the trick.
>
> Any thoughts why this command in the script:
> setenv ORACLE_SID NEW_SID
> would produce this result?
> /export/home/oracle/backup_test.sh: setenv: not found
>
> The ability to change this environment variable will be an important part of
> running this routine on all the instances the machine has.
>
> Thanks again.
>
> herve.MAYNE <herve.MAYNE_at_wanadoo.fr> wrote in message
> news:7ug2vo$svo$1_at_wanadoo.fr...
> > hello
> > try this :
> >
> > svrmgrl <<EOF
> > connect internal
> > shutdown immediate
> > EOF
> >
> >
> > John Haskins <76054.334SPAMBEGONE_at_compuserve.com> a écrit dans le message
> :
> > KLLO3.361$7n3.20672_at_dfiatx1-snr1.gtei.net...
> > > I'd like to create a shell script that, among other things, shuts down
> and
> > > then starts up database instances. No mention in the docs how to do
> this,
> > > and my experiments have proved fruitless. Is it possible, and if so,
> > what's
> > > the syntax?
> > >
> > > Thanks.
> > >
> > >
> >
> >
Received on Tue Oct 26 1999 - 13:52:00 CDT
![]() |
![]() |