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 








Oracle External Table error and ORA-29913

Oracle Database Tips by Burleson Consulting

Question:  I'm getting the ORA-29913 error with the KUP-00552 error when attempting to query from an external table:

ERROR en l?ea 1:
ORA-29913: error al ejecutar la llamada de ODCIEXTTABLEOPEN
ORA-29400: error de cartucho de datos
KUP-00552: internal XAD package failed to load
ORA-06512: en "SYS.ORACLE_LOADER", l?ea 19

Answer:  The root cause for the error relates to the message: "KUP-00552: internal XAD package failed to load".  There are several causes for the ORA-29913 error, including bug 5172459 (MOSC Note:373168.1), problems with file permissions on the external directory:

ORA-29913: error in executing string callout
Cause: The execution of the specified callout caused an error.
Action: Examine the error messages take appropriate action.

KUP-00552 internal XAD package failed to load
Cause: An error was encountered while attempting to initialize the XAD package.
Action: This message should be accompanied by other error messages indicating the cause of the error.

The most common causes of the ORA-29913 error are that Oracle  fails to open OS file that is required.  These files might contain output, input, log, discard or bad files. The main reason behind the ORA-29913 error is that an Oracle executable has denied the permission or the file granted the permission or directory itself does not exist for accessing the directory properly.

You can also finds in the ORA-29913 error when Oracle failed to load the table data or write the log files, and the ORA-29913 may indicate problems with table directory or the .log files in the directory.

  • Make sure whether the directories have granted the required rights or permission for Oracle to carry out read and write to the directories.
  • Execute the special check on ownership and permissions for network directories.

See BUG 5172459 (MOSC Note:373168.1)

The problem is that the message file for external tables, not the English version. These steps will address the issue:

1. cd $ORACLE_HOME/rdbms/mesg

2. cp KUP<lang>.msb KUP<lang>.msb.BAK

3. cp kupus.msb KUP<lang>.msb


External table directory error

The ORA-29913 error can also happen in external tables when you don't grant read and write permissions to the directory:

CREATE OR REPLACE DIRECTORY extdir AS '/u01/app/oracle./extdir';


If you like Oracle tuning, see the book "Oracle Tuning: The Definitive Reference", with 950 pages of tuning tips and scripts. 

You can buy it direct from the publisher for 30%-off and get instant access to the code depot of Oracle tuning scripts.



Oracle Training at Sea
oracle dba poster

Follow us on Twitter 
Oracle performance tuning software 
Oracle Linux poster


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 -  2016

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.