oracle3135和3114错误,数据库启动报ORA-00704 ORA-39714错误解决

数据库启动失败,报ORA-00704、ORA-39714错误

[oracle@www.xifenfei.com ~]$ sqlplus / as sysdba

SQL*Plus: Release 12.1.0.1.0 Production on Thu Aug 7 08:15:35 2014

Copyright (c) 1982, 2013, Oracle. All rights reserved.

Connected to:

Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production

With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options

SQL> startup

ORACLE instance started.

Total System Global Area 663945216 bytes

Fixed Size 2291808 bytes

Variable Size 369100704 bytes

Database Buffers 289406976 bytes

Redo Buffers 3145728 bytes

Database mounted.

ORA-01092: ORACLE instance terminated. Disconnection forced

ORA-00704: bootstrap process failure

ORA-39714: upgrade script utlmmig.sql failed

Process ID: 11592

Session ID: 1 Serial number: 5

SQL> startup upgrade

SP2-0642: SQL*Plus internal error state 2133, context 3114:0:0

Unsafe to proceed

ORA-03114: not connected to ORACLE

SQL> exit

Disconnected from Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production

With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options

alert日志报错

Thu Aug 07 07:42:25 2014

SMON: enabling cache recovery

Thu Aug 07 07:42:25 2014

Errors in file /u01/app/oracle/diag/rdbms/orcl/ORCL/trace/ORCL_ora_11592.trc:

ORA-39714: upgrade script utlmmig.sql failed

Thu Aug 07 07:42:25 2014

Errors in file /u01/app/oracle/diag/rdbms/orcl/ORCL/trace/ORCL_ora_11592.trc:

ORA-00704: bootstrap process failure

ORA-39714: upgrade script utlmmig.sql failed

Thu Aug 07 07:42:25 2014

Errors in file /u01/app/oracle/diag/rdbms/orcl/ORCL/trace/ORCL_ora_11592.trc:

ORA-00704: bootstrap process failure

ORA-39714: upgrade script utlmmig.sql failed

Thu Aug 07 07:42:25 2014

Error 704 happened during db open, shutting down database

USER (ospid: 11592): terminating the instance due to error 704

通过分析utlmmig.sql脚本知道,数据库在升级bootstrap$之前会先在props$表中插入BOOTSTRAP_UPGRADE_ERROR相关记录,数据库在启动之时会检测该值,如果发现该值存在,数据库只能以upgrade模式启动,清理掉相关记录,数据库即可正常启动

[oracle@www.xifenfei.com ~]$ sqlplus / as sysdba

SQL*Plus: Release 12.1.0.1.0 Production on Thu Aug 7 07:42:44 2014

Copyright (c) 1982, 2013, Oracle. All rights reserved.

Connected to an idle instance.

SQL> startup upgrade

ORACLE instance started.

Total System Global Area 663945216 bytes

Fixed Size 2291808 bytes

Variable Size 369100704 bytes

Database Buffers 289406976 bytes

Redo Buffers 3145728 bytes

Database mounted.

Database opened.

SQL> delete from props$ where name = 'BOOTSTRAP_UPGRADE_ERROR';

1 row deleted.

SQL> delete from props$ where name = 'LOGMNR_BOOTSTRAP_UPGRADE_ERROR';

0 rows deleted.

SQL> commit;

Commit complete.

SQL>

SQL> shutdown immediate

Database closed.

Database dismounted.

ORACLE instance shut down.

SQL> startup

ORACLE instance started.

Total System Global Area 663945216 bytes

Fixed Size 2291808 bytes

Variable Size 369100704 bytes

Database Buffers 289406976 bytes

Redo Buffers 3145728 bytes

Database mounted.

Database opened.

SQL>

数据库虽然正常启动成功,但是由于bootstrap$对象升级失败,后续还是有很大风险,建议分析报错原因,解决原因然后继续升级bootstrap$基表

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值