* shellscript fails calling Oracle svrmgrl
@ 2001-06-15 8:54 MMP Wolfgang Rupp
0 siblings, 0 replies; only message in thread
From: MMP Wolfgang Rupp @ 2001-06-15 8:54 UTC (permalink / raw)
To: tru64-unix-managers
We have a weird problem here. Our dba created a shell script to
make hot backups of the Oracle 8.1.6.1 db. First it extracts
some table data and writes them into a file (@auto_backup_out,
see below). On AIX, the script works. On Tru64, if the steps
are done manually as user oracle, it works. As the shell script,
it "connects internal" and then blows up with Oracle "03113 end
of communications channel".
#!/bin/ksh
--[snip environment setting]--
echo "Doing Hot Backup! -------------------- `date`"
$ORACLE_HOME/bin/svrmgrl <<EOF_SQL
connect internal
@auto_backup_out
EOF_SQL
--[rest of backup script]--
Since it does work on AIX and manually on Tru64, I assume a
Tru64 or a shell problem. Any ideas?
Wolfgang Rupp
Network Administrator
Mayr-Melnhof Packaging GmbH
Floragasse 7/6
A-1040 Wien
Tel: +43-1-50257-238
Fax: +43-1-50257-260
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-06-15 8:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-15 8:54 shellscript fails calling Oracle svrmgrl MMP Wolfgang Rupp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox