Hi all,
I'm trying to backup level-0 of the target database. Everything seems OK except at the end of backup I get the error message as following:
The stored script:
replace script backup0 {
allocate channel d1 type disk;
backup
incremental level 0
format '/opt/apps/oracle/backup/%d_%s_%p'
filesperset 1
(database include current controlfile);
sql 'alter system archive log current';
release channel d1;
}

using:
rman target / catalog rman/rman@rcat
RMAN>run {execute script backup0;}

Error Message:
.....
....
......

RMAN-08010: channel d1: specifying datafile(s) in backupset
RMAN-08522: input datafile fno=00007 name=/opt/apps/oracle/product/8.1.5/dbs/oradata/soldb/drsys01_SOL.dbf
RMAN-08013: channel d1: piece 1 created
RMAN-08503: piece handle=/opt/apps/oracle/backup/SOLDB_35_1 comment=NONE
RMAN-08525: backup set complete, elapsed time: 00:00:35
RMAN-03023: executing command: partial resync
RMAN-08003: starting partial resync of recovery catalog
RMAN-08005: partial resync complete

RMAN-03022: compiling command: sql
RMAN-06162: sql statement: alter system archive log current
RMAN-03023: executing command: sql
RMAN-03026: error recovery releasing channel resources
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-07005: error during channel cleanup
RMAN-07004: unhandled exception during command execution on channel default
RMAN-10032: unhandled exception during execution of job step 1:
RMAN-10035: exception raised in RPC:
S0U!
RMAN-10031: ORA-3114 occurred during call to DBMS_BACKUP_RESTORE.BACKUPCANCEL
RMAN-03015: error occurred in stored script backup0
RMAN-03006: non-retryable error occurred during execution of command: sql
RMAN-07004: unhandled exception during command execution on channel default
RMAN-20000: abnormal termination of job step
RMAN-11003: failure during parse/execution of SQL statement: alter system archive log current
RMAN-11001: Oracle Error: ORA-03113: end-of-file on communication channel

Recovery Manager complete.


Any idea
//Hamhey