Oracle 11g目录对象到远程路径

时间:2011-05-18 11:43:59

标签: oracle oracle10g oracle11g

我们正在通过系统从Oracle 10G(Windows 2003 32位)迁移到11G(在Windows 2008 R2 64位上),目前,我们的备份过程包含一个指向远程的目录对象(unc )我们的存储盒上的路径,以便我们不必在本地执行expdp,然后移动文件,这似乎没有问题,但是在我们的新的Windows 2008 11G盒子上,我可以创建目录对象并测试它通过EM控制台,但每当我尝试运行我的导入时,我得到以下内容:

Connected to: Oracle Database 11g Release 11.2.0.2.0 - 64bit ProductionWith the Automatic
Storage Management option
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

任何想法?现在只想尝试使用metadata_only来解决这个问题,但仍然没有运气。

E:\>impdp xxxxx/xxxxx@prod CONTENT=METADATA_ONLY directory=Restoreloc dumpfile=XXXXX_
MAY172011.DMP logfile=XXXXXIMPDP.log exclude=grant

1 个答案:

答案 0 :(得分:1)

确保oracle进程具有对目录的写访问权。

您必须在指定路径中手动创建目录,然后尝试操作。 请检查此post