使用expdp时,遇到”ORA⑶9002、ORA⑶9070……”连续报错。
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⑶9002: invalid operation
ORA⑶9070: Unable to open the log file.
ORA⑵9283: invalid file operation
ORA-06512: at “SYS.UTL_FILE”, line 475
ORA⑵9283: 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⑶9070: Unable to open the log file.”毛病。
(2)、创建”E:\oradata\backup”目录,或修改directory 对象,问题解决。
3、致使问题出现的潜伏缘由。
Oracle 10g 下创建directory对象,即便所援用的目录不存在,该命令也能够正常履行,这样就容易造成这样的毛病。
感谢浏览,希望能帮助到大家,谢谢大家对本站的支持!
本文来源:https://www.yuntue.com/post/152173.html | 云服务器网,转载请注明出处!

微信扫一扫打赏
支付宝扫一扫打赏