Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/oracle/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Database 尝试导入转储文件时出现Oracle DB错误_Database_Oracle_Oracle11g_Mysqldump - Fatal编程技术网

Database 尝试导入转储文件时出现Oracle DB错误

Database 尝试导入转储文件时出现Oracle DB错误,database,oracle,oracle11g,mysqldump,Database,Oracle,Oracle11g,Mysqldump,您好,我正在尝试导入转储文件,但每次都会收到相同的错误,以下是我迄今为止使用的命令: 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 con

您好,我正在尝试导入转储文件,但每次都会收到相同的错误,以下是我迄今为止使用的命令:

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;
下一行实际上并没有创建我的目录,所以我在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
谢谢你花时间看这个。
谢谢

请检查CCT\U导入目录是否存在?如果它存在,那么wrosa用户是否有读取、写入同一目录的权限?检查目录路径是否设置正确。没有目录权限,您无法执行数据泵。

查看cct\U导入的路径。OracleDB之后还有一个空间就是这样,非常感谢