【故障處理】Linux下匯入匯出“IMP-00030: failed to create file ... for write”

lhrbest發表於2018-12-04

【故障處理】Linux下Oracle匯入(imp)匯出(exp)出現“ IMP-00030: failed to create file import_sys for write ” 錯誤 



[oracle@rac18c-n1 upraw_oracle11g]$ imp xxxx file=raw.dmp ignore=y grants=no fromuser=UPRAW touser=UPCHINA


Import: Release 18.0.0.0.0 - Production on Tue Dec 4 15:01:38 2018

Version 18.3.0.0.0


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



Connected to: Oracle Database 18c Enterprise Edition Release 18.0.0.0.0 - Production

Version 18.3.0.0.0


Export file created by EXPORT:V11.02.00 via direct path


Warning: the objects were exported by UPRAW, not by you


import done in ZHS16GBK character set and AL16UTF16 NCHAR character set

import server uses AL32UTF8 character set (possible charset conversion)

export client uses AL32UTF8 character set (possible charset conversion)

IMP-00030: failed to create file import_sys for write

IMP-00000: Import terminated unsuccessfully


原因: 


oracle 賬戶沒有對指定目錄的讀/寫許可權


解決辦法: 


更換到Oracle有讀寫許可權的相關目錄

[root@rac18c-n1 ~]# chown -R oracle.dba /soft/oracle11g/oracle11g/upraw_oracle11g

[root@rac18c-n1 ~]# chmod 777 -R /soft/oracle11g/oracle11g/upraw_oracle11g

[root@rac18c-n1 ~]# 







About Me

........................................................................................................................

● 本文作者:小麥苗,部分內容整理自網路,若有侵權請聯絡小麥苗刪除

● 本文在itpub( http://blog.itpub.net/26736162 )、部落格園( http://www.cnblogs.com/lhrbest )和個人weixin公眾號( xiaomaimiaolhr )上有同步更新

● 本文itpub地址: http://blog.itpub.net/26736162

● 本文部落格園地址: http://www.cnblogs.com/lhrbest

● 本文pdf版、個人簡介及小麥苗雲盤地址: http://blog.itpub.net/26736162/viewspace-1624453/

● 資料庫筆試面試題庫及解答: http://blog.itpub.net/26736162/viewspace-2134706/

● DBA寶典今日頭條號地址: http://www.toutiao.com/c/user/6401772890/#mid=1564638659405826

........................................................................................................................

● QQ群號: 230161599 (滿) 、618766405

● weixin群:可加我weixin,我拉大家進群,非誠勿擾

● 聯絡我請加QQ好友 646634621 ,註明新增緣由

● 於 2018-12-01 06:00 ~ 2018-12-31 24:00 在魔都完成

● 最新修改時間:2018-12-01 06:00 ~ 2018-12-31 24:00

● 文章內容來源於小麥苗的學習筆記,部分整理自網路,若有侵權或不當之處還請諒解

● 版權所有,歡迎分享本文,轉載請保留出處

........................................................................................................................

小麥苗的微店 https://weidian.com/s/793741433?wfr=c&ifr=shopdetail

小麥苗出版的資料庫類叢書 http://blog.itpub.net/26736162/viewspace-2142121/

小麥苗OCP、OCM、高可用網路班 http://blog.itpub.net/26736162/viewspace-2148098/

小麥苗騰訊課堂主頁 https://lhr.ke.qq.com/

........................................................................................................................

使用 weixin客戶端 掃描下面的二維碼來關注小麥苗的weixin公眾號( xiaomaimiaolhr )及QQ群(DBA寶典)、新增小麥苗weixin, 學習最實用的資料庫技術。

........................................................................................................................

歡迎與我聯絡

 

 



來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26736162/viewspace-2284051/,如需轉載,請註明出處,否則將追究法律責任。

相關文章