If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > An export problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-21-04, 01:36
yuke yuke is offline
Registered User
 
Join Date: May 2004
Posts: 2
Exclamation An export problem

Hello,I have a question in exporting database,hoping anybody can give me a hand.I execute EXP command with a file as parameter.But an error occured.If you can help me,please give me an email.Giving an answer here is just ok.Thanks.
The information is as these:

bash-2.03# exp scott/tiger parfile = test.dat

Export: Release 8.1.5.0.0 - Production on Fri May 21 11:40:55 2004

(c) Copyright 1999 Oracle Corporation. All rights reserved.


Connected to: Oracle8i Enterprise Edition Release 8.1.5.0.0 - Production
With the Partitioning and Java options
PL/SQL Release 8.1.5.0.0 - Production
Export done in ZHS16CGB231280 character set and ZHS16CGB231280 NCHAR characteret

About to export specified tables via Conventional Path ...
. . exporting table SYSTEM_OUTRESOURCE_INFO
EXP-00008: ORACLE error 6550 encountered
ORA-06550: line 1, column 25:
PLS-00302: component 'DBMS_EXPORT_EXTENSION' must be declared
ORA-06550: line 1, column 8:
PL/SQL: Statement ignored
Export terminated successfully with warnings.
Reply With Quote
  #2 (permalink)  
Old 05-21-04, 08:29
gbrabham gbrabham is offline
Registered User
 
Join Date: Apr 2003
Location: Greenville, SC (USA)
Posts: 1,155
My guess is that CATEXP did not get run when creating the database which creates the export utility ... this is a standalone script, but must be run connected as INTERNAL ...

HTH
Gregg
Reply With Quote
  #3 (permalink)  
Old 05-21-04, 23:51
yuke yuke is offline
Registered User
 
Join Date: May 2004
Posts: 2
Smile

Thanks.I will try it.
Glad to meet guys here.ThoughI am a newbie coming from China ,I feel good to make friends with guys here.Actually,my name is 于 科,and “yuke” is its pronounciation.
Reply With Quote
  #4 (permalink)  
Old 05-22-04, 02:49
clio_usa clio_usa is offline
Registered User
 
Join Date: Apr 2002
Location: California, USA
Posts: 482
The errors indicate that $ORACLE_HOME/rdbms/admin/CATALOG.SQL and $ORACLE_HOME/rdbms/admin/CATPROC.SQL should be run again.

Make sure you run them connected as SYS. Then check for invalid objects:

SQL> SELECT OBJECT_NAME, OBJECT_TYPE FROM DBA_OBJECTS WHERE STATUS = 'INVALID' AND OWNER = 'SYS';

Is DBMS_EXPORT_EXTENSION still invalid? If so, try compiling it manually:

SQL> ALTER PACKAGE DBMS_EXPORT_EXTENSION COMPILE BODY;


Hope that helps,

clio_usa - OCP 8/8i/9i DBA
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On