Amazon books

Thursday, January 16, 2014

Fixing RMAN-04022 in a simple RMAN backup


If you are getting this error below while trying to backup your database:

RMAN> run
2> {
3> allocate channel ch1 device type disk format '+DG_OTM_BACKUP' CONNECT='sys/c4c1ld1s2012@BWOTMPR1';
4> backup as compressed backupset incremental level 0 database tag 'BKP_Full_Disk';
5> }

using target database control file instead of recovery catalog
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-12001: could not open channel ch1
RMAN-10008: could not create channel context
RMAN-10003: unable to connect to target database
RMAN-04022: target database mount id 2149207483 does not match channel's mount id 2141641889


Just try to run the same command on another instance of your RAC database.

For me this works. I just didn't realized yet what was the root cause for that. DBID is ok of course.

Best Regards,
Paulo Portugal

No comments:

Post a Comment