Solved

Oracle 10g - ORA-29280: invalid directory path

Posted on 2013-05-29
3
792 Views
Last Modified: 2013-05-29
Hi,

I have created a directory for oracle:

SQL> create or replace directory dy_migration as '/opt/smarttrust/dpa/migration_script/dataexport';

Directory created.

SQL> grant read , write on directory dy_migration to dpowner;

Grant succeeded.

SQL> commit;

Commit complete.

===

Im running a procedure that should write an output file but its giving me this error:

ORA-29280: invalid directory path      


What could be the cause?

Tks,
Joao
0
Comment
Question by:joaotelles
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 77

Assisted Solution

by:slightwv (䄆 Netminder)
slightwv (䄆 Netminder) earned 250 total points
ID: 39204897
Make sure the oracle user has permissions on /opt/smarttrust/dpa/migration_script/dataexport

As the oracle user from a command prompt:
touch /opt/smarttrust/dpa/migration_script/dataexport/mytest

Make sure the file exists after that:
ls -al /opt/smarttrust/dpa/migration_script/dataexport/mytest

If that works, please post the code that is doing the write.
0
 
LVL 35

Accepted Solution

by:
Mark Geerlings earned 250 total points
ID: 39205624
Is the procedure owned by the Oracle user: dpowner?  Do you use UPPER CASE when you provide the logical directory name in the procedure?  Logical directory names in Oracle (unlike table and column names usually) are case-sensitive and must be entered in UPPER CASE.
0
 

Author Closing Comment

by:joaotelles
ID: 39205760
Tks. It was the permission and create it with upper case.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Sybase and replication server 13 83
join a table with user_tab_columns in oracle 3 82
return value in based on value passed 6 49
plsql job on oracle 18 109
Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question