ORA-39700: database must be opened with UPGRADE option【转】

1. 错误

数据库升级后(从11.2.0.1升级到11.2.0.4)启动报错

SQL> startup
ORACLE instance started.
 
Total System Global Area 4932501504 bytes
Fixed Size                  2103096 bytes
Variable Size             889194696 bytes
Database Buffers         4026531840 bytes
Redo Buffers               14671872 bytes
Database mounted.
ORA-01092: ORACLE instance terminated. Disconnection forced
 
2. 查看alert.log

ORA-00704: bootstrap process failure
ORA-39700: database must be opened with UPGRADE option
 
3. 查看数据库版本为:10.2.0.4.0,应该是做过数据库的升级而没有执行这个脚本造成的
$ORACLE_HOME\rdbms\admin\catupgrd.sql;
 
4.处理过程很简单
startup upgrade;
@$ORACLE_HOME\rdbms\admin\catupgrd.sql;
@$ORACLE_HOME/rdbms/admin/utlrp.sql;  --重新编译失效的object,跟这个问题本身关系不大
重启数据库
shutdwon immediate;
startup
ok
posted @ 2015-12-18 09:08  飞雪^流星  阅读(698)  评论(0编辑  收藏  举报