원문 : http://www.ischo.net -- 조인상 // 시스템 엔지니어

Writer : http://www.ischo.net -- ischo // System Engineer in Replubic Of Korea

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

본문 : http://www.ischo.net -- 조인상 //시스템 엔지니어

+++++++++++++++++++++++++++++++++++++++++++++++++++++++


--- 문제 ---
[SDCNDB::/onbackup/exp] exp userid=system/system@BMS file=/onbackup/exp/BMS_$CDATE.dmp log=/onbackup/exp/BMS_$CDATE.log full=y

Export: Release 9.2.0.5.0 - Production on Fri Jan 2 09:59:38 2009

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.


Connected to: Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.5.0 - Production
Export done in US7ASCII character set and AL16UTF16 NCHAR character set
server uses KO16MSWIN949 character set (possible charset conversion)

About to export the entire database ...
. exporting tablespace definitions
. exporting profiles
. exporting user definitions
. exporting roles
. exporting resource costs
. exporting rollback segment definitions
. exporting database links
. exporting sequence numbers
. exporting directory aliases
. exporting context namespaces
. exporting foreign function library names
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions
. exporting system procedural objects and actions
. exporting pre-schema procedural objects and actions
. exporting cluster definitions
^C
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 1157
ORA-06512: at "SYS.DBMS_METADATA", line 1142
ORA-06512: at line 1
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 1157
ORA-06512: at "SYS.DBMS_METADATA", line 1142
ORA-06512: at line 1
EXP-00000: Export terminated unsuccessfully





원인------------

Cause:

------



XDB installation/dictionary built causes some of the underlying XML views to be INVALID. 

Here the error occurs when dbms_xmlgen tries to access one those invalid views.


해결법 ---------------


Fix:

----



Run the following script that resides under 

$ORACLE_HOME/rdbms/admin directory after XDB dictionary is built

by connecting as user SYS :



catmeta.sql (Creates Object Model of Oracle dictionary) 



After running this script, start the export of  database again.
서버에 요청 중입니다. 잠시만 기다려 주십시오...