这个问题挺简单,想了想,还是记录下吧。
[root@ufdb165 bin]# ./impdp cwy_init0914/cwy_123456789@ufgovdb1 directory=DATA_PUMP_DIR dumpfile=cwy_init_0902.dmp REMAP_SCHEMA=cwy_init:cwy_init0914 transform=segment_attributes:n logfile= imp_cwy_init_0914.log
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
看了下系统用户是root,明白需要切换到Oracle用户执行导入操作
[root@ufdb165 ~]# su - oracle
这里记录这个问题,也是想明确下,导出、导入Oracle数据库,必须要在Oracle用户下执行操作。