Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> cronjob and script to start rman make's problems

cronjob and script to start rman make's problems

From: achim.altmann <achim.altmann_at_web.de>
Date: Mon, 23 Jul 2001 00:43:24 +0200
Message-ID: <3B5B570C.98580882@web.de>

Hello,

im from Germany
please sorry for my bad english language,

i like backup a ORACLE_DB 8.1.6 with RMAN

The BS is Linux (suse 7.0)

I start this backup with an cronjob
"25 0 * * * /opt/oracle/product/8.1.6/bin/voll_back_start.sh"
the script

run this
"#! /bin/sh

#### umount and mount the nfs-directory from the backup-server ssh lx-dbpro02 /opt/oracle/product/8.1.6/scripts/mount_lx_medusa -u ssh lx-dbpro02 /opt/oracle/product/8.1.6/scripts/mount_lx_medusa -m sleep 10
##### start the backup script to run RMAN /opt/oracle/product/8.1.6/bin/remote_start.sh

then run remote_start.sh script
"#! /bin/sh

/opt/oracle/product/8.1.6/bin/rman cmdfile=backup_start_file.rmn log backup_vol.log

the backup_start_file.rmn like this
"connect target sys/<password>@lxdbpro1;
connect catalog backup/<password>@backup; resync catalog;
run {execute script lx_dbpro02_voll;}
resync catalog;
exit;

in the mail from the user oracle come this message in

RMAN-00571: file not found
LEM-00031: file not found; arguments: [lempgmh] [lmserr] LEM-00033: file not found; arguments: [lempgfm] [Couldn't open message file]
LEM-00031: file not found; arguments: [lempgmh] [lmserr] LEM-00033: file not found; arguments: [lempgfm] [Couldn't open message file]

When i run the script
from the kommadline
./voll_backup_start.sh

then is all ok.

Please tell me
what is the problem

thanks a lot for help

by
Achim from Germany Received on Sun Jul 22 2001 - 17:43:24 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US