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

oracle服务器意外宕机数据库启动失败故障处理记录

客户反馈由于服务器意外宕机,导致数据库业务不能正常运行,经过一番努力后通过redo日志恢复成功!
故障描述:ORA-00600: 内部错误代码, 参数: [krctcr_4], [1179922061], [1179942042], [], [], [], [], [], [], [], [], []

现将主要处理过程记录如下,供有需要的小伙伴参考。
在此也提醒我们,重要业务不要单机跑,实在避免不了单机跑,请做好安全配置,归档日志、rodo日志、控制文件该用的用起来,该多路配置的多路配置。



C:\Users\Administrator>set oracle_sid=orange

C:\Users\Administrator>sqlplus "/ as sysdba"

SQL*Plus: Release 11.2.0.3.0 Production on 星期五 1108 08:43:25 2024

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


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> select status from v$instance;

STATUS
------------------------
MOUNTED

SQL> select name from v$datafile;

NAME
--------------------------------------------------------------------------------

F:\DATABASE\ORANGE\SYSTEM\SYSORANGE.ORA
F:\DATABASE\ORANGE\SYSTEM\SYSAUX01.ORA
F:\DATABASE\ORANGE\DATAFILE\UNDOTBS1.ORA
F:\DATABASE\ORANGE\DATAFILE\INDEXES_2.ORA
F:\DATABASE\ORANGE\DATAFILE\TABLES_2.ORA
F:\DATABASE\ORANGE\DATAFILE\INDEXES_3.ORA
F:\DATABASE\ORANGE\DATAFILE\USERS.ORA
F:\DATABASE\ORANGE\DATAFILE\TABLES_3.ORA
F:\DATABASE\ORANGE\DATAFILE\UNDOTBS2.ORA
F:\DATABASE\ORANGE\DATAFILE\TABLES.ORA
F:\DATABASE\ORANGE\DATAFILE\INDEXES.ORA

NAME
--------------------------------------------------------------------------------

F:\DATABASE\ORANGE\DATAFILE\TABLES2.ORA
F:\DATABASE\ORANGE\DATAFILE\INDEXES2.ORA
F:\DATABASE\ORANGE\DATAFILE\INDEXES_4.ORA
F:\DATABASE\ORANGE\DATAFILE\TABLES_4.ORA

15 rows selected.

SQL> select member from v$logfile;

MEMBER
--------------------------------------------------------------------------------

F:\DATABASE\ORANGE\LOGFILES\LOG5X1ORANGE.ORA
F:\DATABASE\ORANGE\LOGFILES\LOG5Y1ORANGE.ORA
F:\DATABASE\ORANGE\LOGFILES\LOG6X2ORANGE.ORA
F:\DATABASE\ORANGE\LOGFILES\LOG6Y2ORANGE.ORA
F:\DATABASE\ORANGE\LOGFILES\LOG7X3ORANGE.ORA
F:\DATABASE\ORANGE\LOGFILES\LOG7Y3ORANGE.ORA
F:\DATABASE\ORANGE\LOGFILES\LOG8X4ORANGE.ORA
F:\DATABASE\ORANGE\LOGFILES\LOG8Y4ORANGE.ORA

8 rows selected.

SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-00600: 内部错误代码, 参数: [krctcr_4], [1179922061], [1179942042], [], [],
[], [], [], [], [], [], []


SQL> shoutdown immediate;
SP2-0734: unknown command beginning "shoutdown ..." - rest of line ignored.
SQL> shutdown immediate;
ORA-01109: 数据库未打开


Database dismounted.
ORACLE instance shut down.
SQL> select member from v$logfile;
select member from v$logfile
*
ERROR at line 1:
ORA-01034: ORACLE not available
进程 ID: 1740
会话 ID: 193 序列号: 7


SQL> startup
ORACLE instance started.

Total System Global Area 1.1992E+10 bytes
Fixed Size                  2266176 bytes
Variable Size            7583304640 bytes
Database Buffers         4395630592 bytes
Redo Buffers               11051008 bytes
Database mounted.
ORA-00600: 内部错误代码, 参数: [krctcr_4], [1179922061], [1179942042], [], [],
[], [], [], [], [], [], []


SQL> recover database using backup controlfile;
ORA-00279: 更改 1179942042 (10/02/2024 02:14:57 生成) 对于线程 1 是必需的
ORA-00289: 建议: F:\DATABASE\ORANGE\ARCHIVEORANGE_T0001_S11981_R779149394.ARC
ORA-00280: 更改 1179942042 (用于线程 1) 在序列 #11981 中


Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
F:\DATABASE\ORANGE\LOGFILES\LOG8Y4ORANGE.ORA;
ORA-00308: cannot open archived log 'F:\DATABASE\ORANGE\LOGFILES\LOG8Y4ORANGE.ORA;'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) ????????????????


Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
F:\DATABASE\ORANGE\LOGFILES\LOG8X4ORANGE.ORA;
ORA-00308: cannot open archived log 'F:\DATABASE\ORANGE\LOGFILES\LOG8X4ORANGE.ORA;'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) ????????????????


Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
F:\DATABASE\ORANGE\LOGFILES\LOG8Y4ORANGE.ORA
ORA-00310: archived log contains sequence 11979; sequence 11981 required
ORA-00334: archived log: 'F:\DATABASE\ORANGE\LOGFILES\LOG8Y4ORANGE.ORA'


SQL> recover database using backup controlfile;
ORA-00279: 更改 1179942042 (10/02/2024 02:14:57 生成) 对于线程 1 是必需的
ORA-00289: 建议: F:\DATABASE\ORANGE\ARCHIVEORANGE_T0001_S11981_R779149394.ARC
ORA-00280: 更改 1179942042 (用于线程 1) 在序列 #11981 中


Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
F:\DATABASE\ORANGE\LOGFILES\LOG8X4ORANGE.ORA
ORA-00310: archived log contains sequence 11979; sequence 11981 required
ORA-00334: archived log: 'F:\DATABASE\ORANGE\LOGFILES\LOG8X4ORANGE.ORA'


SQL> recover database using backup controlfile;
ORA-00279: 更改 1179942042 (10/02/2024 02:14:57 生成) 对于线程 1 是必需的
ORA-00289: 建议: F:\DATABASE\ORANGE\ARCHIVEORANGE_T0001_S11981_R779149394.ARC
ORA-00280: 更改 1179942042 (用于线程 1) 在序列 #11981 中


Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
F:\DATABASE\ORANGE\LOGFILES\LOG7Y3ORANGE.ORA
ORA-00310: archived log contains sequence 11978; sequence 11981 required
ORA-00334: archived log: 'F:\DATABASE\ORANGE\LOGFILES\LOG7Y3ORANGE.ORA'


SQL> recover database using backup controlfile;
ORA-00279: 更改 1179942042 (10/02/2024 02:14:57 生成) 对于线程 1 是必需的
ORA-00289: 建议: F:\DATABASE\ORANGE\ARCHIVEORANGE_T0001_S11981_R779149394.ARC
ORA-00280: 更改 1179942042 (用于线程 1) 在序列 #11981 中


Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
F:\DATABASE\ORANGE\LOGFILES\LOG7X3ORANGE.ORA
ORA-00310: archived log contains sequence 11978; sequence 11981 required
ORA-00334: archived log: 'F:\DATABASE\ORANGE\LOGFILES\LOG7X3ORANGE.ORA'


SQL> recover database using backup controlfile;
ORA-00279: 更改 1179942042 (10/02/2024 02:14:57 生成) 对于线程 1 是必需的
ORA-00289: 建议: F:\DATABASE\ORANGE\ARCHIVEORANGE_T0001_S11981_R779149394.ARC
ORA-00280: 更改 1179942042 (用于线程 1) 在序列 #11981 中


Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
F:\DATABASE\ORANGE\LOGFILES\LOG6Y2ORANGE.ORA
Log applied.
Media recovery complete.
SQL> altert database open;
SP2-0734: unknown command beginning "altert dat..." - rest of line ignored.
SQL> alert database open;
SP2-0734: unknown command beginning "alert data..." - rest of line ignored.
SQL> alter database open resetlogs;

Database altered.

SQL> select status from v$instance;

STATUS
------------------------
OPEN

SQL> select name from usera a where a.nick_name='orange';

NAME
--------------------------------------------------------------------------------

USER

SQL>








http://www.kler.cn/a/385441.html

相关文章:

  • 贝尔不等式,路径积分与AB(Aharonov-Bohm)效应
  • docker进行SRS直播服务器搭建
  • 帮你快速理解并巧记设计模式
  • 云轴科技ZStack助力新远科技开启化工行业智能制造新篇章
  • Qt菜单功能实现
  • 跟我学C++中级篇——生产中如何调试程序
  • 【分布式事务】二、NET8分布式事务实践: DotNetCore.CAP 框架 、 消息队列(RabbitMQ)、 数据库(MySql、MongoDB)
  • 【数据结构】单向链表的模拟实现--Java
  • goframe开发一个企业网站 TOKEN 的使用11
  • 从0开始学习机器学习--Day15--梯度检验以及随机初始化
  • 【手势识别】Python+卷积神经网络算法+人工智能+深度学习+计算机课设项目+TensorFlow+机器学习+Django网页界面+算法模型
  • uniapp 整合 OpenLayers - 使用modify修改要素
  • Java教学新动力:SpringBoot辅助平台
  • DAY22|回溯算法Part01|LeetCode: 77. 组合、216.组合总和III 、17.电话号码的字母组合
  • 2024年入职_转行网络安全,该如何规划?
  • OJ06:206.反转链表
  • 保障性住房管理:SpringBoot技术优势分析
  • 化工厂主要涉及的自动化备件有哪些?
  • go语言中package详解
  • MySQL 8.0中的‘caching_sha2_password‘身份验证插件问题
  • Gemini 对话机器人加入开源盲水印技术来检测 AI 生成的内容
  • Scala包对象。
  • java导出word文件(手绘)
  • GCC和clang的爱恨情仇
  • 【Linux系统】—— 基本指令(二)
  • SpringBoot实现的企业资产管理系统