如果在进行数据库导出操作时,发生如下错误提示:
Export: Release 11.2.0.1.0 - Production on 星期一 10月 22 10:46:08 2018 Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved. 连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Produc tion With the Partitioning, OLAP, Data Mining and Real Application Testing options ORA-39002: 操作无效 ORA-39070: 无法打开日志文件。 ORA-39087: 目录名 DATA_PUMP_DIR 无效
一般有两种可能:
第一,DATA_PUMP_DIR可能不存在
第二,没有权限
针对以上两种可能,我们可以做如下处理解决
1,查询是否存在DATA_PUMP_DIR
使用命令:
select * from dba_directories
2,如果存在这个DATA_PUMP_DIR,那么我们可以给这个用户授权
grant read,write on directory DATA_PUMP_DIR to xnvoucher
爆款云服务器s6 2核4G 低至0.46/天,具体规则查看活动详情