Oracle impdp:未找到 UDI-00013 消息 13

Oracle impdp : UDI-00013 Message 13 not found

使用 Oracle impdp 我收到错误消息:

UDI-00013 Message 13 not found No message file for product=RDBMS, facility=UDI

我该如何纠正?

如果您的 ORACLE_HOME 环境变量未设置,或者已设置但未导出,您可能会遇到此错误:

> unset ORACLE_HOME
> ORACLE_HOME=/dboracle/orabase/product/11.2.0.BTSP2
> impdp
UDI-00013: Message 13 not found; No message file for product=RDBMS, facility=UDI
UDI-00019: You may need to set ORACLE_HOME to your Oracle software directory

> export ORACLE_HOME
> impdp

Import: Release 11.2.0.3.0 - Production on Fri Mar 6 12:16:51 2015

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

Username:

如果已设置,那么您可以用 echo 查看它,例如,确保它也用 export ORACLE_HOME 导出;您还可以检查哪些变量已使用 export | grep ORACLE 导出,这样您就可以查看是否缺少其他任何内容 - 可能 ORACLE_SID 取决于您的连接字符串。

这些通常由环境设置脚本设置。