oracle逻辑导入小错:提示无法创建日志提示
***********************************************声明***********************************************************************
原创作品,出自 “深蓝的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
****************************************************************************************************************************
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。