oracle逻辑导入小错 提示无法创建日志提示

本文详细记录了解决Oracle逻辑导入时无法创建日志文件的问题过程。通过调整文件权限,成功解决了导入操作中的IMP-00030错误,确保了数据的顺利导入。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

               

***********************************************声明*********************************************************************** 

原创作品,出自 “深蓝的blog” 博客,欢迎转载,转载时请务必注明出处,否则追究版权法律责任。

深蓝的blog:http://blog.youkuaiyun.com/huangyanlong/article/details/39695171

****************************************************************************************************************************
oracle逻辑导入提示无法创建日志提示小问题解决


[oracle@hyldb soft]$ imp hyl/hyl@hyl fromuser=hyl touser=hyl feedback=10000 filesize=15G ignore=y commit=y file=/soft/test.dmp log=/soft/testImp.log

Import: Release 11.2.0.4.0 - Production on Fri Sep 19 16:30:04 2014

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


IMP-00030: failed to create file /soft/testImp.log for write
IMP-00000: Import terminated unsuccessfully


由报错很容易发现问题所在,修改权限,然后再执行,如下操作:
[root@hyldb /]# chown -R oracle:oinstall /soft


修改权限后,再次执行导入操作,成功完成,如下图所示:
[oracle@hyldb soft]$ imp hyl/hyl@hyl fromuser=hyl touser=hyl feedback=10000 ignore=y file=/soft/test.dmp log=/soft/testImp.log

Import: Release 11.2.0.4.0 - Production on Fri Sep 19 16:38:29 2014

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


Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

Export file created by EXPORT:V10.02.01 via conventional path
import done in US7ASCII character set and AL16UTF16 NCHAR character set
import server uses ZHS16GBK character set (possible charset conversion)
export client uses ZHS16GBK character set (possible charset conversion)

***********************************************声明*********************************************************************** 

原创作品,出自 “深蓝的blog” 博客,欢迎转载,转载时请务必注明出处,否则追究版权法律责任。

深蓝的blog:http://blog.youkuaiyun.com/huangyanlong/article/details/39695171

****************************************************************************************************************************

           

再分享一下我老师大神的人工智能教程吧。零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到我们人工智能的队伍中来!https://blog.youkuaiyun.com/jiangjunshow

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值