* 5.1a - behaviour of su
@ 2003-03-14 16:51 Browett, Darren
0 siblings, 0 replies; only message in thread
From: Browett, Darren @ 2003-03-14 16:51 UTC (permalink / raw)
As part of my backup procedures, I make a call to scripts for shutting
down my databases.
This script has worked with 4.0f but is not working with 5.1a/pk3. The
syntax is
ORACLE_ENV=/ora/env/Oracle.env
/bin/su oracle -c ". $ORACLE_ENV ; $DBS/ractrl stop"
When I run the command I get the following output :
ksh: /ractrl: not found
To me this indicates that $DBS is not being resolved (if that is the
correct term).
I did change the command to /bin/su oracle -c ". $ORACLE_ENV ; printenv"
And $DBS is defined.
Has anybody else seen this behaviour ??
Thanks
Darren
------------------------------------------------------------------------
--------------------------------------------------
Darren Browett P.Eng This
message was transmitted
Data Administrator using
100% recycled electrons
Information and Communication Technology
City of Coquitlam
P:(604)927 - 3614
E:dbrowett@city.coquitlam.bc.ca
------------------------------------------------------------------------
---------------------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-03-14 16:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-14 16:51 5.1a - behaviour of su Browett, Darren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox