expdp 中ORA-39002、ORA-39070错误详解及解决办法
作者:lqh 时间:2024-01-19 16:37:47
使用expdp时,遇到”ORA-39002、ORA-39070......”连续报错。
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了一下,发现了问题原因:
(1)、查看directory 对象
SYS@ tsid > select * from dba_directories;
OWNER DIRECTORY_NAME DIRECTORY_PATH
----- ------------------------- ------------------
SYS BACKUP E:\oradata\backup
而操作系统上,E:\oradata下,没有backup目录。因为目录不存在,所以会出现” ORA-39070: Unable to open the log file.”错误。
(2)、创建”E:\oradata\backup”目录,或者修改directory 对象,问题解决。
3、导致问题出现的潜在原因。
Oracle 10g 下创建directory对象,即使所引用的目录不存在,该命令也可以正常执行,这样就容易造成这样的错误。
感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
来源:http://blog.csdn.net/zhangchen124/article/details/56044619
标签:expdp,ORA-39002,ORA-39070
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Go语言开发中redis的使用详解
2024-02-14 12:58:27
python读写删除复制文件操作方法详细实例总结
2022-07-29 05:58:56
如何基于python把文字图片写入word文档
2021-04-20 06:48:49
Web标准下该如何“插入”图像
2008-03-17 13:01:00
javascript、php关键字搜索函数的使用方法
2024-05-08 10:10:19
linux采用binary方式安装mysql
2024-01-27 19:40:18
Python range与enumerate函数区别解析
2022-03-05 21:40:20
基于Python编写一个自动关机程序
2023-07-30 08:19:20
![](https://img.aspxhome.com/file/2023/2/59822_0s.png)
基于Python PaddleSpeech实现语音文字处理
2023-04-26 19:14:42
![](https://img.aspxhome.com/file/2023/1/131321_0s.jpg)
用python3 urllib破解有道翻译反爬虫机制详解
2022-05-27 00:23:07
![](https://img.aspxhome.com/file/2023/0/70210_0s.png)
Python判断变量名是否合法的方法示例
2022-07-31 19:05:12
![](https://img.aspxhome.com/file/2023/1/68411_0s.png)
python subprocess 杀掉全部派生的子进程方法
2021-01-28 21:44:28
Python中星号的五种用法小结
2022-12-06 16:17:23
Python自动化之批量处理工作簿和工作表
2023-02-16 08:07:30
php生成与读取excel文件
2023-11-15 06:17:48
单击按钮将内容复制到剪贴板
2008-08-22 13:08:00
一些sql语句
2009-04-10 18:36:00
Python xlrd/xlwt 创建excel文件及常用操作
2021-08-17 04:33:22
![](https://img.aspxhome.com/file/2023/5/115795_0s.png)
python/Matplotlib绘制复变函数图像教程
2023-08-03 07:36:43
![](https://img.aspxhome.com/file/2023/7/61207_0s.jpg)
python实现在线翻译
2021-04-02 06:06:17
![](https://img.aspxhome.com/file/2023/9/84139_0s.jpg)