RMAN-03014: implicit resync of recovery catalog failed RMAN-06004: Oracle error from recovery catalog database: RMAN-20001: target database not found in recovery catalog 

I connected to rman catalog and run controlfile backup in a new database. Below error was thrown

[oracle@orcl19x apps01]$ rman target / catalog rcat/password@orcl11x

Recovery Manager: Release 19.0.0.0.0 - Production on Thu Jul 29 21:21:39 2021
Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle and/or its affiliates.  All rights reserved.

connected to target database: ORCL19X1 (DBID=2012336792, not open)
connected to recovery catalog database

RMAN> backup current controlfile;

Starting backup at 29-JUL-21
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 07/29/2021 21:21:47
RMAN-03014: implicit resync of recovery catalog failed
RMAN-06004: Oracle error from recovery catalog database: RMAN-20001: target database not found in recovery catalog

I forgot to register the new database to catalog. So register it my friend

RMAN> register database;

database registered in recovery catalog
starting full resync of recovery catalog
full resync complete


Backup happen normally after registration of database to catalog

RMAN> backup current controlfile;

Starting backup at 29-JUL-21
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=46 device type=DISK
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
including current control file in backup set
channel ORA_DISK_1: starting piece 1 at 29-JUL-21
channel ORA_DISK_1: finished piece 1 at 29-JUL-21
piece handle=/data01/FRA/ORCL19X1/backupset/2021_07_29/o1_mf_ncnnf_TAG20210729T212303_jj5mq3ct_.bkp tag=TAG20210729T212303 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:04
Finished backup at 29-JUL-21

Starting Control File and SPFILE Autobackup at 29-JUL-21
piece handle=/data01/FRA/ORCL19X1/autobackup/2021_07_29/o1_mf_s_1079211956_jj5mq9vh_.bkp comment=NONE
Finished Control File and SPFILE Autobackup at 29-JUL-21

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s