Database Backup and Recovery (MOSC)

MOSC Banner

Release channel command v10 verses v11

edited Nov 16, 2012 4:18AM in Database Backup and Recovery (MOSC) 1 commentAnswered
When I run an RMAN backup,  I am getting the following error when using the release channel command in version 10.2.0.4

RMAN-00571: ===========================================================

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============

RMAN-00571: ===========================================================

RMAN-03002: failure of release command at 11/15/2012 16:53:30

RMAN-06012: channel: t1 not allocated

when I run the same script for a version 11g database,  I do not get the error.  I looked at the version 10 doc and release channel is supported.  It does mention you do not need to use it because it automatically realeases the channel.  Does anyone know why this happens or are we doing something wrong.  Below is the script :

rman target / nocatalog log /usr/local/dba/log/RMANbkp_$1_$LOG_DATE.log << eofrun {allocate channel t1 type 'sbt_tape' parms'ENV=(tdpo_optfile=/usr/tivoli/tsm/client/api/bin64/dsm.opt)';shutdown immediate;startup mount;backup as compressed backupset database include current controlfile plus archivelog delete input;alter database open;release channel t1;}eofTHIS IS THE SHOW ALL FOR THE 10G databaseRMAN> show all;RMAN configuration parameters are:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center