<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>《expdp遭遇ORA-39006/ORA-39213故障解决》的评论</title>
	<atom:link href="https://www.xifenfei.com/2012/10/expdp%e9%81%ad%e9%81%87ora-39006ora-39213%e6%95%85%e9%9a%9c%e8%a7%a3%e5%86%b3.html/feed" rel="self" type="application/rss+xml" />
	<link>https://www.xifenfei.com/2012/10/expdp%e9%81%ad%e9%81%87ora-39006ora-39213%e6%95%85%e9%9a%9c%e8%a7%a3%e5%86%b3.html</link>
	<description>提供7*24专业数据库(Oracle,SQL Server,MySQL,PostgreSQL等)恢复和技术支持@Tel:17813235971</description>
	<lastBuildDate>Thu, 11 Dec 2025 02:46:14 +0000</lastBuildDate>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>作者：惜分飞</title>
		<link>https://www.xifenfei.com/2012/10/expdp%e9%81%ad%e9%81%87ora-39006ora-39213%e6%95%85%e9%9a%9c%e8%a7%a3%e5%86%b3.html/comment-page-1#comment-1119</link>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
		<pubDate>Sun, 18 Nov 2012 09:27:49 +0000</pubDate>
		<guid isPermaLink="false">https://www.xifenfei.com/?p=3945#comment-1119</guid>
		<description><![CDATA[&lt;strong&gt;&lt;a href=&quot;#comment-1066&quot; rel=&quot;nofollow&quot;&gt;&#24796;&#20998;&#39134;&lt;/a&gt;&lt;/strong&gt;, 

 SYS, ORDSYS, EXFSYS, MDSYS, DMSYS, CTXSYS, ORDPLUGINS, LBACSYS, XDB, SI_INFORMTN_SCHEMA, DIP, DBSNMP, and WMSYS用户数据不能被expdp导出来]]></description>
		<content:encoded><![CDATA[<p><strong><a href="#comment-1066" rel="nofollow">&#24796;&#20998;&#39134;</a></strong>, </p>
<p> SYS, ORDSYS, EXFSYS, MDSYS, DMSYS, CTXSYS, ORDPLUGINS, LBACSYS, XDB, SI_INFORMTN_SCHEMA, DIP, DBSNMP, and WMSYS用户数据不能被expdp导出来</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：惜分飞</title>
		<link>https://www.xifenfei.com/2012/10/expdp%e9%81%ad%e9%81%87ora-39006ora-39213%e6%95%85%e9%9a%9c%e8%a7%a3%e5%86%b3.html/comment-page-1#comment-1066</link>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
		<pubDate>Wed, 31 Oct 2012 16:20:50 +0000</pubDate>
		<guid isPermaLink="false">https://www.xifenfei.com/?p=3945#comment-1066</guid>
		<description><![CDATA[expdp不能导出sys中对象
[shell]
$ expdp &quot;&#039;/ as sysdba&#039;&quot; dumpfile=xifenfei.dmp tables=sys.t_xifenfei  Directory=AWR_DIR

Export: Release 10.2.0.1.0 - 64bit Production on Wednesday, 31 October, 2012 14:16:18

Copyright (c) 2003, 2005, Oracle.  All rights reserved.

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
Starting &quot;SYS&quot;.&quot;SYS_EXPORT_TABLE_01&quot;:  &#039;/******** AS SYSDBA&#039; dumpfile=xifenfei.dmp
tables=sys.t_xifenfei Directory=AWR_DIR 
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 0 KB
ORA-39165: Schema SYS was not found.
ORA-39166: Object T_XIFENFEI was not found.
ORA-31655: no data or metadata objects selected for job
Job &quot;SYS&quot;.&quot;SYS_EXPORT_TABLE_01&quot; completed with 3 error(s) at 14:16:24
[/shell]]]></description>
		<content:encoded><![CDATA[<p>expdp不能导出sys中对象</p>
<pre class="brush: bash; title: ; notranslate">
$ expdp &quot;'/ as sysdba'&quot; dumpfile=xifenfei.dmp tables=sys.t_xifenfei  Directory=AWR_DIR

Export: Release 10.2.0.1.0 - 64bit Production on Wednesday, 31 October, 2012 14:16:18

Copyright (c) 2003, 2005, Oracle.  All rights reserved.

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
Starting &quot;SYS&quot;.&quot;SYS_EXPORT_TABLE_01&quot;:  '/******** AS SYSDBA' dumpfile=xifenfei.dmp
tables=sys.t_xifenfei Directory=AWR_DIR 
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 0 KB
ORA-39165: Schema SYS was not found.
ORA-39166: Object T_XIFENFEI was not found.
ORA-31655: no data or metadata objects selected for job
Job &quot;SYS&quot;.&quot;SYS_EXPORT_TABLE_01&quot; completed with 3 error(s) at 14:16:24
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>作者：惜分飞</title>
		<link>https://www.xifenfei.com/2012/10/expdp%e9%81%ad%e9%81%87ora-39006ora-39213%e6%95%85%e9%9a%9c%e8%a7%a3%e5%86%b3.html/comment-page-1#comment-1064</link>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
		<pubDate>Wed, 31 Oct 2012 11:45:31 +0000</pubDate>
		<guid isPermaLink="false">https://www.xifenfei.com/?p=3945#comment-1064</guid>
		<description><![CDATA[Ora-39213 Using Data Pump Export 
[shell]
Applies to: 
Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 10.2.0.1 - Release: 10.2 to 10.2
Information in this document applies to any platform.

Symptoms
 When running expdp the following errors are raised:

ORA-39006: internal error
ORA-39213: Metadata processing is not available

This error was detected while executing the DataPump in any platform.
 
Cause
 DataPump export uses DBMS_METADATA_UTIL package but this package does not successfully ran.  
Executing sys.dbms_metadata_util.load_stylesheets procedure failed with following error:

 
ORA-31609: error loading file &quot;kualter.xsl&quot; from file system directory &quot;/rdbms/xml/xsl&quot;
ORA-06512: at &quot;SYS.DBMS_METADATA_UTIL&quot;, line 1807
ORA-06512: at line 1


This package needs XML being installed and XML needs JAVA being installed.

The select from view dba_registry shows neither Java nor XML were installed:


SQL&gt; SELECT comp_id, version, status FROM dba_registry;  

COMP_ID                      VERSION                     STATUS
---------------------------  --------------------------- -----------
CATALOG                      10.2.0.2.0                  VALID
CATPROC                      10.2.0.2.0                  VALID

 
Solution
 1. Install JVM and XML  executing the following scripts from sqlplus:


SQL&gt; connect / as sysdba
SQL&gt; @$ORACLE_HOME/javavm/install/initjvm.sql
 
SQL&gt; connect / as sysdba
SQL&gt; @$ORACLE_HOME/xdk/admin/initxml.sql
 
SQL&gt; connect / as sysdba
SQL&gt; @$ORACLE_HOME/rdbms/admin/catjava.sql
 
SQL&gt; connect / as sysdba
SQL&gt; @$ORACLE_HOME/rdbms/admin/utlrp.sql
 
2. Check if the scripts successfully ran:

select comp_name, version, status from dba_registry;

 COMP_NAME                          VERSION                     STATUS
---------------------------------- --------------------------- -------
Oracle Database Catalog Views      10.2.0.2.0                  VALID
Oracle Database Packages and Types 10.2.0.2.0                  VALID
JServer JAVA Virtual Machine       10.2.0.2.0                  VALID
Oracle XDK                         10.2.0.2.0                  VALID
Oracle Database Java Packages      10.2.0.2.0                  VALID

3. Run again sys.dbms_metadata_util.load_stylesheets from sqlplus:

connect / as sysdba
execute sys.dbms_metadata_util.load_stylesheets;
[/shell]]]></description>
		<content:encoded><![CDATA[<p>Ora-39213 Using Data Pump Export </p>
<pre class="brush: bash; title: ; notranslate">
Applies to: 
Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 10.2.0.1 - Release: 10.2 to 10.2
Information in this document applies to any platform.

Symptoms
 When running expdp the following errors are raised:

ORA-39006: internal error
ORA-39213: Metadata processing is not available

This error was detected while executing the DataPump in any platform.
 
Cause
 DataPump export uses DBMS_METADATA_UTIL package but this package does not successfully ran.  
Executing sys.dbms_metadata_util.load_stylesheets procedure failed with following error:

 
ORA-31609: error loading file &quot;kualter.xsl&quot; from file system directory &quot;/rdbms/xml/xsl&quot;
ORA-06512: at &quot;SYS.DBMS_METADATA_UTIL&quot;, line 1807
ORA-06512: at line 1


This package needs XML being installed and XML needs JAVA being installed.

The select from view dba_registry shows neither Java nor XML were installed:


SQL&gt; SELECT comp_id, version, status FROM dba_registry;  

COMP_ID                      VERSION                     STATUS
---------------------------  --------------------------- -----------
CATALOG                      10.2.0.2.0                  VALID
CATPROC                      10.2.0.2.0                  VALID

 
Solution
 1. Install JVM and XML  executing the following scripts from sqlplus:


SQL&gt; connect / as sysdba
SQL&gt; @$ORACLE_HOME/javavm/install/initjvm.sql
 
SQL&gt; connect / as sysdba
SQL&gt; @$ORACLE_HOME/xdk/admin/initxml.sql
 
SQL&gt; connect / as sysdba
SQL&gt; @$ORACLE_HOME/rdbms/admin/catjava.sql
 
SQL&gt; connect / as sysdba
SQL&gt; @$ORACLE_HOME/rdbms/admin/utlrp.sql
 
2. Check if the scripts successfully ran:

select comp_name, version, status from dba_registry;

 COMP_NAME                          VERSION                     STATUS
---------------------------------- --------------------------- -------
Oracle Database Catalog Views      10.2.0.2.0                  VALID
Oracle Database Packages and Types 10.2.0.2.0                  VALID
JServer JAVA Virtual Machine       10.2.0.2.0                  VALID
Oracle XDK                         10.2.0.2.0                  VALID
Oracle Database Java Packages      10.2.0.2.0                  VALID

3. Run again sys.dbms_metadata_util.load_stylesheets from sqlplus:

connect / as sysdba
execute sys.dbms_metadata_util.load_stylesheets;
</pre>
]]></content:encoded>
	</item>
</channel>
</rss>
