oracle 9.2.0.7 + hp_unix exp导出报错处理
exp system/oracle full=y file=/orabackup/test.dmp log=/orabackup/test.log rows=n buffer=4096000
用以上exp 命令时导出报以下错误:
About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user QCSYSTEM
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user QCSYSTEM
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
解决方法:
运行$ORACLE_HOME/rdbms/admin/下的catexp.sql 即可
解决上面这个问题后,再次重新运行exp命令,又不断报以下错误:
EXP-00056: ORACLE error 904 encountered
ORA-00904: "SYS"."DBMS_EXPORT_EXTENSION"."FUNC_INDEX_DEFAULT": invalid identifier
解决方法:
cd $ORACLE_HOME/rdbms/admin/
sqlplus "/as sysdba"
shutdown immediate
startup migrate
@catpatch.sql
shutdown immediate
startup
最后exp导出无报错。