码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2014-09-30 16:48:59      阅读:280      评论:0      收藏:0      [点我收藏+]

标签:imp   小问题   逻辑备份   

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

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

深蓝的blog:http://blog.csdn.net/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.csdn.net/huangyanlong/article/details/39695171

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

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

标签:imp   小问题   逻辑备份   

原文地址:http://blog.csdn.net/huangyanlong/article/details/39695171

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!