Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: oraback problem
sorry to seem like i'm apamming the group but here is a summary of what i
have done so far to try and get oraback.sh working. If anyone can suggest
anything at all that might be wrong please offer any thoughts what so ever
or suggest possible locations for knowledge on the oraback script as the
forums at backupcentral seem to have vanished. I'd like to thank David
Fitzjarrell for all his advice so far.
In short when i try and run the script i get an error about the SID not being available and the script exits. The SID is up and running and the user running the script, ORACLE, can sqlplus and svrmgrl to the instance fine.
If i look in my tmp logs i get this....
[oracle_at_dbrestore oracle]$ more /var/tmp/7537.databaseup
Oracle Server Manager Release 3.1.7.0.0 - Production
Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
Oracle8i Enterprise Edition Release 8.1.7.0.1 - Production
With the Partitioning option
JServer Release 8.1.7.0.1 - Production
SVRMGR> Connected.
SVRMGR> select * from sys.dba_data_files
*
ORA-01034: ORACLE not available
SVRMGR> Server Manager complete.
[oracle_at_dbrestore oracle]$
BUT if i run the select manually i get the following.....
[oracle_at_dbrestore oracle]$ svrmgrl
Oracle Server Manager Release 3.1.7.0.0 - Production
Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
Oracle8i Enterprise Edition Release 8.1.7.0.1 - Production
With the Partitioning option
JServer Release 8.1.7.0.1 - Production
SVRMGR> connect internal
Connected.
SVRMGR> select * from sys.dba_data_files
2> ;
FILE_NAME
FILE_ID TABLESPACE_NAME BYTES BLOCKS STATUSRELATIVE_F AUT MAXBYTES MAXBLOCKS INCREMENT_ USER_BYTES USER_BLOCK
do you have ANY odea what might be causing this? I'm totally out of luck debugging this one and this is getting urgent.
one last thing is the output of the oraback.sh script whan run manually by the ORACLE user....
[oracle_at_dbrestore oracle]$ oraback/oraback.sh
Creating table of contents for this backup...
Checking the status of Oracle instance DCST..
Apr 4 22:16:55 dbrestore oraback.sh DCST: WARNING: ORA-01034: ORACLE not
available
Oracle instance DCST appears to be down...
basename: too few arguments
Try `basename --help' for more information.
Oracle instance DCST is supposed to backed up live...
Oracle instance DCST WILL NOT be backed up...
(It is down and there are no backup config files in
/home/oracle/backup/DCST from a previous run of oraback/oraback.sh)
.. which it is not down?
hope you can help!!
thanks very much
Tom Received on Thu Apr 04 2002 - 16:12:44 CST