오라클 패치 후 export가 안된다!

2010.05.12 08:21

조인상 조회 수:10862

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

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

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

 

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

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


상황 : 오라클 8.0 및 오라클 8i 에서 exp 한 dump파일을

오라클 9i 9.2.0.4 (release 2 설치 후 패치셋 3 적용) 데이터베이스에

imp 시킨 후....


데이터베이스 정기백업을 위해서 exp를 실행한 후 다음과 같은 메시지를

보이며 exp가 정지한다.


( 문제 1 )


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

About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user TEST
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user TEST
EXP-00008: ORACLE error 942 encountered
ORA-00942: table or view does not exist
EXP-00024: Export views not installed, please notify your DBA
EXP-00000: Export terminated unsuccessfully


( 문제 1 해결책 )

위 문제는 오라클 하위버전 덤프를 상위버전에 imp 시켰을 경우에

발생하며 $ORACLE_HOME/rdbms/admin/catexp.sql 을

구동시키면 해결된다.


root# su - oracle
oracle$ sqlplus '/ as sysdba'
sql> start rdbms/admin/catexp.sql





( 문제 2 )

위와 같은 상황에서

exp 실행시 다음과 같은 에러를 보이며 exp가 정지한다.


Connected to: Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production
Export done in US7ASCII character set and AL16UTF16 NCHAR character set
server uses KO16KSC5601 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
EXP-00056: ORACLE error 31600 encountered
ORA-31600: invalid input value EMIT_SCHEMA for parameter NAME in function SET_TRANSFORM_PARAM
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.DBMS_METADATA_INT", line 3926
ORA-06512: at "SYS.DBMS_METADATA_INT", line 4050
ORA-06512: at "SYS.DBMS_METADATA", line 836
ORA-06512: at line 1
EXP-00056: ORACLE error 31600 encountered
ORA-31600: invalid input value EMIT_SCHEMA for parameter NAME in function SET_TRANSFORM_PARAM
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.DBMS_METADATA_INT", line 3926
ORA-06512: at "SYS.DBMS_METADATA_INT", line 4050
ORA-06512: at "SYS.DBMS_METADATA", line 836
ORA-06512: at line 1
EXP-00000: Export terminated unsuccessfully



위 문제는 패치셋3 적용후에 발생하며

$ORACLE_HOME/rdbms/admin/catpatch.sql을 실행시키면 해결된다.


root# su - oracle
oracle$ sqlplus '/ as sysdba'
sql> start rdbms/admin/catpatch.sql
번호 제목 글쓴이 날짜 조회 수
115 일반유저에게 kill session 권한 주기 ischo 2019.08.12 22430
114 Oracle expdp 로 백업하기 조인상 2015.02.23 9117
113 ORA-28040 : No matching authentication protocol 조인상 2014.11.13 67299
112 ORA-28002 : the password will expired within N days 조인상 2014.01.09 11291
111 REDO 로그 그룹의 용량을 늘리기 [1] 조인상 2013.05.22 15205
110 checkpoint not complete에 대해서 ischo 2013.05.22 267
109 Oracle Database 10g: New Features for Oracle8i OCPs 조인상 2013.05.13 13483
108 SQL developer 실행시 jvm.dll 오류 발생 조치 방법 조인상 2013.01.23 19783
107 Orace Lisence 정책 조인상 2013.01.22 13828
106 SQL study - 특정열 앞에 순차적인 값 붙여 나열하기 조인상 2012.11.23 14851
105 datafile, redolog, controlfile 위치 변경하기 조인상 2012.08.02 24655
104 Introduce Oracle ExaData 조인상 2012.05.24 13716
103 ASM 정리자료 조인상 2012.04.26 14527
102 ORA-01555 : snapshot too old: rollback segment number %s with name \"%s\" too small ischo 2012.04.10 19285
101 Oracle Database 2 Day DBA - 부록 A. ASM file 조인상 2012.04.05 18696
100 Oracle 설치문서에서 보는 ASM file 조인상 2012.03.30 19762
99 AIX 6.1에 오라클 9i 설치 조인상 2012.03.24 17355
98 ORA-04063: package body "EXFSYS.DBMS_EXPFIL_EXP" has errors 조인상 2012.01.04 20780
97 AIO on HP-UX filesystem 조인상 2011.11.01 13238
96 Diagnosing and Resolving ORA-4030 errors (Oracle Metalink) 조인상 2011.10.31 13218
서버에 요청 중입니다. 잠시만 기다려 주십시오...