Solved

Oracle 10g - ORA-29280: invalid directory path

Posted on 2013-05-29
3
761 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
3 Comments
 
LVL 76

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 34

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
Via a live example, show how to take different types of Oracle backups using RMAN.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

759 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now