ORA-01172、ORA-01151错误处理

php中文网
发布: 2016-06-07 17:30:02
原创
2539人浏览过

遇到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"

ClipDrop
ClipDrop

Stability.AI出品的图片处理系列工具(背景移除、图片放大、打光)

ClipDrop 112
查看详情 ClipDrop

// *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 ~]$

linux

最佳 Windows 性能的顶级免费优化软件
最佳 Windows 性能的顶级免费优化软件

每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。

下载
来源:php中文网
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
开源免费商场系统广告
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号