RMAN> backup database;
RMAN> show all;
ORA-20079: full resync from primary database is not done
doing automatic resync from primary
resyncing from database with DB_UNIQUE_NAME emjop
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of show command at 11/02/2012 02:59:33
RMAN-03014: implicit resync of recovery catalog failed
RMAN-03009: failure of partial resync command on default channel at 11/02/2012 02:59:33
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-00942: table or view does not exist
Cause:
Resync from standby detected that a full resync from primary database is required.
One of the following events on primary database may have caused this error:
1) one or more tablespaces or datafiles were added
2) one or more tablespaces or datafiles were dropped
3) one or more datafiles status changed
Resolution:
Perform full resync after connecting to primary database.
1) Logon to the primary database server
2) Execute: [oracle@host2~]$ rman target /
3) RMAN> connect catalog rmanuser/rmanpass@catdb[oracle@host2~]$ rman target /
Recovery Manager: Release 11.2.0.2.0 - Production on Fri Nov 21 03:03:00 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: DBPRIM (DBID=29862706877)
4) RMAN> resync catalog;
5) Re-run your RMAN backup again.RMAN> resync catalog;
starting full resync of recovery catalog
full resync complete