ORA-19206 when running export (exp)

On Oracle9i if you get the following error when running export (exp) utility, to fix this issue one would need to run the $ORACLE_HOME/rdbms/admin/catmeta.sql as sys to fix this issue.

About to export SYSTEM’s objects …
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
EXP-00056: ORACLE error 19206 encountered
ORA-19206: Invalid value for query or REF CURSOR parameter
ORA-06512: at “SYS.DBMS_XMLGEN”, line 83
ORA-06512: at “SYS.DBMS_METADATA”, line 345
ORA-06512: at “SYS.DBMS_METADATA”, line 410
ORA-06512: at “SYS.DBMS_METADATA”, line 449
ORA-06512: at “SYS.DBMS_METADATA”, line 1156
ORA-06512: at “SYS.DBMS_METADATA”, line 1141
ORA-06512: at line 1

4 thoughts on “ORA-19206 when running export (exp)

  1. Thanks Amin,

    I never faced such situation even working for so long in oracle 9. Thanks for the important information. I thought I was stuck, but you r post helped me.

    Thanks again !!!

    Cheers’
    Yogesh V Dhongade

    Like

  2. Hi,

    I am facing the same issue. Even after executing the query which you gave also the problem is not getting solved.Could you please help me out.

    I tried in the this way.

    I have logged in to sql+ sheet : sys/sys@esmr as sysdba [username/password@servicename as sysdba] and executed the query
    $ora92/rdbms/admin/catmeta.sql

    But still I am unable to export the database user.Still it is showing me the same error. Please help me out.

    Thanks so much,
    Sudheer Reddy T

    Like

  3. Hi,

    I am facing the same issue. Even after executing the query which you gave also the problem is not getting solved.Could you please help me out.

    I tried in the this way.

    I have logged in to sql+ sheet : sys/sys@esmr as sysdba [username/password@servicename as sysdba] and executed the query
    $ora92/rdbms/admin/catmeta.sql

    But still I am unable to export the database user.Still it is showing me the same error. Please help me out.

    Thanks so much,
    Sudheer Reddy T

    Like

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.