oracle ora-16003,ORA-31600错误分析
作者:guoge[@more@]今天在對9i數據庫做export時,出現如下錯誤:
E:>exp system/manager file=backbill.dmp owner=backbill
Export: Release 9.2.0.4.0 - Production on Thu Nov 18 14:42:11 2004
Copyright (c) 1982, 2002, Oracle Corporation.? All rights reserved.
Connected to: Oracle9i Enterprise Edition Release 9.2.0.4.0 - 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
About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user BACKBILL
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user BACKBILL
About to export BACKBILL's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
EXP-00056: ORACLE error 31600 encountered
ORA-31600: invalid input value EMIT_SCHEMA for parameter NAME in function SET_TR
ANSFORM_PARAMORA-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
出現這個問題我也不知道應該怪我還是怪Oracle。其實這個問題原因和解決方法很簡單。
我是先安裝oracle9.0.2.1,然后安裝9.0.2.4補丁,再創建數據庫,我以為這樣在創建數據庫時就會執行9.0.2.4的腳本,也就沒看補丁的README。
其實文檔里要求在安裝補丁之后,再執行catpatch.sql腳本。
當然上面的問題解決也很簡單,就是執行catpatch.sql腳本就可以了。具體過程如下:
1. shutdown immedaite
2. startup migrate
3 @ ?rdbmsadmincatpatch
4. shutdown immedaite
5. startup
需要說明的是: 這種ORA-31600問題只有在給數據庫打補丁時才會出現,不打補丁的9i不會出現。
總結
以上是生活随笔為你收集整理的oracle ora-16003,ORA-31600错误分析的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: dvwa安装包linux,dvwa安裝、
- 下一篇: 大学计算机课第二章内容总结,第四周市政系