oracle 12C密码profile找不到EXP-00058

[oracle@node1 expdir]$ exp system/oracle@pdb1 full=y file=full.dmp log=full.log

Export: Release 12.2.0.1.0 - Production on Mon Oct 30 09:56:32 2023

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


Connected to: Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
Export done in AL32UTF8 character set and AL16UTF16 NCHAR character set
server uses ZHS16GBK character set (possible charset conversion)

About to export the entire database ...
. exporting tablespace definitions
. exporting profiles
EXP-00058: Password Verify Function for ORA_STIG_PROFILE profile does not exist
EXP-00000: Export terminated unsuccessfully

解决方法

select * FROM DBA_PROFILES WHERE  RESOURCE_NAME='PASSWORD_VERIFY_FUNCTION';

alter PROFILE ORA_STIG_PROFILE LIMIT  PASSWORD_VERIFY_FUNCTION NULL;

修改完整之后开始进行schmea导出,如果全库导出pdb会失败
exp system/oracle@pdb1 full=y file=full.dmp log=full.log
报错代码

EXP-00062: invalid source statements for an object type
EXP-00000: Export terminated unsuccessfully
单个schema导处没有问题
[oracle@node1 expdir]$ exp dba_li/oracle@pdb1 file=li.dmp log=li.log 

Export: Release 12.2.0.1.0 - Production on Mon Oct 30 10:30:21 2023

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


Connected to: Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
Export done in AL32UTF8 character set and AL16UTF16 NCHAR character set
server uses ZHS16GBK character set (possible charset conversion)

About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user DBA_LI 
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user DBA_LI 
About to export DBA_LI's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
. about to export DBA_LI's tables via Conventional Path ...
. . exporting table                       TESTINFO      10000 rows exported
. exporting synonyms
. exporting views
. exporting stored procedures
. exporting operators
. exporting referential integrity constraints
. exporting triggers
. exporting indextypes
. exporting bitmap, functional and extensible indexes
. exporting posttables actions
. exporting materialized views
. exporting snapshot logs
. exporting job queues
. exporting refresh groups and children
. exporting dimensions
. exporting post-schema procedural objects and actions
. exporting statistics
Export terminated successfully without warnings.

你可能感兴趣的:(oracle,数据库)