暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

ORA-29283 invalid file operation - impdp导入数据

原创 不吃草的牛_Nick 2023-03-09
1485

oerr ora 29283
29283, 00000, "invalid file operation%s"
// *Cause: An attempt was made to read from a file or directory that does
// not exist, or file or directory access was denied by the
// operating system.
// *Action: Verify file and directory access privileges on the file system,
// and if reading, verify that the file exists.


使用impdp导入数据,dump文件名为bop_1112.dump,directory为:dataBackup和/data_backup;报错信息如下:

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

解决:这个错误的原因通常有:
1、存放dump文件的路径是否存在?
2、dump文件是否存在?
3、dump文件的权限是否对?
4、存放dump文件的路径是否有权限?

最后发现存放dump文件的路径权限有问题,不知道什么时候/data_backup的权限变为了另一个用户的权限:phtexun:phtexun,
正确的权限应当为:oracle:oinstall;

修改一下文件夹的权限即可:
# chown oracle:oinstall /data_backup


「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论