ORA-04063: package body "SYS.KUPW$WORKER" has errors

Import: Release 10.2.0.4.0 - 64bit Production on Sunday, 25 October, 2009 21:11:16

Copyright (c) 2003, 2007, Oracle. All rights reserved.

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39006: internal error
ORA-39065: unexpected master process exception in DISPATCH
ORA-04063: package body "SYS.KUPW$WORKER" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.KUPW$WORKER"

ORA-39097: Data Pump job encountered unexpected error -6508


Login as SYS and follow the steps


SQL> CREATE GLOBAL TEMPORARY TABLE sys.ku$noexp_tab ON COMMIT PRESERVE ROWS
2 AS SELECT * FROM sys.ku_noexp_view
3 /

Table created.

SQL> GRANT SELECT ON sys.ku$noexp_tab TO PUBLIC
2 /

Grant succeeded.

SQL> GRANT INSERT ON sys.ku$noexp_tab TO PUBLIC
2 /

Grant succeeded.

SQL> alter package KUPW$WORKER compile BODY;

Package body altered.

10 comments:

  1. Thank you so much for this!!! I've been looking around and have tried many things, but this actually worked!

    ReplyDelete
  2. Thanks! This solution worked for me too..

    ReplyDelete
  3. You beauty. Worked a dream.

    ReplyDelete
  4. Outstanding info kudos

    ReplyDelete
  5. Thank you! The problem is fixed with the help of your article! I'have fixed the KUPW$WORKER and now can use the data pump export.

    ReplyDelete
  6. worked for me too.got an error while doing imp during a live ocr implementation and your suggestion did the trick.

    ReplyDelete
  7. Thanks ....its good.

    ReplyDelete
  8. Excited to find this solution. Worked for me. Thanks

    ReplyDelete