Solved

Data Pump utility

Posted on 2006-07-20
2
1,542 Views
Last Modified: 2008-01-09
I am trying to invoke the Data Pump utility.

I have created a server directory object as a first step:

CONN sys/password@DB AS SYSDBA
GRANT CREATE ANY DIRECTORY TO MTR;

CREATE OR REPLACE DIRECTORY MTRDataPump AS 'C:\oracle\OraData\MTRDataPump';

GRANT READ, WRITE ON DIRECTORY MTRDataPump TO MTR;

When I try to invoke ExpDp utility, using parameters posted further below, I am
receiving the error:

ORA-31626: job does not exist
ORA-31637: cannot create job SYS_EXPORT_TABLE_01 for user MTR
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPV$FT_INT", line 600
ORA-39080: failed to create queues "KUPC$C_1_20060720135641" and "" for Data
Pum
p job
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPC$QUE_INT", line 1555
ORA-04063: package body "SYS.DBMS_AQADM" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM"

The arguments I used to run the utility are:

expdp mtr/password@tdb PARFILE=MyPar.PAR

MyPar:
DIRECTORY=MTRDataPump
CONTENT=DATA_ONLY
DUMPFILE=MTR.dmp
PARALLEL=2
LOGFILE=MTR.log
TABLES=MyTable


Please advice,
0
Comment
Question by:marper
2 Comments
 

Accepted Solution

by:
knutsone earned 65 total points
ID: 17150138
Maybe try to recompile the dbms_aqadm package?

--As SYS try this:
alter package DBMS_AQADM compile

The error message seems to say that the package body is invalid

"ORA-04063: package body "SYS.DBMS_AQADM" has errors"

Cheers,
  Eric
0
 
LVL 14

Assisted Solution

by:sathyagiri
sathyagiri earned 60 total points
ID: 17150570
Try to recompile all your invalid objects by running the utlprp.sql under the rdbms/admin folder. Run this as sys user
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.

Question has a verified solution.

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

Suggested Solutions

Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

813 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

13 Experts available now in Live!

Get 1:1 Help Now