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

  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

  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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s