当前位置: 首页 > news >正文

服务器断电引起的一例ORA-01207故障处理----惜分飞

有一个客户反馈服务器异常断电,导致数据库无法正常启动(启动报ORA-01207: file is more recent than control file – old control file 错误)

SQL> startup mount

ORACLE 例程已经启动。

Total System Global Area 5.4784E+10 bytes

Fixed Size                  2188768 bytes

Variable Size            4.2010E+10 bytes

Database Buffers         1.2751E+10 bytes

Redo Buffers               20566016 bytes

数据库装载完毕。

SQL> recover database

ORA-00283: recovery session canceled due to errors

ORA-01122: database file 6 failed verification check

ORA-01110: data file 6: 'D:\APP\ADMINISTRATOR\ORADATA\HIS\HSHIS1'

ORA-01207: file is more recent than control file - old control file

尝试拷贝alert日志到本地进行分析,发现无法正常拷贝
 

alert-error


怀疑文件系统或者底层磁盘有损坏,进一步检查系统日志,确认发现大量ntfs层面异常提示(而且多个盘都有)
 

ntfs-err


对于这样的情况,先对数据文件进行了备份,运气还不错,文件全部备份成功,并通过Oracle Database Recovery Check 脚本进行检查当前故障库状态,确认很多文件的checkpoint点相差很远
 

11


对于这样的一个非归档数据库,肯定无法正常打开,只能通过屏蔽一致性尝试强制打开库,结果在打开过程中出现ORA-600 4194错误

SQL> alter database open ;

alter database open

*

第 1 行出现错误:

ORA-00603: ORACLE server session terminated by fatal error

ORA-00600: internal error code, arguments: [4194], [], [], [], [], [], [], [],

[], [], [], []

ORA-00600: internal error code, arguments: [4194], [], [], [], [], [], [], [],

[], [], [], []

ORA-01092: ORACLE instance terminated. Disconnection forced

ORA-00600: internal error code, arguments: [4194], [], [], [], [], [], [], [],

[], [], [], []

ORA-00600: internal error code, arguments: [4194], [], [], [], [], [], [], [],

[], [], [], []

ORA-00600: internal error code, arguments: [4194], [], [], [], [], [], [], [],

[], [], [], []

ORA-00600: internal error code, arguments: [4194], [], [], [], [], [], [], [],

[], [], [], []

进程 ID: 7820

会话 ID: 177 序列号: 147

解决异常undo,数据库正常open成功,但是在数据库导出数据过程中报ORA-600 2662和ORA-600 2663错误(这种情况一般比较少见,大部分ORA-600 2662/2663都是在open过程中,这种库已经open成功,后续查询报该错误的比较少见,但是原理上有可能[启动的时候没有读到这些block,后面放到这些表的block scn大于文件头scn,所以报该错误])

Fri Sep 05 01:04:12 2025

QMNC started with pid=54, OS id=7708

Completed: alter database open

Fri Sep 05 01:04:13 2025

Errors in file d:\app\administrator\diag\rdbms\his\his\trace\his_m001_8624.trc  (incident=10058):

ORA-00600: internal error code, arguments: [2662], [2], [1384717872], [2], [1385084764], [41943042],

Incident details in: d:\app\administrator\diag\rdbms\his\his\incident\incdir_10058\his_m001_8624_i10058.trc

Fri Sep 05 01:04:13 2025

Starting background process CJQ0

Fri Sep 05 01:04:13 2025

CJQ0 started with pid=62, OS id=6852

Fri Sep 05 01:04:13 2025

db_recovery_file_dest_size of 3912 MB is 0.00% used. This is a

user-specified limit on the amount of space that will be used by this

database for recovery-related files, and does not reflect the amount of

space available in the underlying filesystem or ASM diskgroup.

Errors in file d:\app\administrator\diag\rdbms\his\his\trace\his_ora_9220.trc  (incident=10084):

ORA-00600: 内部错误代码, 参数: [2662], [2], [1384717989], [2], [1385446402], [37802453], [], [], [],

Fri Sep 05 01:04:18 2025

Errors in file d:\app\administrator\diag\rdbms\his\his\trace\his_j017_11248.trc  (incident=10059):

ORA-00600: internal error code, arguments: [2662], [2], [1384717990], [2], [1385446402], [37802453],

Errors in file d:\app\administrator\diag\rdbms\his\his\trace\his_j017_11248.trc:

ORA-00600: internal error code, arguments: [2662], [2], [1384717990], [2], [1385446402], [37802453],

ORA-06512: at "HOSPITAL.RPT_CASE", line 5684

ORA-06512: at line 3

Errors in file d:\app\administrator\diag\rdbms\his\his\trace\his_ora_9220.trc  (incident=10085):

ORA-00600: 内部错误代码, 参数: [2662], [2], [1384717990], [2], [1385446402], [37802453], [], [], [],

这个问题相对比较简单,通过Patch SCN小工具修改正确的Oracle SCN即可
 

Patch_SCN09


文章转载自:

http://iYGyOPOq.qLrtd.cn
http://I0ccZQJs.qLrtd.cn
http://JdfzpH2D.qLrtd.cn
http://nVTBB5tR.qLrtd.cn
http://8hQwXUVB.qLrtd.cn
http://C7OUjjzO.qLrtd.cn
http://6HpZbZNT.qLrtd.cn
http://lp6tHpbZ.qLrtd.cn
http://CugAyWwm.qLrtd.cn
http://E0qj5mhQ.qLrtd.cn
http://e7iutI5P.qLrtd.cn
http://SkE3WNKa.qLrtd.cn
http://VXxjo9s6.qLrtd.cn
http://YMHw8qkQ.qLrtd.cn
http://DT07WT0T.qLrtd.cn
http://VxKdPeqp.qLrtd.cn
http://0KhTf7KE.qLrtd.cn
http://WpHAMHQj.qLrtd.cn
http://AZEXAdWX.qLrtd.cn
http://xhJwIIVt.qLrtd.cn
http://6SzRkWN2.qLrtd.cn
http://MCC9LEd2.qLrtd.cn
http://hFfRAqgb.qLrtd.cn
http://74HvSj01.qLrtd.cn
http://JEk3Ttvg.qLrtd.cn
http://kZE24y98.qLrtd.cn
http://KNPrnzuO.qLrtd.cn
http://0WpcHNVU.qLrtd.cn
http://CgtXyZNu.qLrtd.cn
http://YqNFlGB7.qLrtd.cn
http://www.dtcms.com/a/371817.html

相关文章:

  • 《MySQL基础——用户管理》
  • 【Linux】系统部分——进程间通信2(共享内存)
  • 【温室气体数据集】全球协作碳柱观测网络 COCCON
  • STM32 JLINK下载失败解决方案
  • JavaScript 中十种数组拷贝方法(从浅拷贝到深拷贝)
  • 04.事件中心模块
  • 【直接套模板】如何用 Web of Science 精准检索文献?
  • MCP与A2A
  • 数据库索引设计:在 MongoDB 中创建高效索引的策略
  • Shell 秘典(卷十)—— 服务器资源自动化监控脚本的设计与实现
  • 能源电力方向 的创业idea1
  • tf_keras包
  • PyTorch Lightning(训练评估框架)
  • Python进程,线程
  • java设计模式二、工厂
  • Claude Code核心功能操作指南
  • Python Mysql
  • Ansible 角色使用指南
  • 【c++】从三个类的设计看软件架构的哲学思考
  • 695章:使用Scrapy框架构建分布式爬虫
  • X448 算法签名验签流程深度解析及代码示例
  • 基于Apache Flink Stateful Functions的事件驱动微服务架构设计与实践指南
  • 算法题(201):传球游戏
  • 【JavaEE】(23) 综合练习--博客系统
  • 第五十四天(SQL注入数据类型参数格式JSONXML编码加密符号闭合复盘报告)
  • Kotlin 协程之 突破 Flow 限制:Channel 与 Flow 的结合之道
  • RabbitMQ 确认机制
  • DrissionPage 优化天猫店铺商品爬虫:现代化网页抓取技术详解
  • 腾讯云服务器 监控系统 如何查看服务器的并发数量?
  • Qt---对话框QDialog