报错现象:
[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.