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

Home -> Community -> Usenet -> c.d.o.server -> Re: Can SvrMgrl accept command-line parameters?

Re: Can SvrMgrl accept command-line parameters?

From: Jodie Kelley <jodie.r.kelley_at_boeing.com>
Date: Tue, 26 Oct 1999 18:52:00 GMT
Message-ID: <3815F850.E4772BAF@nospam.boeing.com>


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

Original text of this message

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