RAC單個節點執行expdp提示ORA-31693 ORA-31617 ORA-19505 ORA-27037錯誤
1.在RAC單節點執行expdp,出現ORA-31693 ORA-31617 ORA-19505 ORA-27037錯誤
oracle@cwgsdb1:/backup$ expdp directory=dir_dp schemas=hr dumpfile=hr.dmp logfile=hr.log parallel=2 Export: Release 11.2.0.4.0 - Production on Thu Oct 25 17:14:26 2018 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. Username: system Password: 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 Starting "SYSTEM"."SYS_EXPORT_SCHEMA_01": system/******** directory=dir_dp schemas=hr dumpfile=hr.dmp logfile=hr.log parallel=2 Estimate in progress using BLOCKS method... Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA Total estimation using BLOCKS method: 448 KB Processing object type SCHEMA_EXPORT/USER Processing object type SCHEMA_EXPORT/SYSTEM_GRANT Processing object type SCHEMA_EXPORT/ROLE_GRANT Processing object type SCHEMA_EXPORT/DEFAULT_ROLE Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE Processing object type SCHEMA_EXPORT/TABLE/TABLE Processing object type SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT Processing object type SCHEMA_EXPORT/TABLE/COMMENT Processing object type SCHEMA_EXPORT/PROCEDURE/PROCEDURE Processing object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE 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/VIEW/VIEW Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT Processing object type SCHEMA_EXPORT/TABLE/TRIGGER Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS ORA-31693: Table data object "HR"."COUNTRIES" failed to load/unload and is being skipped due to error: ORA-31617: unable to open dump file "/backup/hr.dmp" for write ORA-19505: failed to identify file "/backup/hr.dmp" ORA-27037: unable to obtain file status SVR4 Error: 2: No such file or directory Additional information: 3 ORA-31693: Table data object "HR"."DEPARTMENTS" failed to load/unload and is being skipped due to error: ORA-31617: unable to open dump file "/backup/hr.dmp" for write ORA-19505: failed to identify file "/backup/hr.dmp" ORA-27037: unable to obtain file status SVR4 Error: 2: No such file or directory Additional information: 3
2.查詢解決方案
在MOS上使用關鍵字“expdp ORA-27037”查詢文章:
DataPump Export (EXPDP) Fails With Errors ORA-31693 ORA-31617 ORA-19505 ORA-27037 In a RAC Environment (文件 ID 1597395.1)
SYMPTOMS
Customer receives the following errors:
ORA-31693: Table data object "W7JCR_INTER"."ICMUT01102001" failed to load/unload and is being skipped due to error:
ORA-31617: unable to open dump file "<dumpfile name and path>" for write
ORA-19505: failed to identify file "<dumpfile name and path>"
ORA-27037: unable to obtain file status
Solaris-AMD64 Error: 2: No such file or directory
Additional information: 3
Note:
It is possible for this to occur on other operating systems since it is a mount point. The OS specific errors may therefore be different.
CAUSE
The problem occurs when Datapump Export is being performed on a multi-node RAC where the dumpfile destination is not shared to all nodes for access. Since multiple nodes will be running the Datapump job, ALL nodes must have access to the mount point where the dump file will be written.
The issue is addressed in the following bug report which was closed with status 'Not a Bug':
- DATA PUMP UNABLE TO OPEN DUMP FILE ORA-31617 ORA-19505 ORA-27037
SOLUTION
1. Share/mount the dumpfile destination with all RAC nodes performing the expdp
- OR -
2. Use CLUSTER=N during Datapump so it will only run on the node which has the mount point and permissions to write to it.
顯然,問題是因為在單個節點備份的路徑對RAC叢集的其他節點不可見而導致的,所以需要透過修改備份路徑或者增加CLUSTER=N引數進行解決。這裡由於路徑已經固定,所以選擇後一種方法進行處理。
3.問題處理
修改備份命令,增加CLUSTER=N引數後重新執行:
oracle@cwgsdb1:/backup$ expdp directory=dir_dp schemas=hr dumpfile=hr.dmp logfile=hr.log parallel=2 CLUSTER=N Export: Release 11.2.0.4.0 - Production on Thu Oct 25 17:18:54 2018 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. Username: system Password: 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 Starting "SYSTEM"."SYS_EXPORT_SCHEMA_02": system/******** directory=dir_dp schemas=hr dumpfile=hr.dmp logfile=hr.log parallel=2 CLUSTER=N Estimate in progress using BLOCKS method... Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA Total estimation using BLOCKS method: 448 KB . . exported "HR"."COUNTRIES" 6.367 KB 25 rows . . exported "HR"."DEPARTMENTS" 7.007 KB 27 rows . . exported "HR"."EMPLOYEES" 16.80 KB 107 rows . . exported "HR"."JOBS" 6.992 KB 19 rows . . exported "HR"."JOB_HISTORY" 7.054 KB 10 rows . . exported "HR"."LOCATIONS" 8.273 KB 23 rows . . exported "HR"."REGIONS" 5.476 KB 4 rows Processing object type SCHEMA_EXPORT/USER Processing object type SCHEMA_EXPORT/SYSTEM_GRANT Processing object type SCHEMA_EXPORT/ROLE_GRANT Processing object type SCHEMA_EXPORT/DEFAULT_ROLE Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE Processing object type SCHEMA_EXPORT/TABLE/TABLE Processing object type SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT Processing object type SCHEMA_EXPORT/TABLE/COMMENT Processing object type SCHEMA_EXPORT/PROCEDURE/PROCEDURE Processing object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE 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/VIEW/VIEW Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT Processing object type SCHEMA_EXPORT/TABLE/TRIGGER Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS Master table "SYSTEM"."SYS_EXPORT_SCHEMA_02" successfully loaded/unloaded ****************************************************************************** Dump file set for SYSTEM.SYS_EXPORT_SCHEMA_02 is: /backup/hr.dmp Job "SYSTEM"."SYS_EXPORT_SCHEMA_02" successfully completed at Thu Oct 25 17:19:21 2018 elapsed 0 00:00:13
問題順利解決。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31394774/viewspace-2217567/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle 11g rac expdp匯出時報錯:ORA-31694、ORA-31617、ORA-19505、ORA-27037Oracle
- Oracle Expdp報 ORA-19505, ORA-27037 No such file or directoryOracle
- RAC中job會在哪個節點執行
- 資料泵匯入報錯impdp ora-31693 ora-31640 ora-19505 ora-27037
- RAC-解除安裝grid(單節點錯誤時)
- 請教執行錯誤提示
- RAC系統當中,job在哪個節點執行?
- PbootCMS錯誤提示:執行SQL發生錯誤!錯誤:no such column: def1bootSQL
- RAC 雙節點 轉單節點流程
- 單節點執行ASM例項ASM
- RAC一個節點錯誤CRS-4047: No Oracle Clusterware components configuredOracle
- ORACLE 11.2 RAC EXPDP ORA-31693: 表資料物件 ORA-31617: 無法開啟要寫入的轉儲檔案Oracle物件
- 升級提示 執行SQL發生錯誤!錯誤:duplicate column name: picstitleSQL
- pbootcms升級提示 執行SQL發生錯誤!錯誤:duplicate column name: picstitlebootSQL
- selenium-grid 有多個節點,但 pytest.main 批次執行用例,每次只有一個節點執行用例,不能同時多個節點執行,要怎樣才能多個節點同時執行AI
- RAC中跨節點並行並行
- PBOOTCMS網站程式提示“執行SQL發生錯誤!錯誤:DISK I/O ERROR”boot網站SQLError
- 關於Oracle 11G RAC雙節點之間存在防火牆導致只能一個節點執行Oracle防火牆
- 3個節點的RAC, 為什麼定期優化統計的JOB老是在節點2上執行優化
- Excel宏執行時提示錯誤1004的三個解決方法Excel
- 規劃單節點遷移到rac
- 如何執行一個 Conflux 節點UX
- win10執行jade提示399錯誤怎麼辦_win10執行jade提示399錯誤的解決方法Win10
- 執行錯誤集
- ElasticSearch 7.6.2 單機部署三個節點 報錯Elasticsearch
- rac中控制節點間並行並行
- Camstar 登入時出現單個Error的錯誤提示Error
- 一個節點rac+單節點dg網路配置(listener.ora與tnsnames.ora)
- 單節點10.2.0.4RAC安裝
- AIX RAC9i 節點2啟動時遭遇到7445錯誤AI
- 資料泵匯出出現ORA-31617錯誤
- rac錯誤除錯除錯
- RAC中的跨節點並行[轉]並行
- 在RAC 中解決 vipca 和 srvctl 無法執行的錯誤PCA
- oracle RAC中表空間資料檔案錯誤建立到了節點本地位置Oracle
- LoadRunner在執行時常見的提示錯誤和解決方法
- RAC恢復到單例項節點上單例
- Oracle10g RAC 單獨關閉一個節點(維護)Oracle