How to solve of ORA-04063 and RMAN-06429
How to solve of ORA-04063 and RMAN-06429
--導讀:19.9的rac在執行rman target /時報錯,提示"SYS.DBMS_RCVMAN"有錯誤,這樣的報錯一般是因為升級後導致一些body失效導致,我們可用採取重建的方式解決。
--版本
[oracle@rac1:/u01/app/oracle/product/19.0.0/db_1/OPatch]$./opatch lspatches 31771877;Database Release Update : 19.9.0.0.201020 (31771877) 29585399;OCW RELEASE UPDATE 19.3.0.0.0 (29585399) OPatch succeeded.
--問題
[oracle@rac1:/home/oracle]$rman target / Recovery Manager: Release 19.0.0.0.0 - Production on Sun Jul 10 21:47:59 2022 Version 19.9.0.0.0 Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights reserved. Oracle error from target database: ORA-04063: package body "SYS.DBMS_RCVMAN" has errors ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_RCVMAN" error executing package DBMS_RCVMAN in TARGET database RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-00554: initialization of internal recovery manager package failed RMAN-06429: TARGET database is not compatible with this version of RMAN
--參考
Connect to target in RMAN fails with RMAN-03010 RMAN-10015 (Doc ID 1592098.1) - Recompile the rman packages and procedures: Recreate DBMS_RCVMAN: @$ORACLE_HOME/rdbms/admin/dbmsrman.sql @$ORACLE_HOME/rdbms/admin/prvtrmns.plb Recreate DBMS_BACKUP_RESTORE @$ORACLE_HOME/rdbms/admin/dbmsbkrs.sql @$ORACLE_HOME/rdbms/admin/prvtbkrs.plb
--解決辦法
SQL> @?/rdbms/admin/dbmsrman.sql SQL> @?/rdbms/admin/prvtrmns.plb
--反思
以後遇到package body的錯誤,均可採用重建的方式進行。然後通過mos確定可行性。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26442936/viewspace-2905098/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- How to solve the "ambiguous argument 'origin..HEAD'"...
- How to ssh
- 【故障處理】ORA-31600和ORA-04063錯誤
- How to find dependency
- How to Install psql on MacSQLMac
- How Python list works?Python
- How to Install LibreOffice on UbuntuUbuntu
- How OpenStack integrates with Ceph?
- How to Build a Cybersecurity CareerUI
- CISO之What & How
- [譯] WebAssembly: How and whyWeb
- How to Restart Qt ApplicationRESTQTAPP
- ORA-04063: package body SYS.DBMS_REGISTRY_SYS has errors (Doc ID 2165402.1)PackageError
- expdp 報錯 ORA-04063: package body "SYS.DBMS_METADATA_UTIL" has errorsPackageError
- [Javascript] How javascript read the property?JavaScript
- How to subscribe to GPT4?GPT
- How to review diffs between commitsViewMIT
- How to Convert a Class File to a Ja
- How boltdb Write its Data?
- 2.3.3.3.1 How an Application Upgrade WorksAPP
- How to Optimize PostgreSQL Logical ReplicationSQL
- how to show hidden parameter(zt)
- how to build a website like apkmirrorUIWebAPK
- How to make sense of Kotlin coroutinesKotlin
- How to Install ClamAV on CentOS 7CentOS
- How to change the background color for PyCharmPyCharm
- HDU1213-How Many Tables
- How to Install and Configure VNC on Ubuntu 18.04VNCUbuntu
- How to draw a simple relation graph in PythonPython
- coca How many 搭配 大寫
- How To Delete Unwanted Boot Menu Itemsdeleteboot
- How to set word-wrap in VSCode?VSCode
- How to get propose products in Sales Order
- How to Cancel a Concurrent Request Stuck in the Queue?
- How To Turn SNMP On/Off ? [ID 472530.1]
- How Oracle Store Number internal(zt)Oracle
- 翻譯|How to Export a Connected ComponentExport
- 翻譯|How to Use the useReducer HookuseReducerHook