{"id":1837,"date":"2020-08-27T22:27:07","date_gmt":"2020-08-27T22:27:07","guid":{"rendered":"https:\/\/swiv.com.br\/rman-06429-rcvcat-database-is-not-compatible\/"},"modified":"2026-05-27T20:02:53","modified_gmt":"2026-05-27T19:02:53","slug":"rman-06429-rcvcat-database-is-not-compatible","status":"publish","type":"post","link":"https:\/\/swiv.com.br\/index.php\/2020\/08\/27\/rman-06429-rcvcat-database-is-not-compatible\/","title":{"rendered":"[Solved] Issue: RMAN-06429: RCVCAT database is not compatible"},"content":{"rendered":"\n<p>Ao tentar executar um backup de um banco recentemente atualizado para 18C, recebi a seguinte mensagem:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nPL\/SQL package OWNER.DBMS_RCVCAT version 11.02.00.04 in RCVCAT database is too old\nPL\/SQL package OWNER.DBMS_RCVCAT version 11.02.00.04 in RCVCAT database is too old\nRMAN-00571: ===========================================================\nRMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============\nRMAN-00571: ===========================================================\nRMAN-03002: failure of crosscheck command at 08\/19\/2020 11:09:25\nRMAN-12010: automatic channel allocation initialization failed\nRMAN-06429: RCVCAT database is not compatible with this version of RMAN\n<\/pre><\/div>\n\n<p>Encontrei o Oracle note &#8220;<strong>RMAN-06429: RCVCAT database is not compatible with this version of RMAN (Doc ID 2022782.1)<\/strong>&#8220;.<\/p>\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-351.png\" alt=\"\" class=\"wp-image-8183\"\/><\/figure>\n\n\n\n<p>Nesta nota, \u00e9 indicado a necessidade de se realizar um &#8220;UPGRADE CATALOG&#8221;. O detalhe \u00e9 que o meu banco de cat\u00e1logo est\u00e1 na vers\u00e3o 10.2.0.4, e durante o processo de atualiza\u00e7\u00e3o, um novo erro \u00e9 reportado:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;user@hostname folder]$ rman target \/ catalog OWNER\/*****@CAT10G\n \nRecovery Manager: Release 18.0.0.0.0 - Production on Wed Aug 19 11:33:01 2020\nVersion 18.5.0.0.0\n \nCopyright (c) 1982, 2018, Oracle and\/or its affiliates.  All rights reserved.\n \nconnected to target database: TESTE (DBID=3671898123)\nconnected to recovery catalog database\nPL\/SQL package OWNER.DBMS_RCVCAT version 11.02.00.04 in RCVCAT database is too old\n \nRMAN&gt; register database;\n \nPL\/SQL package OWNER.DBMS_RCVCAT version 11.02.00.04 in RCVCAT database is too old\nPL\/SQL package OWNER.DBMS_RCVCAT version 11.02.00.04 in RCVCAT database is too old\nRMAN-00571: ===========================================================\nRMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============\nRMAN-00571: ===========================================================\nRMAN-03002: failure of register command at 08\/19\/2020 11:33:12\nRMAN-06429: RCVCAT database is not compatible with this version of RMAN\n \nRMAN&gt; upgrade catalog;\n \nrecovery catalog owner is OWNER\nenter UPGRADE CATALOG command again to confirm catalog upgrade\n \nRMAN&gt; upgrade catalog;\n \nerror creating dbms_rcvvpc package body\nRMAN-00571: ===========================================================\nRMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============\nRMAN-00571: ===========================================================\nRMAN-06443: error upgrading recovery catalog\n \nRMAN&gt;\n<\/pre><\/div>\n\n<p>Por desconfiar se a minha vers\u00e3o de cat\u00e1logo ainda \u00e9 compat\u00edvel com o meu target database, recorro \u00e0 nota &#8220;<strong>RMAN Compatibility Matrix (Doc ID 73431.1)<\/strong>&#8221; e percebo que ainda estou dentro da matriz de compatibilidade.<\/p>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-352-1024x599.png\" alt=\"\" class=\"wp-image-8185\"\/><\/figure>\n\n\n\n<p>Como no erro \u00e9 mencionado que a package &#8220;dbms_rcvvpc&#8221; ficou com algum problema, tento recompil\u00e1-la manualmente e checo em detalhes o seu erro:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; alter PACKAGE OWNER.DBMS_RCVVPC compile body;\n \nWarning: Package Body altered with compilation errors.\n \nSQL&gt; show errors;\nErrors for PACKAGE BODY OWNER.DBMS_RCVVPC:\n \nLINE\/COL ERROR\n-------- -----------------------------------------------------------------\n112\/12   PLS-00801: internal error &#x5B;*** ASSERT at file pdw4.c, line 5926;\n         Illegal defun (141) for name expression;\n         DBMS_RCVVPC__OW_NER__B__5447795&#x5B;112, 12]]\n \nSQL&gt;\n<\/pre><\/div>\n\n<p>A partir deste erro mais detalhado, consigo chegar na nota &#8220;<strong>Bug 7322183 &#8211; PLS-00801: internal error ASSERT at file pdw4.c, line 5926, Illegal defun for name expression (Doc ID 7322183.8)<\/strong>&#8221; que reporta a exist\u00eancia de um bug nas vers\u00f5es 10.2.0.3 e 10.2.0.4 no banco de cat\u00e1logo, na tentativa de fazer o upgrade, quando o target database est\u00e1 na vers\u00e3o 12.2 (por\u00e9m, em chamado aberto, tamb\u00e9m confirmei que se aplicar para bancos 18C, que era o meu caso).<\/p>\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-353.png\" alt=\"\" class=\"wp-image-8186\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-354-1024x472.png\" alt=\"\" class=\"wp-image-8187\"\/><\/figure>\n\n\n\n<p>Nesta etapa, n\u00e3o existe muito o que se fazer. A \u00fanica solu\u00e7\u00e3o seria subir a vers\u00e3o do banco de cat\u00e1logo de 10.2.0.4 para 10.2.0.5, ou migrar este owner espec\u00edfico para algum outros banco com vers\u00e3o mais recente, utilizando o recurso &#8220;IMPORT CATALOG&#8221;. Felizmente, eu possu\u00eda outro banco de cat\u00e1logo com vers\u00e3o 12.2. Ent\u00e3o eu fiz a cria\u00e7\u00e3o de uma nova tablespace e owner no banco novo:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nCREATE TABLESPACE TABLESPACE_TESTE DATAFILE \n  &#039;+DISK_GROUP&#039; SIZE 33M AUTOEXTEND ON NEXT 100M MAXSIZE UNLIMITED\nLOGGING\nONLINE\nPERMANENT\nEXTENT MANAGEMENT LOCAL AUTOALLOCATE\nBLOCKSIZE 8K\nSEGMENT SPACE MANAGEMENT AUTO\nFLASHBACK ON;\n \n \nCREATE USER OWNER\n  IDENTIFIED BY *****\n  DEFAULT TABLESPACE TABLESPACE_TESTE\n  PROFILE DEFAULT\n  ACCOUNT UNLOCK;\n  -- 3 Roles for OWNER \n  GRANT RECOVERY_CATALOG_OWNER TO OWNER;\n  GRANT CONNECT TO OWNER;\n  GRANT RESOURCE TO OWNER;\n  ALTER USER OWNER DEFAULT ROLE ALL;\n  -- 1 System Privilege for OWNER \n  GRANT UNLIMITED TABLESPACE TO OWNER;\n  -- 1 Tablespace Quota for OWNER \n  ALTER USER OWNER QUOTA UNLIMITED ON TABLESPACE_TESTE;\n<\/pre><\/div>\n\n\n<p>Tentando importar o cat\u00e1logo:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;user@hostname~]$ rman target \/ catalog OWNER\/***@CAT12C\n \nRecovery Manager: Release 18.0.0.0.0 - Production on Wed Aug 26 09:22:54 2020\nVersion 18.5.0.0.0\n \nCopyright (c) 1982, 2018, Oracle and\/or its affiliates.  All rights reserved.\n \nconnected to target database: TESTE (DBID=3671898123)\nconnected to recovery catalog database\n \nRMAN&gt; IMPORT CATALOG OWNER\/*****@CAT10G\n2&gt; ;\n \nStarting import catalog at 26-AUG-20\nRMAN-00571: ===========================================================\nRMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============\nRMAN-00571: ===========================================================\nRMAN-03002: failure of import catalog command at 08\/26\/2020 09:23:44\nRMAN-06428: recovery catalog is not installed\n \nRMAN&gt;\n \n \n \nRMAN&gt; create catalog;\n \nrecovery catalog created\n \nRMAN&gt; IMPORT CATALOG OWNER\/*****@CAT10G;\n \nStarting import catalog at 26-AUG-20\nconnected to source recovery catalog database\nrecovery catalog is partially upgraded to 18.05.00.00\nRMAN-00571: ===========================================================\nRMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============\nRMAN-00571: ===========================================================\nRMAN-03002: failure of import catalog command at 08\/26\/2020 09:27:36\nRMAN-06429: IMPCAT database is not compatible with this version of RMAN\n \nRMAN&gt;\n<\/pre><\/div>\n\n<p>O erro acima acontece pois um pr\u00e9-requisito do import catalog n\u00e3o foi realizado. Link <a rel=\"\\&quot;noreferrer noopener\" noopener=\"\" href=\"https:\/\/docs.oracle.com\/database\/121\/RCMRF\/rcmsynta026.htm#RCMRF198\" target=\"\\&quot;_blank\\&quot;\">AQUI<\/a>.<\/p>\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-355.png\" alt=\"\" class=\"wp-image-8188\"\/><figcaption><em>The version of the source recovery catalog schema must be equal to the current version of the destination recovery catalog schema. If they are not equal, then upgrade the schemas to the same version.<\/em><\/figcaption><\/figure>\n\n\n\n<p>Ou seja, para importar o cat\u00e1logo para outro banco, ele j\u00e1 precisa ter sofrido o &#8220;upgrade catalog&#8221;. Por\u00e9m eu n\u00e3o conseguia fazer o upgrade por conta do bug. Desse modo, com respaldo do fornecedor, precisei fazer um export do owner de cat\u00e1logo 10G e import\u00e1-lo no banco 12C, mesmo ele possuindo alguns objetos inv\u00e1lidos por conta do upgrade mal sucedido. Segue abaixo a importa\u00e7\u00e3o do mesmo para abreviar o processo:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;user@hostname_novo EXP]$ impdp parfile=imp.par\n \nImport: Release 12.2.0.1.0 - Production on Thu Aug 20 08:42:21 2020\n \nCopyright (c) 1982, 2017, Oracle and\/or its affiliates.  All rights reserved.\n \nConnected to: Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production\nMaster table &quot;SYSTEM&quot;.&quot;SYS_IMPORT_FULL_01&quot; successfully loaded\/unloaded\nimport done in AL32UTF8 character set and AL16UTF16 NCHAR character set\nexport done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set\nWarning: possible data loss in character set conversions\nStarting &quot;SYSTEM&quot;.&quot;SYS_IMPORT_FULL_01&quot;:  system\/******** parfile=imp.par\nProcessing object type SCHEMA_EXPORT\/USER\nORA-31684: Object type USER:&quot;OWNER&quot; already exists\n \nProcessing object type SCHEMA_EXPORT\/SYSTEM_GRANT\nProcessing object type SCHEMA_EXPORT\/ROLE_GRANT\nProcessing object type SCHEMA_EXPORT\/DEFAULT_ROLE\nProcessing object type SCHEMA_EXPORT\/TABLESPACE_QUOTA\nProcessing object type SCHEMA_EXPORT\/PRE_SCHEMA\/PROCACT_SCHEMA\nProcessing object type SCHEMA_EXPORT\/TYPE\/TYPE_SPEC\nProcessing object type SCHEMA_EXPORT\/SEQUENCE\/SEQUENCE\nProcessing object type SCHEMA_EXPORT\/SEQUENCE\/GRANT\/OWNER_GRANT\/OBJECT_GRANT\nProcessing object type SCHEMA_EXPORT\/TABLE\/TABLE\nProcessing object type SCHEMA_EXPORT\/TABLE\/TABLE_DATA\n. . imported &quot;OWNER&quot;.&quot;BDF&quot;                     1.835 MB   15356 rows\n. . imported &quot;OWNER&quot;.&quot;BP&quot;                      1.543 MB    7485 rows\n. . imported &quot;OWNER&quot;.&quot;ROUT&quot;                    640.4 KB    7111 rows\n. . imported &quot;OWNER&quot;.&quot;BRL&quot;                     709.0 KB    8864 rows\n. . imported &quot;OWNER&quot;.&quot;BS&quot;                      625.4 KB    7485 rows\n. . imported &quot;OWNER&quot;.&quot;RLH&quot;                     504.6 KB    8974 rows\n. . imported &quot;OWNER&quot;.&quot;RSR&quot;                     109.4 KB     691 rows\n. . imported &quot;OWNER&quot;.&quot;CFS&quot;                     107.2 KB     156 rows\n. . imported &quot;OWNER&quot;.&quot;AL&quot;                      36.96 KB     123 rows\n. . imported &quot;OWNER&quot;.&quot;BCF&quot;                     54.84 KB     616 rows\n. . imported &quot;OWNER&quot;.&quot;BSF&quot;                     62.14 KB    1091 rows\n. . imported &quot;OWNER&quot;.&quot;CKP&quot;                     8.242 KB       9 rows\n. . imported &quot;OWNER&quot;.&quot;CONF&quot;                    6.976 KB       3 rows\n. . imported &quot;OWNER&quot;.&quot;CONFIG&quot;                  5.257 KB       1 rows\n. . imported &quot;OWNER&quot;.&quot;DB&quot;                      6.203 KB       2 rows\n. . imported &quot;OWNER&quot;.&quot;DBINC&quot;                   7.242 KB       4 rows\n. . imported &quot;OWNER&quot;.&quot;DF&quot;                      19.71 KB      49 rows\n. . imported &quot;OWNER&quot;.&quot;NODE&quot;                    18.68 KB       2 rows\n. . imported &quot;OWNER&quot;.&quot;OFFR&quot;                    9.648 KB      34 rows\n. . imported &quot;OWNER&quot;.&quot;ORL&quot;                     8.843 KB      26 rows\n. . imported &quot;OWNER&quot;.&quot;PDB&quot;                     7.812 KB       2 rows\n. . imported &quot;OWNER&quot;.&quot;PDBINC&quot;                    7.5 KB       2 rows\n. . imported &quot;OWNER&quot;.&quot;PDB_DBINC&quot;               6.242 KB       4 rows\n. . imported &quot;OWNER&quot;.&quot;RCVER&quot;                   4.953 KB       1 rows\n. . imported &quot;OWNER&quot;.&quot;RT&quot;                      7.210 KB       4 rows\n. . imported &quot;OWNER&quot;.&quot;SITE_DFATT&quot;              8.664 KB      49 rows\n. . imported &quot;OWNER&quot;.&quot;SITE_TFATT&quot;              8.046 KB       8 rows\n. . imported &quot;OWNER&quot;.&quot;TF&quot;                      8.781 KB       8 rows\n. . imported &quot;OWNER&quot;.&quot;TS&quot;                      11.87 KB      55 rows\n. . imported &quot;OWNER&quot;.&quot;TSATT&quot;                   8.867 KB      55 rows\n. . imported &quot;OWNER&quot;.&quot;BCB&quot;                         0 KB       0 rows\n. . imported &quot;OWNER&quot;.&quot;BCR&quot;                         0 KB       0 rows\n. . imported &quot;OWNER&quot;.&quot;CCB&quot;                         0 KB       0 rows\n. . imported &quot;OWNER&quot;.&quot;CCF&quot;                         0 KB       0 rows\n. . imported &quot;OWNER&quot;.&quot;CDF&quot;                         0 KB       0 rows\n. . imported &quot;OWNER&quot;.&quot;DELETED_OBJECT&quot;              0 KB       0 rows\n. . imported &quot;OWNER&quot;.&quot;DO_SEQ&quot;                      0 KB       0 rows\n. . imported &quot;OWNER&quot;.&quot;FB&quot;                          0 KB       0 rows\n. . imported &quot;OWNER&quot;.&quot;GRSP&quot;                        0 KB       0 rows\n. . imported &quot;OWNER&quot;.&quot;NRSP&quot;                        0 KB       0 rows\n. . imported &quot;OWNER&quot;.&quot;ORSEVENT&quot;                    0 KB       0 rows\n. . imported &quot;OWNER&quot;.&quot;RCFILE&quot;                      0 KB       0 rows\n. . imported &quot;OWNER&quot;.&quot;RR&quot;                          0 KB       0 rows\n. . imported &quot;OWNER&quot;.&quot;RRCACHE&quot;                     0 KB       0 rows\n. . imported &quot;OWNER&quot;.&quot;SBT_TEMPLATE_DB&quot;             0 KB       0 rows\n. . imported &quot;OWNER&quot;.&quot;SCR&quot;                         0 KB       0 rows\n. . imported &quot;OWNER&quot;.&quot;SCRL&quot;                        0 KB       0 rows\n. . imported &quot;OWNER&quot;.&quot;SERVER&quot;                      0 KB       0 rows\n. . imported &quot;OWNER&quot;.&quot;TEMPRES&quot;                     0 KB       0 rows\n. . imported &quot;OWNER&quot;.&quot;VPC_DATABASES&quot;               0 KB       0 rows\n. . imported &quot;OWNER&quot;.&quot;VPC_USERS&quot;                   0 KB       0 rows\n. . imported &quot;OWNER&quot;.&quot;WATERMARKS&quot;                  0 KB       0 rows\n. . imported &quot;OWNER&quot;.&quot;XAL&quot;                         0 KB       0 rows\n. . imported &quot;OWNER&quot;.&quot;XCF&quot;                         0 KB       0 rows\n. . imported &quot;OWNER&quot;.&quot;XDF&quot;                         0 KB       0 rows\n. . imported &quot;OWNER&quot;.&quot;XMLSTORE&quot;                    0 KB       0 rows\nProcessing object type SCHEMA_EXPORT\/TABLE\/INDEX\/INDEX\nProcessing object type SCHEMA_EXPORT\/TABLE\/CONSTRAINT\/CONSTRAINT\nProcessing object type SCHEMA_EXPORT\/PACKAGE\/PACKAGE_SPEC\nProcessing object type SCHEMA_EXPORT\/PACKAGE\/GRANT\/OWNER_GRANT\/OBJECT_GRANT\nProcessing object type SCHEMA_EXPORT\/FUNCTION\/FUNCTION\nProcessing object type SCHEMA_EXPORT\/FUNCTION\/GRANT\/OWNER_GRANT\/OBJECT_GRANT\nProcessing object type SCHEMA_EXPORT\/PACKAGE\/COMPILE_PACKAGE\/PACKAGE_SPEC\/ALTER_PACKAGE_SPEC\nProcessing object type SCHEMA_EXPORT\/FUNCTION\/ALTER_FUNCTION\nProcessing object type SCHEMA_EXPORT\/VIEW\/VIEW\nProcessing object type SCHEMA_EXPORT\/PACKAGE\/PACKAGE_BODY\nProcessing object type SCHEMA_EXPORT\/TYPE\/TYPE_BODY\nORA-39082: Object type TYPE_BODY:&quot;OWNER&quot;.&quot;RC_LBRECSETIMPL_T&quot; created with compilation warnings\n \nORA-39082: Object type TYPE_BODY:&quot;OWNER&quot;.&quot;RC_LBRECSETIMPL_T&quot; created with compilation warnings\n \nProcessing object type SCHEMA_EXPORT\/TABLE\/CONSTRAINT\/REF_CONSTRAINT\nProcessing object type SCHEMA_EXPORT\/TABLE\/TRIGGER\nProcessing object type SCHEMA_EXPORT\/TABLE\/INDEX\/FUNCTIONAL_AND_BITMAP\/INDEX\nORA-39082: Object type VIEW:&quot;OWNER&quot;.&quot;RC_RMAN_BACKUP_SUBJOB_DETAILS&quot; created with compilation warnings\n \nORA-39082: Object type VIEW:&quot;OWNER&quot;.&quot;RC_RMAN_BACKUP_JOB_DETAILS&quot; created with compilation warnings\n \nORA-39082: Object type VIEW:&quot;OWNER&quot;.&quot;RC_BACKUP_SET_DETAILS&quot; created with compilation warnings\n \nORA-39082: Object type VIEW:&quot;OWNER&quot;.&quot;RC_BACKUP_PIECE_DETAILS&quot; created with compilation warnings\n \nORA-39082: Object type VIEW:&quot;OWNER&quot;.&quot;RC_BACKUP_COPY_DETAILS&quot; created with compilation warnings\n \nORA-39082: Object type VIEW:&quot;OWNER&quot;.&quot;RC_PROXY_COPY_DETAILS&quot; created with compilation warnings\n \nORA-39082: Object type VIEW:&quot;OWNER&quot;.&quot;RC_PROXY_ARCHIVELOG_DETAILS&quot; created with compilation warnings\n \nORA-39082: Object type VIEW:&quot;OWNER&quot;.&quot;RC_BACKUP_DATAFILE_DETAILS&quot; created with compilation warnings\n \nORA-39082: Object type VIEW:&quot;OWNER&quot;.&quot;RC_BACKUP_CONTROLFILE_DETAILS&quot; created with compilation warnings\n \nORA-39082: Object type VIEW:&quot;OWNER&quot;.&quot;RC_BACKUP_ARCHIVELOG_DETAILS&quot; created with compilation warnings\n \nORA-39082: Object type VIEW:&quot;OWNER&quot;.&quot;RC_BACKUP_SPFILE_DETAILS&quot; created with compilation warnings\n \nORA-39082: Object type VIEW:&quot;OWNER&quot;.&quot;RC_BACKUP_SET_SUMMARY&quot; created with compilation warnings\n \nORA-39082: Object type VIEW:&quot;OWNER&quot;.&quot;RC_BACKUP_DATAFILE_SUMMARY&quot; created with compilation warnings\n \nORA-39082: Object type VIEW:&quot;OWNER&quot;.&quot;RC_BACKUP_CONTROLFILE_SUMMARY&quot; created with compilation warnings\n \nORA-39082: Object type VIEW:&quot;OWNER&quot;.&quot;RC_BACKUP_ARCHIVELOG_SUMMARY&quot; created with compilation warnings\n \nORA-39082: Object type VIEW:&quot;OWNER&quot;.&quot;RC_BACKUP_SPFILE_SUMMARY&quot; created with compilation warnings\n \nORA-39082: Object type VIEW:&quot;OWNER&quot;.&quot;RC_BACKUP_COPY_SUMMARY&quot; created with compilation warnings\n \nORA-39082: Object type VIEW:&quot;OWNER&quot;.&quot;RC_PROXY_COPY_SUMMARY&quot; created with compilation warnings\n \nORA-39082: Object type VIEW:&quot;OWNER&quot;.&quot;RC_PROXY_ARCHIVELOG_SUMMARY&quot; created with compilation warnings\n \nORA-39082: Object type VIEW:&quot;OWNER&quot;.&quot;RC_UNUSABLE_BACKUPFILE_DETAILS&quot; created with compilation warnings\n \nJob &quot;SYSTEM&quot;.&quot;SYS_IMPORT_FULL_01&quot; completed with 23 error(s) at Thu Aug 20 08:43:51 2020 elapsed 0 00:01:25\n \n&#x5B;user@hostname_novo EXP]$\n<\/pre><\/div>\n\n\n<p>Uma vez importado no novo banco de cat\u00e1logo 12C, posso proceder com o upgrade catalog:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;user@hostname ~]$ rman target \/ catalog OWNER\/****@CAT12C\n \nRecovery Manager: Release 18.0.0.0.0 - Production on Thu Aug 20 08:44:35 2020\nVersion 18.5.0.0.0\n \nCopyright (c) 1982, 2018, Oracle and\/or its affiliates.  All rights reserved.\n \nconnected to target database: TESTE (DBID=3671898123)\nconnected to recovery catalog database\nrecovery catalog is partially upgraded to 18.05.00.00\n \nRMAN&gt; upgrade catalog;\n \nOracle error from recovery catalog database: ORA-06550: line 1, column 41:\nPLS-00201: identifier &#039;DBMS_RCVMAN.GETPACKAGEVERSION&#039; must be declared\nORA-06550: line 1, column 34:\nPL\/SQL: Statement ignored\n \nrecovery catalog owner is OWNER\nenter UPGRADE CATALOG command again to confirm catalog upgrade\n \nRMAN&gt; upgrade catalog;\n \nrecovery catalog is partially upgraded to 18.05.00.00\nrecovery catalog upgraded to version 18.05.00.00.00\nDBMS_RCVMAN package upgraded to version 18.05.00.00\nDBMS_RCVCAT package upgraded to version 18.05.00.00.\n \nRMAN&gt;\n<\/pre><\/div>\n\n\n<p>Realizando o register do database e validando se o comando report schema lista todos os arquivos do banco:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;user@hostname folder]$ rman target \/ catalog OWNER\/****@CAT12C\n \nRecovery Manager: Release 18.0.0.0.0 - Production on Thu Aug 20 08:48:14 2020\nVersion 18.5.0.0.0\n \nCopyright (c) 1982, 2018, Oracle and\/or its affiliates.  All rights reserved.\n \nconnected to target database: TESTE (DBID=3671898123)\nconnected to recovery catalog database\n \nRMAN&gt; report schema;\n \nRMAN-00571: ===========================================================\nRMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============\nRMAN-00571: ===========================================================\nRMAN-03002: failure of report command at 08\/20\/2020 08:48:23\nRMAN-06004: Oracle error from recovery catalog database: RMAN-20001: target database not found in recovery catalog\n \nRMAN&gt; register database;\n \ndatabase registered in recovery catalog\nstarting full resync of recovery catalog\nfull resync complete\n \nRMAN&gt; report schema;\n \nReport of database schema for database with db_unique_name TESTE\n \nList of Permanent Datafiles\n===========================\nFile Size(MB) Tablespace           RB segs Datafile Name\n---- -------- -------------------- ------- ------------------------\n1    960      SYSTEM               YES     +DISK_TESTE\/TESTE\/DATAFILE\/system.256.100521234\n2    5790     SYSAUX               NO      +DISK_TESTE\/TESTE\/DATAFILE\/sysaux.257.100546742\n3    544      UNDOTBS1             YES     +DISK_TESTE\/TESTE\/DATAFILE\/undotbs1.257.10052747473\n4    1568     UNDOTBS2             YES     +DISK_TESTE\/TESTE\/DATAFILE\/undotbs2.259.100247447\n5    5        USERS                NO      +DISK_TESTE\/TESTE\/DATAFILE\/users.258.102572474\n6    1050     OWNER_MDS            NO      +DISK_TESTE\/TESTE\/DATAFILE\/owner_mds.261.10027554754\n7    60       OWNER_IAU            NO      +DISK_TESTE\/TESTE\/DATAFILE\/owner_iau.262.10063673467\n8    130      OWNER_IAS_UMS        NO      +DISK_TESTE\/TESTE\/DATAFILE\/owner_ias_ums.263.100644564\n9    60       OWNER_WLS            NO      +DISK_TESTE\/TESTE\/DATAFILE\/owner_wls.264.10063467467\n10   10       OWNER_STB            NO      +DISK_TESTE\/TESTE\/DATAFILE\/owner_stb.265.100675344574\n11   100      OWNER_ESS            NO      +DISK_TESTE\/TESTE\/DATAFILE\/owner_ess.266.1006247257\n12   120      OWNER_IAS_OPSS       NO      +DISK_TESTE\/TESTE\/DATAFILE\/owner_ias_opss.267.100257247247\n13   5250     OWNER_SSS            NO      +DISK_TESTE\/TESTE\/DATAFILE\/owner_sss.268.100257247547\n14   240      OWNER_APP            NO      +DISK_TESTE\/TESTE\/DATAFILE\/owner_app.259.10053257457574\n15   20       OWNER_AUDIT          NO      +DISK_TESTE\/TESTE\/DATAFILE\/owner_audit.260.10257247247\n \nList of Temporary Files\n=======================\nFile Size(MB) Tablespace           Maxsize(MB) Tempfile Name\n---- -------- -------------------- ----------- --------------------\n1    1024     TEMP                 10240       +DISK_TESTE\/TESTE\/TEMPFILE\/temp.258.100457435747\n2    100      OWNER_IAS_TEMP      32767       +DISK_TESTE\/TESTE\/TEMPFILE\/owner_ias_temp.261.1275457275427\n \nRMAN&gt;\n<\/pre><\/div>\n\n\n<p>A partir disso, \u00e9 poss\u00edvel ver que n\u00e3o h\u00e1 mais objetos inv\u00e1lidos no owner do cat\u00e1logo do rman do banco 12C, por conta do upgrade bem sucedido. Al\u00e9m disso, os backups s\u00e3o realizado com sucesso.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n...\nchannel CANAL1: backup set complete, elapsed time: 00:00:35\nFinished backup at 27-AUG-20\n...\nStarting Control File and SPFILE Autobackup at 27-AUG-20\npiece handle=c-3671898825-20200827-0b comment=API Version 2.0,MMS Version 5.0.0.0\nFinished Control File and SPFILE Autobackup at 27-AUG-20\n...\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>Ao tentar executar um backup de um banco recentemente atualizado para 18C, recebi a seguinte mensagem: Encontrei o Oracle note &#8220;RMAN-06429: RCVCAT database is not compatible with this version of RMAN (Doc ID 2022782.1)&#8220;. Nesta nota, \u00e9 indicado a necessidade de se realizar um &#8220;UPGRADE CATALOG&#8221;. O detalhe \u00e9 que o meu banco de cat\u00e1logo [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1837","post","type-post","status-publish","format-standard","hentry","category-backup-recovery"],"_links":{"self":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/1837","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/comments?post=1837"}],"version-history":[{"count":1,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/1837\/revisions"}],"predecessor-version":[{"id":9285,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/1837\/revisions\/9285"}],"wp:attachment":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/media?parent=1837"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/categories?post=1837"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/tags?post=1837"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}