Quote:
Originally Posted by Natarajachar
The following is the script I wrote:
Code:
#!/bin/bash
echo "***********Archive file deletion started at `date`***********"
echo " "
export ORACLE_HOME=/u01/oracle_home/contentdb
#cd $ORACLE_HOME
/u01/oracle_home/contentdb/bin/rman <<EOF
connect target /;
connect CATALOG cat/catalog@conprddb;
spool msglog to '/u02/backup/log/rman_archive_del_new.log'
change archivelog all crosscheck;
delete noprompt expired archivelog all;
exit;
EOF
echo "The archival process ended at `date`">>/u02/backup/rman/rman_archive_del1.log
|
So as you've been told before, you need to put your scripts into CODE tags when posting them. And the one you posted here is almost an exact copy of the one from your other thread, with a couple of minor changes. In the several months you've been working on this, have you made no progress at all?? You were told in your other thread, that you need to make sure that you're running this in the Oracle user's CRON...are you???
And as you've been told also, you need to contact Oracle, since you are PAYING FOR ORACLE, RIGHT???? Have you done that?? Posting your questions over and over and not acknowledging what you're told or answering questions, won't get you much help.