﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals / Oracle Forum / ORA - Oracle Database Error Codes - Search via specific error codes. / ORA-30000 Through ORA-40273   / ORA-39087: directory name DATA_PUMP_DIR is invalid / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals</description><link>http://www.franklinfaces.com/</link><webMaster>no-reply@FranklinFaces.com</webMaster><lastBuildDate>Fri, 10 Feb 2012 23:38:58 GMT</lastBuildDate><ttl>20</ttl><item><title>ORA-39087: directory name DATA_PUMP_DIR is invalid</title><link>http://www.franklinfaces.com/Topic119-57-1.aspx</link><description>&lt;FONT color=#3333dd&gt;Hi,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;I got the following error message when doing an impdp.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;&lt;STRONG&gt;prod005:(ECOM01)/oracle/db03/ECOM01/EXPORTS &amp;gt; impdp parfile=imp_ecom.par&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;&lt;STRONG&gt;Import: Release 10.2.0.4.0 - 64bit Production on Tuesday, 28 April, 2009 17:00:44&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;&lt;STRONG&gt;Copyright (c) 2003, 2007, Oracle.  All rights reserved.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;&lt;STRONG&gt;Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production&lt;BR&gt;With the Partitioning, OLAP, Data Mining and Real Application Testing options&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT color=#113311&gt;&lt;BR&gt;&lt;STRONG&gt;ORA-39002: invalid operation&lt;BR&gt;ORA-39070: Unable to open the log file.&lt;BR&gt;ORA-39087: directory name DATA_PUMP_DIR is invalid&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;Problem is either 1 of two things:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1.    The datapump directory doesn't exist&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2.    The user trying to import doesn't have read/write privilege to access the directory.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;In my case this was my parfile:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;userid=ecom/ecompassword&lt;BR&gt;DIRECTORY=DATA_PUMP_DIR&lt;BR&gt;dumpfile=ecom_from_QA_042809.dmp&lt;BR&gt;logfile=imp_ecom_from_QA_042809.log&lt;BR&gt;TABLE_EXISTS_ACTION=APPEND&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;I issued the following statment and then it went through successfully:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SQL&amp;gt; grant read,write on directory DATA_PUMP_DIR to ecom;&lt;BR&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;Also, just make sure that the DATA_PUMP_DIR exists.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;Thanks,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Tue, 28 Apr 2009 15:58:55 GMT</pubDate><dc:creator>Admin</dc:creator></item></channel></rss>
