RMAN-03009
I used to allocate multiple RMAN channels to backup the database parallelly, but I failed with RMAN-03009 about channel allocation problem.
RMAN> run {
allocate channel c1 type disk;
allocate channel c2 type disk;
allocate channel c3 type disk;
allocate channel c4 type disk;
backup format '/backup1/ORCLCDB/%U' database plus archivelog;
}
2> 3> 4> 5> 6> 7>
allocated channel: c1
channel c1: SID=1158 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on c2 channel at 01/06/2021 00:33:08
ORA-01013: user requested cancel of current operation
Did I cancel any operation? No, I didn't. RMAN-03009 looks like that there's already an existing channel c2 allocated in this session, so the solution is to release the failed channel. To release the failed channel, I exit RMAN and login once again to make the session restarted.