From: Isaac Oribioye <I.O.Oribioye () herts ! ac ! uk>
To: tru64-unix-managers
Subject: Cold Backups/Oracle Shutdown
Date: Wed, 19 Jun 1996 16:03:28 +0000 [thread overview]
Message-ID: <96076333621460.tru64-unix-managers.marc@archive.invalid> (raw)
Hi Folks;
I am new to Oracle DBA and Unix SysAdmin and am having problems setting up a
script to do automated backups on my Alpha machine running Digital Unix
3.2C, here's a trimmed down version of my shell script below...
>su - oracle -c /disk2/oracle/bin/sqldba lmode=y<<EOF1
> connect internal;
> exit;
> EOF1
> if test -f /disk2/oracle/dbs/sgadefMISUSE.dbf
> then
> echo "SGADEF IS STILL RESIDENT"
> echo "DATABASE SHUTDOWN IS SUSPECT"
> echo "DATABASE BACKUP IS SUSPECT"
> else
> echo "DATABASE SHUTDOWN WAS CLEAN"
># /usr/sbin/dump -0unN /dev/rmt0h /disk2
># /usr/sbin/dump -0unN /dev/rmt0h /usr
># /usr/sbin/dump -0un /dev/rmt0h /
> fi
>su - oracle -c /disk2/oracle/bin/sqldba lmode=y<<EOF2
> connect internal;
> exit;
> EOF2
and below is the error message that follows....
>SQL*DBA: Release 7.2.3.0.0 - Production on Wed Jun 19 15:26:43 1996
>
>Copyright (c) Oracle Corporation 1979, 1994. All rights reserved.
>
>DBA-00314: Message 314 not found; No message file for product=RDBMS,
facility=DBA
>Error while trying to retrieve text for error ORA-12545
>
>SQLDBA> Error while trying to retrieve text for error ORA-12545
>SQLDBA> Message 37 not found; No message file for product=RDBMS, facility=DBA
Any pointers as to what I'm doing wrong either in Unix or in Oracle (7.2.3).
I would appreciate any help.
Thanks for your quick response.
Isaac Oribioye
University of Hertfordshire
manxioa@herts.ac.uk
reply other threads:[~1996-06-19 16:03 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