Pages

Tuesday, 28 July 2020

RMAN-06034: at least 1 channel must be allocated to execute this command


Scenario:-


Error faced when duplicating the Target database from Source.

Error:-


RMAN-03002: failure of Duplicate Db command at 07/27/2020 13:08:36
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-06034: at least 1 channel must be allocated to execute this command

Cause:-


Need to allocate atleast 1 channel for duplicating the database.

Initial Executed script:-

run
{

allocate auxiliary channel c1 device type disk;
allocate auxiliary channel c2 device type disk;
Duplicate target database to 'ORCL' from active database;

}


Solution(Corrected Script):-


run
{

allocate channel ch1 device type disk;
allocate channel ch2 device type disk;
allocate auxiliary channel c1 device type disk;
allocate auxiliary channel c2 device type disk;
Duplicate target database to 'ORCL' from active database;

}




No comments:

Post a Comment