Perry,
1)
Is the script executable by root (or what user NetBackup runs
under)? And does it su – oracle so that it can run as Oracle?
2)
Does the script output to STDOUT or STDERR? If so redirect any
output to a file or /dev/null
That’s all I can think of off the top of my head, but
might help.
Regards,
Patrick Whelan
VERITAS
Certified NetBackup Support Engineer for UNIX.
netbackup AT whelan-consulting.co DOT uk
From:
veritas-bu-bounces AT mailman.eng.auburn DOT edu [mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu]
On Behalf Of Shultz, Perry
Sent: 27 July 2007 20:29
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] RMAN Backups
We have been
running RMAN backups for several years. But, our DBAs have always
submitted them outside of NetBackup (manually defining the environmental
variables required, etc.). RMAN initiates the connection with NBU and
everything functions. I am doing some testing where I would like to use
their scripts, but initiate them from the NetBackup scheduler as an Automatic
backup. When I execute their shell script, I get a Status 6 - indicating
it could not backup the requested files and showing the full qualified path to
the script in the file list. There is no evidence that the script was
even submitted.
Any
ideas? We are using NBU 6.0 in a very large installation but have always
used manually, external submission of backups. So some of the nuances of
scheduling internally are new to us - especially related to the Oracle RMAN
agent.
Thanks,
Perry
Shultz