Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 E-mail Us
 Oracle Articles
New Oracle Articles

 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog

 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Oracle Support

 SQL Tuning

 Oracle UNIX
 Oracle Linux
 Remote s
 Remote plans
 Application Server

 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S


 Consulting Staff
 Consulting Prices
 Help Wanted!


 Oracle Posters
 Oracle Books

 Oracle Scripts

Don Burleson Blog 







ORA-39146 Directory Object Parameter Tips

Oracle Database Tips by Donald BurlesonSeptember 1, 2015

Question:  I am running expdp from the command line without any regiments and I get this error:

oracle> expdp  

ORA-39002: invalid operation
ORA-39070: Unable to open the log file.
ORA-39145: directory object parameter must be specified and non-null  

How do I fix the ORA-39146 error?

Answer:  The expdp invocation is different in the older export (exp) and the data pump export (expdp because expdp requires the directory argument). 

The oerr utility shows this for the ORA-39145 error:  

ORA-39145: directory object parameter must be specified and non-null  

Cause: No directory object was provided in either an
dbms_datapump.add_file API call or to the directory parameter used by the Data Pump command line clients.

Action: Correct the directory object parameter and retry the operation  

The fix for the ORA-39146 is to grant exp_full_database, create an export directory and use it in the command line argument to expdp:  

  1.  grant exp_full_database to user:  

    SQL> connect oracle/mypass;  

    SQL > grant exp_full_database to fred;  
    Grant succeeded.
  2.  In SQL*Plus, create the directory with the create directory command:  

    SQL>  create directory exp_dir as '/u01/app/oracle/mysid/exports';
  3.  From the UNIX/Linux/DOS prompt, add the directory argument when invoking expdp:

    > expdp directory=exp_dir  
Get the Complete
Oracle SQL Tuning Information 

The landmark book "Advanced Oracle SQL Tuning  The Definitive Reference"  is filled with valuable information on Oracle SQL Tuning. This book includes scripts and tools to hypercharge Oracle 11g performance and you can buy it for 30% off directly from the publisher.




Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


Copyright © 1996 -  2017

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.

Remote Emergency Support provided by Conversational



Oracle Training at Sea
oracle dba poster

Follow us on Twitter 
Oracle performance tuning software 
Oracle Linux poster