From: MMP Wolfgang Rupp <wolfgang.rupp () mm-packaging ! com>
To: tru64-unix-managers
Subject: shellscript fails calling Oracle svrmgrl
Date: Fri, 15 Jun 2001 08:54:13 +0000 [thread overview]
Message-ID: <102653649621864.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~2001-06-15 8:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox