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

2010.05.12 08:21

조인상 조회 수:10848

원문 : 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
번호 제목 글쓴이 날짜 조회 수
75 AIO on HP-UX filesystem 조인상 2011.11.01 13222
74 Diagnosing and Resolving ORA-4030 errors (Oracle Metalink) 조인상 2011.10.31 13205
73 아카이브 모드로 변환하기 조인상 2010.05.12 12791
72 온라인 백업/리스토어 (imp/exp) 조인상 2010.05.09 12785
71 AIX 64bit - oracle 10.2.0.1 설치 file 조인상 2010.05.12 12745
70 Master Note for Diagnosing ORA-4030 (Oracle Metalink) 조인상 2011.10.31 12664
69 롤백세그먼트 부족에 대한 관리법 (ORA-01555) 조인상 2010.10.13 12455
68 10G: ORA-6512 AT SYS.OLAPIHISTORYRETENTION [ID 266728.1] 조인상 2011.06.23 12351
67 오라클 홈디렉토리 변경 ( /oracle_backup => /oracle ) 조인상 2010.05.12 11917
66 Oracle 7.3.4 for Windows file 조인상 2011.08.31 11885
65 control file 재생성하기 조인상 2010.05.12 11667
64 오라클 startup & shutdown 쉘 스크립트 짜는 법 조인상 2010.05.12 11620
63 오라클 유저 생성 및 변경/삭제 조인상 2010.05.12 11413
62 ORA-28002 : the password will expired within N days 조인상 2014.01.09 11274
» 오라클 패치 후 export가 안된다! [1] 조인상 2010.05.12 10848
60 아카이브 로그 강제로 생성하는 명령어 조인상 2010.05.12 10787
59 10g ORA-32004 : obsolete and/or deprecated parameter(s) specified 조인상 2010.05.12 10750
58 64비트 Solaris에 오라클 9.2.0 설치 하기 조인상 2010.05.12 10527
57 오라클 버전업 후 exp할때 ORA-00904에러 조인상 2010.05.12 10450
56 .net 과 오라클 연동에 대하여 조인상 2010.05.12 10334
서버에 요청 중입니다. 잠시만 기다려 주십시오...