ORA-39213: Metadata processing is not available 解決方案
向資料庫匯入資料:
[oracle@localhost-a ~]$ impdp system/123456@prod DIRECTORY=dpdata1 DUMPFILE=test.dmp SCHEMAS=test
Import: Release 11.2.0.1.0 - Production on Wed Aug 31 17:40:07 2016
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39006: internal error
ORA-39213: Metadata processing is not available
使用oerr命令檢視錯誤資訊:
[oracle@localhost-a ~]$ oerr ora 39213
39213, 00000, "Metadata processing is not available"
// *Cause: The Data Pump could not use the Metadata API. Typically,
// this is caused by the XSL stylesheets not being set up properly.
// *Action: Connect AS SYSDBA and execute dbms_metadata_util.load_stylesheets
// to reload the stylesheets.
按照提示進行操作,解決問題:
[oracle@localhost-a ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 31 17:44:22 2016
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> execute dbms_metadata_util.load_stylesheets;
PL/SQL procedure successfully completed.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
重新執行匯入操作:
[oracle@localhost-a ~]$ impdp system/123456@prod DIRECTORY=dpdata1 DUMPFILE=test.dmp SCHEMAS=test
Import: Release 11.2.0.1.0 - Production on Wed Aug 31 17:44:58 2016
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "SYSTEM"."SYS_IMPORT_SCHEMA_01" successfully loaded/unloaded
Starting "SYSTEM"."SYS_IMPORT_SCHEMA_01": system/********@prod DIRECTORY=dpdata1 DUMPFILE=test.dmp SCHEMAS=test
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/TABLESPACE_QUOTA
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/SYNONYM/SYNONYM
Processing object type SCHEMA_EXPORT/TYPE/TYPE_SPEC
Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
Processing object type SCHEMA_EXPORT/TABLE/TABLE
…………
Processing object type SCHEMA_EXPORT/TABLE/TRIGGER
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
匯入成功!!!
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31394774/viewspace-2142126/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- No Task Available解決方法AI
- 解決:Failed to download metadata for repo ‘base‘AI
- Windows 10 下 Homestead/VM 啟動提示 VT-x is not available 解決方案WindowsAI
- MySQL DDL Waiting for table metadata lock 解決MySqlAI
- 程式碼改造引發的NoSuchBeanDefinitionException:no bean named 'XXXX' available問題解決方案BeanExceptionAI
- ORA-01034: ORACLE not available的解決辦法OracleAI
- 解決 Sorry,this Adobe app is not available 問題的方法APPAI
- Spring中出現:No bean named 'XXX' available問題解決SpringBeanAI
- 【Bug解決】CentOS-8中“Failed to download metadata for repo ‘AppStreamCentOSAIAPP
- 解決Parameter '__frch_item_0' not found. Available parameters 問題AI
- Swift 5 Type Metadata 詳解Swift
- 解決方案| anyRTC金融音視訊解決方案
- UnexpectedRollbackException解決方案Exception
- 題解:CF644B Processing Queries
- 高併發解決方案詳解(9大常見解決方案)
- Android studio 解決編譯速度慢 Download maven-metadata.xml速度很慢Android編譯MavenXML
- yum安裝軟體時,出現"No package XXX available"的解決辦法PackageAI
- 高可用解決方案
- Redis bigkey解決方案Redis
- 前端整合解決方案前端
- Feast on Amazon 解決方案AST
- 論文解讀《The Emerging Field of Signal Processing on Graphs》
- minikube配置代理:解決方案以及解決思路
- 智慧停車場解決方案,反向尋車系統解決方案
- Qt MetadataQT
- 跨域問題,解決方案 – CORS方案跨域CORS
- ROS意外崩掉解決方案ROS
- JEESZ-SSO解決方案
- nodejs微服務解決方案NodeJS微服務
- 前端圖片解決方案前端
- javascript非同步解決方案JavaScript非同步
- 智慧農業解決方案
- 大資料解決方案大資料
- 大數相乘解決方案
- 非同步解決方案---promise非同步Promise
- AI影片分析解決方案AI
- 解決方案製作思路
- 同源策略及其解決方案
- Wipro推出VisionEDGE解決方案