Solved

Oracle export problem

Posted on 2004-04-15
5
3,507 Views
Last Modified: 2007-12-19
Hi, I get an error when I try to export a user's schema with that particular user, it can exp most of the schemas without problem, but i get an error:

. exporting post-schema procedural objects and actions
EXP-00008: ORACLE error 6550 encountered
ORA-06550: line 1, column 13:
PLS-00201: identifier 'SYS.LT_EXPORT_PKG' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
EXP-00083: The previous problem occurred when calling SYS.LT_EXPORT_PKG.schema_i
nfo_exp

the result of exp is
Export terminated successfully with warnings

but how can I get rid of this problem?

I am using Oracle 9.0.1 on Unixware 7.1.3 with LKP
0
Comment
Question by:markchih
5 Comments
 
LVL 12

Expert Comment

by:catchmeifuwant
ID: 10832696
ORA-06550 line string, column string:string

Cause: A PL/SQL compilation error has occurred. The numbers given for line and column are the location in the PL/SQL block where the error occurred.

Action: Refer to the following PL/SQL messages for more information about the error.

-----

PLS-00201 identifier 'string' must be declared

Cause: An attempt was made to reference either an undeclared variable, exception, procedure, or other item, or an item to which no privilege was granted or an item to which privilege was granted only through a role.

Action:

Check your spelling and declaration of the referenced name.
Verify that the declaration for the referenced item is placed correctly in the block structure.
If the referenced item is indeed declared but you do not have privileges to refer to that item, for security reasons, you will be notified only that the item is not declared.
If the referenced item is indeed declared and you believe that you have privileges to refer to that item, check the privileges; if the privileges were granted only via a role, then this is expected and documented behavior.
Stored objects (packages, procedures, functions, triggers, views) run in the security domain of the object owner with no roles enabled except PUBLIC. Again, you will be notified only that the item was not declared.
--

Looks like a problem with the package. Check for the validity
0
 
LVL 23

Expert Comment

by:seazodiac
ID: 10832754
Possibly

re-run the catexp.sql script under <oracle_HOME>/rdbms/admin with the "sys" log in account
0
 
LVL 48

Expert Comment

by:schwertner
ID: 10832758
1) Connect as sys
 2) Run owminst.plb (located under $ORACLE_HOME/rdbms/admin).      
(Note : In 9.0.2 run owmcpkgb.plb to recreate SYS.LT_EXPORT_PKG package body)  
3) Rerun catexp.sql  
0
 
LVL 3

Expert Comment

by:dbms_chu
ID: 10832858
I would agree with the previous posting, I suspect that LT_EXPORT_PKG is invalid or has been dropped.

Check DBA_OBJECTS to verify its condition.

select object_name, valid
from dba_objects
where  owner='SYS'
and object_name = 'LT_EXPORT_PKG'

If you determine that the package is in error then try the following:
1) Connect as sys
2) Run owmcpkgb.plb to recreate SYS.LT_EXPORT_PKG package body
3) Rerun catexp.sql
4) Try the export again.
0
 
LVL 8

Accepted Solution

by:
Danielzt earned 500 total points
ID: 10833215

try the following workarounds:

way 1:
Connect as sys or system ()to do the export

c:>export system/password@??? file=user_dump.dmp owner=user_name

way 2:
Connect as sys and grant this privileges before running the export:
GRANT EXECUTE ON sys.lt_export_pkg TO exp_full_database;

then login as any account granted "exp_full_database" role.

way 3:

GRANT EXECUTE ON sys.lt_export_pkg TO user_name;

Notes: the user_name is the login you will use it to do the export.
0

Featured Post

Industry Leaders: 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

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…
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

726 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