重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2599|回复: 0
打印 上一主题 下一主题

[Oracle] 导入/导出过程因目录权限出现的报错

[复制链接]
跳转到指定楼层
楼主
发表于 2020-9-6 13:39:56 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
[oracle@redhat ~]$ expdp testuse/testuse@orcl directory=EXP_DIR dumpfile=test.dmp schemas=testuse;

Export: Release 12.1.0.2.0 - Production on Sun Sep 6 09:23:48 2020

Copyright (c) 1982, 2014, Oracle and/or its affiliates.  All rights reserved.

Connected to: Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing 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 536
ORA-29283: invalid file operation

检查发现EXP_DIR所对应目录/tmp/dump权限不在oracle下
[oracle@redhat tmp]$ ll
total 0
drwxr-xr-x  2 root   root  6 Sep  6 08:31 dump


修改权限:chown -R oracle:dba /tmp/dump/
再次进行导入/导出即可



分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-4-29 05:37 , Processed in 0.097939 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表