ITPub博客

首页 > 数据库 > Oracle > ORA-19505: failed to identify file "/home/oracle/dmp/20150625.DMP"

ORA-19505: failed to identify file "/home/oracle/dmp/20150625.DMP"

Oracle 作者:urgel_babay 时间:2016-02-29 17:09:42 0 删除 编辑
2015.06.25

    今天在做导入的时候报错,这个导入已经做了很多次没报错,今天做的时候居然报错
背景:从单实例expdp导出用户方案,impdp导入到双节点RAC
impdp directory=dmp dumpfile=20150625.dmp SCHEMAS=szxn parallel=3  job_name=my_job_in

ORA-19505: failed to identify file "/home/oracle/dmp/SZXN20150625.DMP"

ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3
. . imported "SZXN"."TB_LB_APPENDIX"                     68.98 MB  272084 rows
. . imported "SZXN"."TB_LM_PAYPLAN"                      30.40 MB  287677 rows
ORA-31693: Table data object "SZXN"."TB_LM_CLEARTABLE" failed to load/unload and is being skipped due to error:
ORA-31640: unable to open dump file "/home/oracle/dmp/SZXN20150625.DMP" for read
ORA-19505: failed to identify file "/home/oracle/dmp/SZXN20150625.DMP"
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3
. . imported "SZXN"."TB_LB_APPENDIX_BAK"                 30.44 MB  120410 rows
ORA-31693: Table data object "SZXN"."TB_LB_APPLYLOG" failed to load/unload and is being skipped due to error:
ORA-31640: unable to open dump file "/home/oracle/dmp/SZXN20150625.DMP" for read
ORA-19505: failed to identify file "/home/oracle/dmp/SZXN20150625.DMP"
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
.
.
.

Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/COMMENT
Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_SPEC
Processing object type SCHEMA_EXPORT/FUNCTION/FUNCTION
Processing object type SCHEMA_EXPORT/PROCEDURE/PROCEDURE
Processing object type SCHEMA_EXPORT/PACKAGE/COMPILE_PACKAGE/PACKAGE_SPEC/ALTER_PACKAGE_SPEC
Processing object type SCHEMA_EXPORT/FUNCTION/ALTER_FUNCTION
Processing object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE
ORA-39082: Object type ALTER_PROCEDURE:"SZXN"."PROC_SURVEYDETAIL" created with compilation warnings
Processing object type SCHEMA_EXPORT/VIEW/VIEW
Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_BODY
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.LOAD_METADATA [SELECT process_order, flags, xml_clob, NVL(dump_fileid, :1), NVL(dump_position, :2), dump_length, dump_allocation, NVL(value_n, 0), grantor, object_row, object_schema, object_long_name, partition_name, subpartition_name, processing_status, processing_state, base_object_type, base_object_schema, base_object_name, base_process_order, property, size_estimate, in_progress, original_object_schema, original_object_name, creation_level, object_int_oid FROM "SYS"."MY_JOB_IN" WHERE  process_order between :3 AND :4 AND duplicate = 0 AND processing_state NOT IN (:5, :6, :7) ORDER BY process_order] 
ORA-19505: failed to identify file "/home/oracle/dmp/SZXN20150625.DMP"
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3

ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 9715

----- PL/SQL Call Stack -----
  object      line  object
  handle    number  name
0xc46dfbf8     21979  package body SYS.KUPW$WORKER
0xc46dfbf8      9742  package body SYS.KUPW$WORKER
0xc46dfbf8      4287  package body SYS.KUPW$WORKER
0xc46dfbf8     10450  package body SYS.KUPW$WORKER
0xc46dfbf8      1824  package body SYS.KUPW$WORKER
0x14a853a98         2  anonymous block

Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Processing object type SCHEMA_EXPORT/JOB
Job "SYS"."MY_JOB_IN" completed with 70 error(s) at Thu Jun 25 18:29:39 2015 elapsed 0 00:03:44

[oracle@mctrac1 dmp]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Thu Jun 25 18:33:21 2015

Copyright (c) 1982, 2013, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options

解决过程:
1、开始以为是识别不了dmp包,导出的时命令语句里面是小写
于是重新用纯数字做包名导出,结果还是报这样的错误,
2、以为是dmp包权限问你,
于是给了755 权限

解决办法:
去掉并行 parallel=3

原因: 可能是平台不一样,导出的时候也是没有并行。





来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/30936525/viewspace-2016583/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2016-02-29

  • 博文量
    203
  • 访问量
    339117