使用expdp時(shí),遇到”O(jiān)RA-39002、ORA-39070......”連續(xù)報(bào)錯(cuò)。
1、 遇到的問題
C:\Users\Administrator>expdp 'sys/system as sysdba' directory=backup full=y dumpfile=fullexp.dmp logfile=fullexp.log; Export: Release 10.2.0.3.0 - Production on Wednesday, 18 April, 2012 12:13:15 Copyright (c) 2003, 2005, Oracle. All rights reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production With the Partitioning, OLAP and Data Mining options ORA-39002: invalid operation ORA-39070: Unable to open the log file. ORA-29283: invalid file operation ORA-06512: at "SYS.UTL_FILE", line 475 ORA-29283: invalid file operation
2、 問題解決
Google了一下,發(fā)現(xiàn)了問題原因:
(1)、查看directory 對(duì)象
SYS@ tsid > select * from dba_directories;
OWNER DIRECTORY_NAME DIRECTORY_PATH
----- ------------------------- ------------------
SYS BACKUP E:\oradata\backup
而操作系統(tǒng)上,E:\oradata下,沒有backup目錄。因?yàn)槟夸洸淮嬖冢詴?huì)出現(xiàn)” ORA-39070: Unable to open the log file.”錯(cuò)誤。
(2)、創(chuàng)建”E:\oradata\backup”目錄,或者修改directory 對(duì)象,問題解決。
3、導(dǎo)致問題出現(xiàn)的潛在原因。
Oracle 10g 下創(chuàng)建directory對(duì)象,即使所引用的目錄不存在,該命令也可以正常執(zhí)行,這樣就容易造成這樣的錯(cuò)誤。
感謝閱讀,希望能幫助到大家,謝謝大家對(duì)本站的支持!
標(biāo)簽:遼源 自貢 中衛(wèi) 紹興 百色 寧波 海東 昭通
巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《expdp 中ORA-39002、ORA-39070錯(cuò)誤詳解及解決辦法》,本文關(guān)鍵詞 expdp,amp,nbsp,中,ORA-39002,ORA-39070,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。