Oracle使用expdp时遇到ORA-39002、ORA-39070错误

oracle impdp ORA-39002 1. 导入报错 [oracle@testlink-standby ~]$ impdp system/oracle@orcl DIRECTORY=db_backup DUMPFILE=QA2_EXPORT.DMP LOGFILE=impdp_FALABELLA_SO_CO_STG_20120802.log SCHEMAS=qa2_atgcatalogb_mf CONTENT=ALL 阅读详情

Oracle使用expdp时遇到ORA-39002、ORA-39070错误   

使用expdp时,遇到”ORA-39002、ORA-39070......”连续报错。

1、  遇到的问题

C:\Users\Administrator>expdp 'sys/system as sysdba' directory=backup full=y dumpfile=fullexp.dmp logfile=fullexp.log;

       Export: Release 10.2.0.3.0 - Production on Wednesday, 18 April, 2012 12:13:15

       Copyright (c) 2003, 2005, Oracle.  All rights reserved.

       Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production

       With the Partitioning, OLAP and Data Mining options

ORA-39002: invalid operation

ORA-39070: Unable to open the log file.

ORA-29283: invalid file operation

ORA-06512: at "SYS.UTL_FILE", line 475

ORA-29283: invalid file operation

2、  问题解决

Google了一下,发现了问题原因:

(1)、查看directory 对象

SYS@ tsid > select * from dba_directories;

 

OWNER DIRECTORY_NAME            DIRECTORY_PATH

----- ------------------------- ------------------

SYS   BACKUP                    E:\oradata\backup

而操作系统上,E:\oradata下,没有backup目录。因为目录不存在,所以会出现” ORA-39070: Unable to open the log file.”错误。

   (2)、创建”E:\oradata\backup”目录,或者修改directory 对象,问题解决。

3、导致问题出现的潜在原因。

   Oracle 10g 下创建directory对象,即使所引用的目录不存在,该命令也可以正常执行,这样就容易造成这样的错误。


Oracle使用EXPDP出现常见错误:ORA-39002;ORA-39070;ORA-29283;ORA-06512;ORA-29283 一、题目要求: Oracle:使用EXPDP导出system用户student表。 二、错误提示: 三、错误分析: 目录“dp_dir”没能真正创建存在。 四、解决方法: 打开“SQL Plus”; 登陆账号“System”; 在指定路径(我这里是‘d:\OraBak’)下创建目录“dp_dir”; 查看确认是否创建成功; 使用“cmd”打开命令提示符窗口; 使用EXPDP导出数据; 去你的计算机上查看,你会发现在D盘上没有“OraBak”文件夹和“DP_DIR”文件夹,所 阅读详情

相关推荐

HWSD2.0土壤数据处理实战:从下载到属性提取全流程解析

本文详细解析了HWSD2.0全球土壤数据库从数据下载、属性筛选到GIS空间连接与提取的全流程实战方法。重点介绍了如何利用ArcGIS Pro等工具,将土壤单元编码与黏粒含量等属性表关联,最终生成全球土壤属性专题栅格图,为农业规划与生态研究提供关键数据支撑。

weixin_29214691的博客 621

impdp或expdp报错ORA-39002

linux oracle impdp 导入数据 出现报错是这样的: 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 根据百度,重建的dump目录的方法,并没有什么卵用,后来发现,原来dump目录...

makemelaugh972003的专栏 1万+

共轭梯度法(Conjugate Gradient Method)

我们要求解线性方程组 Ax=bAx=b 其中AA 是对称正定矩阵(spd),给定RnR^n中n个线性无关的向量r0,r1,⋯,rn−1r_0,r_1,\cdots,r_{n-1}, 我们想要构造另外的一组基p0,p1,⋯,pn−1p_0,p_1,\cdots,p_{n-1}, 并满足 ⟨pi,pj⟩=0,∀i≠j\langle p_i, p_j\rangle=0,\quad \forall i

Liang_Ling的博客 1万+

ORA-39002

ORA-06512:在“SYS.UTL_FILE”,line 536。这是由于导出的目录不存在,需要新建directory相关目录。其中EXPDP_DIR对应的目录就是expdp导入导出的路径。ORA39070:无法打开日志文件。ORA-29283:文件操作无效。ORA-29283:文件操作无效。ORA-39002:操作无效。新建expdp导入导出目录。修改EXPDP_DIR。

qq_35435160的博客 7635

【Unity】制作简易三维场景

本文介绍如何制作一个三维场景

CiNian_的博客 5343

Cadence IC5141保姆级教程:Bandgap电路四大仿真(稳定性/噪声/启动/PSRR)完整流程与调参心得

本文提供Cadence IC5141中Bandgap电路的四大仿真(稳定性仿真、噪声仿真、启动仿真、PSRR仿真)的完整流程与调参心得。从原理图检查到ADE L配置,详细解析各仿真步骤的关键参数设置与优化策略,帮助工程师高效完成电路设计与性能调优。

weixin_30399821的博客 1660

oracle报错ORA-39002: invalid operationORA-39070: Unable to open the log file.ORA-29283: invalid file

是因为导入文件夹没有权限,权限在root用户下,修改下权限就可以了。

weixin_46173264的博客 5814

2.实体机安装TrueNAS 方法

访问不了可以使用以下连接:提取码:0927。

Unofficial_user的博客 7470

Oracle 使用expdp时遇到ORA-39002、ORA-39070错误

在用expdp 导出oracle数据库时报错,截图如下: 用管理员账户查看了一下导出DMP是否创建,发现已创建,但是对应的系统目录下却没有对应的文件夹。 产生这样的原因是当前对应的导出目录并未在系统中创建,在对应的目录下创建新的目录即可。 如果不存在DMP文件就创建这个文件(当然这个文件名可以自己随便取名,创建之后再磁盘相应的位置也加上文件夹) create or repla...

tengqingyong的博客 2613

HALCON机器视觉之结合LMI Gocator 5504进行手机折叠屏异物、折痕和胶体检测(基于C# + HALCON)

手机折叠屏是一种创新的屏幕技术,它允许屏幕在一定程度上进行折叠,从而在便携性和屏幕尺寸之间取得平衡。这种屏幕通常由多层材料组成,包括柔性显示层、保护层和胶水层等。本文将详细介绍如何使用C#编程语言,结合HALCON和LMI Gocator 5504来实现手机折叠屏的异物、折痕和胶体检测。

专注于人工智能、软件开发、工控自动化、工厂数字化及智能化等领域,希望和大家共同进步! 9338

出现 Connection Failed [MySQL][ODBC Driver]Access denied for user ‘root‘@x(using password:YES)解决方法

Connection Failed [MySQL][ODBC 8.0(w) Driver]Access denied for user 'root'@xxxx (using password:YES)

码农研究僧的博客 1067

oracle11g expdp报错 ORA-06512 at SYS UTL FILE line 536

oracle11g expdp报错 ORA-06512 at SYS UTL FILE line 536

hfdgjjg的博客 1258

【S32K3 MCAL配置】-3.4-CANFD配置-接收特定的“经典CAN/CANFD标准帧”和“经典CAN/CANFD扩展帧”(基于MCAL+FreeRTOS)

【S32K3 MCAL配置】-3.4-CANFD配置-接收特定的“经典CAN/CANFD标准帧”和“经典CAN/CANFD扩展帧”(基于MCAL+FreeRTOS)

「汽车电子助手」的博客 705

ORA-39002: 操作无效 ORA-39070: 无法打开日志文件。 ORA-29283:&nbs

使用expdp和impdp时应该注重的事项:1、exp和imp是客户端工具程序,它们既可以在客户端使用,也可以在服务端使用。2、expdp和impdp是服务端的工具程序,他们只能在oracle服务端使用,不能在客户端使用。3、imp只适用于exp导出的文件,不适用于expdp导出文件;impdp只适用于expdp导出的文件,而不适用于exp导出文件。4、对于10g以上的服务器,使用exp通常不...

2万+

VB摄像头监控

该VB模块可对摄像头捕获的画面进行录像等,可在创建的窗口进行控制

InTheHand.Net.Personal+BlueTooth4,蓝牙开发

项目中有蓝牙开发的必备dll,现在网上相关的文档博客不少,有的说的多有的说少,但是却很少有这两个dll,分享一下。

使用expdp时遇到ORA-39002、ORA-39070错误

使用expdp时,遇到”ORA-39002、ORA-39070......”连续报错。 1、遇到的问题 expdp yguo/dbimp@botnet schemas=yguo dumpfile=botnet74.dmp DIRECTORY=dump_zsy; C:\Users\Administrator>expdp yguo/dbimp@botnet schemas=yg...

weixin_34217773的博客 141

C# WinForm 基于DirectShow.dll编写的程序,可边预览边保存视频,音频和图片

基于微软的DirectShow.dll的二次开发1.自动识别连接的摄像头跟麦克风且可以对其进行选择(默认选中第一个)2.可录制wmv和avi两种格式的视频并且都带有音频,avi可以录制的分辨率和帧数进行选择,wmv默认进行了淸晰度优化如不喜欢可去除代码中有相关提示3.可在预览点开之后进行拍照,也可边录制视频边拍照4.添加了视频和音频的压缩功能(酌情使用)这次二次开发发现C#对DirectShow的相关信息太少,这次做完也不敢藏私共享出来,还望大家指正

Oracle 使用EXPDP 导出数据库报错:ORA-39087:目录名***无效

1.错误信息 在使用expdp导出oracle11g数据库,执行命令 expdp sys/473ac347AC@ORCL directory='c:\app\dmp' dumpfile=FULL_8.dmp FULL=y 一直报错: ORA-39002: 操作无效 ORA-39070: 无法打开日志文件。 ORA-39087: 目录名 c:\app\dmp无效 截图如下 2.查看数据...

tengqingyong的博客 3万+

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

imp导入备份时报:无法转换为环境字符集句柄 ...

在imp 还原数据库的时候出现问题如下; 这个问题是 你用 expdp导出的 却用客户端的 imp 导入;换成impdp导入即可。 当用impdp导入(impdp EMMS/EMMS123 directory=expdir dumpfile=EMMS2.dmp) 却发现 【IMPDP】使用工具IMPDP导入数据时ORA-39002、ORA-39070错误排查...

axtvsmwsc753743618的博客 1388

expdp ORA-39070: Unable to open the log file

Oracle中,当执行expdp或impdp的时候,有时候会出现错误: ORA-39002: invalid operation ORA-39070: Unable to open the log ...

cuanernu0615的博客 319

oracle impdp小坑

使用impdp 和expdp 的时候 最后面不能有分号 ; 否则会有: ORA-39002: 操作无效 ORA-39070: 无法打开日志文件。 ORA-39087: directory name DUMPDIR is invalid

huluanchushou的专栏 579

oracle数据备份踩坑

背景:对生产环境的数据做备份,并在本机还原。使用的命令是oracle的expdp和impdp。 导出命令: expdp DMS/1q2w3e.@orcl schemas=DMS dumpfile=dms201912171420.dmp log=dms201912171420.log directory=DMS_DIR; 错误信息: Connected to: Oracle Databa...

GechangLiu的博客 371

oracle写入导出文件时出错,导出转储文件时出错(Oracle)(Errors while exporting dump file (Oracle))...

I understand this is a cliche but while doing export dump in oracle,I am getting these errors.I have pretty much followed almost all documentation online and did these following steps:CREATE OR REPLAC...

weixin_33610261的博客 185

oracle数据库到处,oracle的数据库导入到处

在imp 还原数据库的时候出现问题如下; 这个问题是 你用 expdp导出的 却用客户端的 imp 导入;换成impdp导入即可。当用impdp 导入 (impdp EMMS/EMMS123 directory=expdir dumpfile=EMMS2.dmp) 却发现 【IMPDP】使用工具IMPDP导入数据时ORA-39002、ORA-39070错误排查 其中 RA-39070 错误指出 没...

weixin_42545503的博客 207
上一篇: Oracle数据库简介
下一篇: Oracle数据库ORA-16038报错的解决方法(日志无法归档)
听雪楼主.
博客等级 码龄10年 513粉丝 214原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址