重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1690|回复: 0
打印 上一主题 下一主题

[范例] expdp导出报错ORA-39006和ORA-39213解决

[复制链接]
跳转到指定楼层
楼主
发表于 2022-8-10 12:05:32 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
报错现象:
[oracle@sztech ~]$ expdp system/oracle directory=dump_dir dumpfile=dmpfile.dmp  transport_tablespaces='tb1';

Export: Release 11.2.0.4.0 - Production on Wed Aug 10 11:59:00 2022

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

UDE-28002: operation generated ORACLE error 28002
ORA-28002: the password will expire within 7 days

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.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


网上查了下,解决方法如下描述:
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.
  
执行如下:
SQL>  execute dbms_metadata_util.load_stylesheets;

PL/SQL procedure successfully completed.

SQL>

再次导出成功
[oracle@sztech dumpdir]$ expdp system/oracle directory=dump_dir dumpfile=dmpfile.dmp transport_tablespaces=tb1;

Export: Release 11.2.0.4.0 - Production on Wed Aug 10 12:03:25 2022

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

UDE-28002: operation generated ORACLE error 28002
ORA-28002: the password will expire within 7 days

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Starting "SYSTEM"."SYS_EXPORT_TRANSPORTABLE_01":  system/******** directory=dump_dir dumpfile=dmpfile.dmp transport_tablespaces=tb1
Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
Processing object type TRANSPORTABLE_EXPORT/TABLE
Processing object type TRANSPORTABLE_EXPORT/POST_INSTANCE/PLUGTS_BLK
Master table "SYSTEM"."SYS_EXPORT_TRANSPORTABLE_01" successfully loaded/unloaded
******************************************************************************
Dump file set for SYSTEM.SYS_EXPORT_TRANSPORTABLE_01 is:
  /u01/app/oracle/dumpdir/dmpfile.dmp
******************************************************************************
Datafiles required for transportable tablespace TB1:
  /u01/app/oracle/oradata/orcl/tb1.dbf
Job "SYSTEM"."SYS_EXPORT_TRANSPORTABLE_01" successfully completed at Wed Aug 10 12:04:01 2022 elapsed 0 00:00:35

[oracle@sztech dumpdir]$


分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-1 08:30 , Processed in 0.115237 second(s), 21 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表