oracle导入报错39002,oracle impdp ORA-39002

1. 导入报错

[oracle@testlink-standby ~]$ impdp system/oracle@orcl DIRECTORY=db_backup DUMPFILE=QA2_EXPORT.DMP LOGFILE=impdp_FALABELLA_SO_CO_STG_20120802.log SCHEMAS=qa2_atgcatalogb_mf CONTENT=ALL PARALLEL=1 TABLE_EXISTS_ACTION=REPLACE

Import: Release 11.2.0.1.0 - Production on Tue Jun 25 01:42:49 2013

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

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

ORA-39002: invalid operation

ORA-31694: master table "SYSTEM"."SYS_IMPORT_SCHEMA_01" failed to load/unload

ORA-31640: unable to open dump file "/opt/oracle/db_backup/QA2_EXPORT.DMP" for read

ORA-19505: failed to identify file "/opt/oracle/db_backup/QA2_EXPORT.DMP"

ORA-27046: file size is not a multiple of logical block size

Additional information: 1

[oracle@testlink-standby ~]$

2. Matelink上给出的原因:

DataPump Import (IMPDP) Fails With Errors ORA-39002 ORA-31694 ORA-31640 ORA-19505 ORA-27046 [ID 785473.1]

0818b9ca8b590ca3270a3433284dd417.png

Modified:Mar 28, 2013

0818b9ca8b590ca3270a3433284dd417.pngType:PROBLEM

0818b9ca8b590ca3270a3433284dd417.pngStatus:PUBLISHED

0818b9ca8b590ca3270a3433284dd417.png

0818b9ca8b590ca3270a3433284dd417.pngPriority:3

0818b9ca8b590ca3270a3433284dd417.png

In this Document

Applies to: Oracle Database - Enterprise Edition - Version 10.1.0.2 and later

Information in this document applies to any platform.

***Checked for relevance on 28-MAR-2013***

Symptoms

DataPump Import (IMPDP) fails with the following errors:

ORA-39002: invalid operation ORA-31694: master table "" failed to load/unload ORA-31640: unable to open dump file "" for read ORA-19505: failed to identify file "" ORA-27046: file size is not a multiple of logical block size

Cause

The exported dump file is corrupt.

Solution

If the dump file came from a different system, then check if a binary transfer has taken place to transfer it to the current system. Also check the file size and if possible the checksum of the dump file.

If the problem persists:

recreate the dump file by restarting the EXPDP process and make sure EXPDP completes without errors

verify that the directory pointed to by the DIRECTORY parameter can be read from and written to without any problems. This can e.g. be done by performing an EXPDP and IMPDP operation or by using the UTL_FILE PL/SQL routine to read from and write to a file in this directory

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值