mysql报错1172该怎样解决_ORA-01172、ORA-01151错误处理

遇到ORA-01172、ORA-01151错误,询问得知存储出现故障导致数据库无法启动。

遇到ORA-01172、ORA-01151错误,询问得知存储出现故障导致数据库无法启动。

数据库版本:10.2.0.1.0

[Oracle@hhserverfs ~]$ sqlplus /nolog

SQL*Plus: Release 10.2.0.1.0 - Production on Sat Jun 8 11:46:38 2013

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

SQL> conn /as sysdba

Connected to an idle instance.

SQL> startup

ORACLE instance started.

Total System Global Area 1124073472 bytes

Fixed Size 1218968 bytes

Variable Size 385877608 bytes

Database Buffers 721420288 bytes

Redo Buffers 15556608 bytes

Database mounted.

ORA-01172: recovery of thread 1 stuck at block 121 of file 2

ORA-01151: use media recovery to recover block, restore backup if needed

SQL> !

[oracle@hhserverfs ~]$ oerr ora 01172

01172, 00000, "recovery of thread %s stuck at block %s of file %s"

// *Cause: Crash recovery or instance recovery could not apply a change to a

// block because it was not the next change. This can happen if the

// block was corrupted and then repaired during recovery.

// *Action: Do a RECOVER DATAFILE for the file containing the block. If this

// does not resolve the problem then restore the file from a backup

// and recover it.

[oracle@hhserverfs ~]$ exit

exit

SQL> recover datafile 2;

Media recovery complete.

SQL> alter database open;

Database altered.

SQL> exit

Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Pr

oduction

With the Partitioning, OLAP and Data Mining options

[oracle@hhserverfs ~]$

logo.gif

f68f2add0b68e4f9810432fce46917b7.png

本文原创发布php中文网,转载请注明出处,感谢您的尊重!

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值