{"id":2535,"date":"2017-07-30T21:09:14","date_gmt":"2017-07-30T13:09:14","guid":{"rendered":"http:\/\/cn.hostease.com\/xueyuan\/?p=2535"},"modified":"2017-07-30T21:09:14","modified_gmt":"2017-07-30T13:09:14","slug":"ora-39213-metadata-processing-is-not-available-%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88","status":"publish","type":"post","link":"https:\/\/cn.hostease.com\/xueyuan\/jishu\/shujuku\/ora-39213-metadata-processing-is-not-available-%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88\/","title":{"rendered":"ORA-39213: Metadata processing is not available \u89e3\u51b3\u65b9\u6848"},"content":{"rendered":"<p><strong>ORA-39213: Metadata processing is not available \u89e3\u51b3\u65b9\u6848<\/strong><\/p>\n<p>\u5411\u6570\u636e\u5e93\u5bfc\u5165\u6570\u636e\uff1a<br \/>\n[Oracle@localhost-a ~]$ impdp system\/123456@prod DIRECTORY=dpdata1 DUMPFILE=test.dmp SCHEMAS=test<\/p>\n<p>Import: Release 11.2.0.1.0 &#8211; Production on Wed Aug 31 17:40:07 2016<\/p>\n<p>Copyright (c) 1982, 2009, Oracle and\/or its affiliates.\u00a0 All rights reserved.<\/p>\n<p>Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 &#8211; 64bit Production<br \/>\nWith the Partitioning, OLAP, Data Mining and Real Application Testing options<br \/>\nORA-39006: internal error<br \/>\nORA-39213: Metadata processing is not available<\/p>\n<p>\u4f7f\u7528oerr\u547d\u4ee4\u67e5\u770b\u9519\u8bef\u4fe1\u606f\uff1a<br \/>\n[oracle@localhost-a ~]$ oerr ora 39213<br \/>\n39213, 00000, &#8220;Metadata processing is not available&#8221;<br \/>\n\/\/ *Cause:\u00a0 The Data Pump could not use the Metadata API.\u00a0 Typically,<br \/>\n\/\/\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 this is caused by the XSL stylesheets not being set up properly.<br \/>\n\/\/ *Action: Connect AS SYSDBA and execute dbms_metadata_util.load_stylesheets<br \/>\n\/\/\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 to reload the stylesheets.<\/p>\n<p>\u6309\u7167\u63d0\u793a\u8fdb\u884c\u64cd\u4f5c\uff0c\u89e3\u51b3\u95ee\u9898\uff1a<br \/>\n[oracle@localhost-a ~]$ sqlplus \/ as sysdba<\/p>\n<p>SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 31 17:44:22 2016<\/p>\n<p>Copyright (c) 1982, 2009, Oracle.\u00a0 All rights reserved.<\/p>\n<p>Connected to:<br \/>\nOracle Database 11g Enterprise Edition Release 11.2.0.1.0 &#8211; 64bit Production<br \/>\nWith the Partitioning, OLAP, Data Mining and Real Application Testing options<\/p>\n<p>SQL&gt; execute dbms_metadata_util.load_stylesheets;<\/p>\n<p>PL\/SQL procedure successfully completed.<\/p>\n<p>SQL&gt; exit<br \/>\nDisconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 &#8211; 64bit Production<br \/>\nWith the Partitioning, OLAP, Data Mining and Real Application Testing options<\/p>\n<p>\u91cd\u65b0\u6267\u884c\u5bfc\u5165\u64cd\u4f5c\uff1a<br \/>\n[oracle@localhost-a ~]$ impdp system\/123456@prod DIRECTORY=dpdata1 DUMPFILE=test.dmp SCHEMAS=test<br \/>\nImport: Release 11.2.0.1.0 &#8211; Production on Wed Aug 31 17:44:58 2016<\/p>\n<p>Copyright (c) 1982, 2009, Oracle and\/or its affiliates.\u00a0 All rights reserved.<\/p>\n<p>Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 &#8211; 64bit Production<br \/>\nWith the Partitioning, OLAP, Data Mining and Real Application Testing options<br \/>\nMaster table &#8220;SYSTEM&#8221;.&#8221;SYS_IMPORT_SCHEMA_01&#8243; successfully loaded\/unloaded<br \/>\nStarting &#8220;SYSTEM&#8221;.&#8221;SYS_IMPORT_SCHEMA_01&#8243;:\u00a0 system\/********@prod DIRECTORY=dpdata1 DUMPFILE=test.dmp SCHEMAS=test<br \/>\nProcessing object type SCHEMA_EXPORT\/USER<br \/>\nProcessing object type SCHEMA_EXPORT\/SYSTEM_GRANT<br \/>\nProcessing object type SCHEMA_EXPORT\/ROLE_GRANT<br \/>\nProcessing object type SCHEMA_EXPORT\/DEFAULT_ROLE<br \/>\nProcessing object type SCHEMA_EXPORT\/TABLESPACE_QUOTA<br \/>\nProcessing object type SCHEMA_EXPORT\/PRE_SCHEMA\/PROCACT_SCHEMA<br \/>\nProcessing object type SCHEMA_EXPORT\/SYNONYM\/SYNONYM<br \/>\nProcessing object type SCHEMA_EXPORT\/TYPE\/TYPE_SPEC<br \/>\nProcessing object type SCHEMA_EXPORT\/SEQUENCE\/SEQUENCE<br \/>\nProcessing object type SCHEMA_EXPORT\/TABLE\/TABLE<br \/>\n\u2026\u2026\u2026\u2026<br \/>\nProcessing object type SCHEMA_EXPORT\/TABLE\/TRIGGER<br \/>\nProcessing object type SCHEMA_EXPORT\/TABLE\/STATISTICS\/TABLE_STATISTICS<\/p>\n<p>\u5bfc\u5165\u6210\u529f\uff01\uff01\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ORA-39213: Metadata processing is not available \u89e3\u51b3\u65b9\u6848 \u5411\u6570 &#8230; <a title=\"ORA-39213: Metadata processing is not available \u89e3\u51b3\u65b9\u6848\" class=\"read-more\" href=\"https:\/\/cn.hostease.com\/xueyuan\/jishu\/shujuku\/ora-39213-metadata-processing-is-not-available-%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88\/\" aria-label=\"\u9605\u8bfb ORA-39213: Metadata processing is not available \u89e3\u51b3\u65b9\u6848\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[10],"tags":[],"class_list":["post-2535","post","type-post","status-publish","format-standard","hentry","category-shujuku"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/2535","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/comments?post=2535"}],"version-history":[{"count":1,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/2535\/revisions"}],"predecessor-version":[{"id":2536,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/2535\/revisions\/2536"}],"wp:attachment":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/media?parent=2535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/categories?post=2535"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/tags?post=2535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}