Home > Database > Mysql Tutorial > body text

Oracle数据库升级后报ORA-00704和ORA-39700错误

WBOY
Release: 2016-06-07 17:11:05
Original
1070 people have browsed it

把数据库从10.2.0.1.0升级到10.2.0.5.0,启动数据库,报错:ORA-01092: ORACLE 例程终止,强制断开。 查看alert文件,显示ORA-00

把数据库从10.2.0.1.0升级到10.2.0.5.0,,启动数据库,报错:ORA-01092: Oracle 例程终止,强制断开。
查看alert文件,显示
ORA-00704: bootstrap process failure
ORA-39700: database must be opened with UPGRADE option
因为数据库升级以后数据字典的内容被修改了,需要运行catalog.sql和catproc.sql这两个脚本再更新数据字典。
处理方法如下:
SQL>startup upgrade;
SQL>@ORACLE_HOME\rdbms\admin\catupgrd.sql;
这个脚本会执行比较长时间,我在虚拟机上用了快22分钟.
Total Upgrade Time: 00:21:58
执行完成以后,关闭数据库,再使用正常模式启动数据库.
再运行一下utlrp.sql这个脚本来重新编译一下一些无效的对象
SQL>startup
SQL>@ORACLE_HOME\rdbms\admin\utlrp.sql;
...
OBJECTS WITH ERRORS
-------------------
                  0
...
ERRORS DURING RECOMPILATION
---------------------------
                          0
升级完成.

linux

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template