2014-12-09 4 views
0

안녕을 가져올 시도하지만 매번 같은 오류를 받고 메신저, 여기에 명령을 내가 지금까지 사용 된 것을 때 :오라클 DB 오류 나는 덤프 파일을 가져 오려고하고 덤프 파일

C:\Users\CCT>sqlplus/as sysdba 
SQL> create tablespace CCTADMIN datafile ‘D:\OracleDB\CCTADMIN.dbf’ size 2G autoextend on maxsize 5G; 
SQL> create user wrosa identified by wrosa1; 
SQL> grant connect, resource, dba to wrosa; 
SQL> grant create materialized view to wrosa; 

이 다음에게 라인 didnt는 실제로 내 디렉토리를 만들었으므로 Windows에서 수동으로 디렉토리를 만들었습니다.

SQL> create directory CCT_IMPORT as ‘D:\OracleDB \TEMP’; 
SQL> grant read, write on directory CCT_IMPORT to wrosa; 
D:\OracleDB \TEMP>impdp wrosa/wrosa1 directory=CCT_IMPORT dumpfile=CCTADMIN4.dmp logfile=impdpWROSA.log remap_schema=CCTADMIN:WROSA remap_tablespace=SOE:CCTADMIN 

는 그 후 나는 시간이 찾고 감사합니다 다음과 같은 오류

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 

를 얻을. 감사합니다.

+0

cct_import에 대한 경로를 확인하십시오. 너는 "oracledb"뒤에 공간이있다. –

+0

그게 다, 고마워. –

답변

0

CCT_IMPORT 디렉토리가 존재하는지 확인하십시오. 존재하는 경우 wrosa 사용자는 동일한 디렉토리에서 읽거나 쓸 수있는 권한이 있습니까? 디렉터리의 올바른 경로를 확인하십시오. 디렉토리 권한이 없으면 데이터 덤프를 수행 할 수 없습니다.