원문 : 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.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
--- 문제 ---
[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.
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
15 | windows용 오라클 온라인 백업 스크립트 | 조인상 | 2010.07.01 | 20143 |
14 | 온라인 백업방법 begin~end backup | 조인상 | 2010.05.12 | 20678 |
13 | ORA-04063: package body "EXFSYS.DBMS_EXPFIL_EXP" has errors | 조인상 | 2012.01.04 | 20765 |
12 | 일반유저에게 kill session 권한 주기 | ischo | 2019.08.12 | 22312 |
11 | datafile, redolog, controlfile 위치 변경하기 | 조인상 | 2012.08.02 | 24625 |
10 | 오라클에 접속하는 최대 인스턴스개수(세션개수)를 늘리는 방법 | 조인상 | 2010.05.12 | 24662 |
9 | 오라클 11g - ADR/ADRCI : 새로운 alertlog 위치 | 조인상 | 2011.05.17 | 29718 |
8 | exp실행시 에러. ORA-06512 SYS.DBMS_METADATA_INT | 조인상 | 2010.05.12 | 32656 |
7 | 오라클 패치후 각 컴퍼넌트들 버전 확인 쿼리 | 조인상 | 2010.10.05 | 46338 |
6 | 성능분석을 위한 v$sysstat, v$sesstat, v$system_event 조회 | 조인상 | 2011.09.27 | 50449 |
5 | 히든 파라미터 확인하는 쿼리 | 조인상 | 2010.05.12 | 62461 |
4 | ORA-28040 : No matching authentication protocol | 조인상 | 2014.11.13 | 67285 |
3 | 오라클 온라인백업 스크립트 (ksh 용) [1] | 조인상 | 2010.05.12 | 100773 |
2 | centOS 5.2 에 오라클 10g 설치 | 조인상 | 2010.05.12 | 109931 |
» | exp error - ORA-19206: Invalid value for query or REF CURSOR parameter | 조인상 | 2010.05.12 | 156647 |