问题描述:
用EXP导出错。信息如下:
连接到: 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
已导出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集
即将导出指定的用户...
. 正在导出 pre-schema 过程对象和操作
. 正在导出用户 SYSTEM 的外部函数库名称
. 导出 PUBLIC 类型同义词
. 导出私有类型同义词
. 正在导出用户 SYSTEM 的对象类型定义
EXP-00008: 遇到 ORACLE 错误 31600
ORA-00942: 表或视图不存在
EXP-00024: 未安装导出视图,请通知您的 DBA
EXP-00000: 导出终止失败
解决方法:
X:\oracle\ora92>sqlplus /nolog
SQL*Plus: Release 9.2.0.4.0 - Production on 星期日 6月 22 16:08:17 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> conncect sys/oa as sysdba
SP2-0734: 未知的命令开头 "conncect s..." - 忽略了剩余的行。
SQL> connect sys/oa as sysdba
已连接。
SQL> shutdown immediate
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup migrate
ORACLE 例程已经启动。
Total System Global Area 772875256 bytes
Fixed Size 455672 bytes
Variable Size 427819008 bytes
Database Buffers 343932928 bytes
Redo Buffers 667648 bytes
数据库装载完毕。
数据库已经打开。
SQL>X:\oracle\ora92\rdbms\admin\catpatch.sql
DOC> END Component Patches */
COMP_NAME STATUS VERSION
----------------------------------- ----------- --------------------
Oracle9i Catalog Views VALID 9.2.0.4.0
Oracle9i Packages and Types VALID 9.2.0.4.0
Oracle Workspace Manager VALID 9.2.0.1.0
JServer JAVA Virtual Machine VALID 9.2.0.4.0
Oracle XDK for Java VALID 9.2.0.6.0
Oracle9i Java Packages VALID 9.2.0.4.0
Oracle interMedia VALID 9.2.0.4.0
Spatial VALID 9.2.0.4.0
Oracle Text VALID 9.2.0.4.0
Oracle XML Database VALID 9.2.0.4.0
Oracle Ultra Search VALID 9.2.0.4.0
COMP_NAME STATUS VERSION
----------------------------------- ----------- --------------------
Oracle Data Mining VALID 9.2.0.4.0
OLAP Analytic Workspace UPGRADED 9.2.0.4.0
Oracle OLAP API UPGRADED 9.2.0.4.0
OLAP Catalog VALID 9.2.0.4.0
DOC>================================================================
DOC> The above query lists the components in the database, along
DOC> with their current patchset version and status.
DOC>================================================================
DOC>*/
DOC> END CATPATCH.SQL */
SQL> shutdown immediate
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup
ORACLE 例程已经启动。
Total System Global Area 772875256 bytes
Fixed Size 455672 bytes
Variable Size 427819008 bytes
Database Buffers 343932928 bytes
Redo Buffers 667648 bytes
数据库装载完毕。
数据库已经打开。
SQL>
SQL>exit
IT is ok
开始备份已经没有问题了,HAHA