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

server/2024/11/14 4:54:10/

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

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

C:\Users\Administrator>set oracle_sid=orangeC:\Users\Administrator>sqlplus "/ as sysdba"SQL*Plus: Release 11.2.0.3.0 Production on 星期五 1108 08:43:25 2024Copyright (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 optionsSQL> select status from v$instance;STATUS
------------------------
MOUNTEDSQL> 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.ORANAME
--------------------------------------------------------------------------------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.ORA15 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.ORA8 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 序列号: 7SQL> 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
------------------------
OPENSQL> select name from usera a where a.nick_name='orange';NAME
--------------------------------------------------------------------------------USERSQL>

http://www.ppmy.cn/server/140981.html

相关文章

深入理解 Kafka:分布式消息队列的强大力量

一、引言 在现代分布式系统中&#xff0c;消息队列扮演着至关重要的角色&#xff0c;而 Kafka 作为其中的佼佼者&#xff0c;以其高吞吐量、可扩展性和持久性等特点被广泛应用。无论是处理海量的日志数据、实时的用户交互信息&#xff0c;还是复杂的微服务间通信&#xff0c;Ka…

第01章 Linux概述及系统环境搭建

目标: ◆ 知道 Linux 是什么&#xff1f;有什么特点&#xff1f; ◆ 知道 Linux 内核及发行版的区别 ◆ 知道 Linux 的应用领域 ◆ 能够在虚拟机软件上新建虚拟机 ◆ 能够在虚拟机中挂载CentOS6.7光盘镜像 ◆ 能够根据需求安装CentOS6.7的操作系统 ◆ 能够对系统进行登录和关闭…

Tomcat(6) 什么是Servlet容器?

Servlet容器是Java EE技术中的一个关键组件&#xff0c;它负责管理和执行Servlet。Servlet容器提供了运行时环境&#xff0c;使得Servlet能够接收和响应来自客户端的HTTP请求。以下是Servlet容器的详细解释&#xff0c;以及一些相关的代码示例。 Servlet容器的主要功能 加载和…

手机发展史介绍

手机&#xff0c;这个曾经在电影和科幻小说中出现的高科技产品&#xff0c;如今已经渗透进了我们生活的每个角落。从单纯的通讯工具到如今集成了通讯、娱乐、工作、社交等多种功能的智能终端&#xff0c;手机的发展史也是人类科技进步的缩影。本文将从手机的发展历程、技术革新…

【Linux】网络相关的命令

目录 ① ip addr show ② ip route show ③ iptables -nvL ④ ping -I enx00e04c6666c0 192.168.1.100 ⑤ ip route get 192.168.1.100 ⑥ sudo ip addr add dev enx00e04c6666c0 192.168.1.101/24 ⑦ ifconfig ⑧ netstat ⑨ traceroute ⑩ nslookup ① ip addr sho…

Java基础-JDBC

(创作不易&#xff0c;感谢有你&#xff0c;你的支持&#xff0c;就是我前行的最大动力&#xff0c;如果看完对你有帮助&#xff0c;请留下您的足迹&#xff09; 目录 一、JDBC简介 1.1 什么是JDBC 1.2 JDBC的作用 1.3 JDBC的架构 二、JDBC核心接口与类 2.1 DriverManag…

Redhat8.6安装MySQL8.0.31

下载安装包链接https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-8.0.31-linux-glibc2.12-x86_64.tar.xz 下载安装包 wget https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-8.0.31-linux-glibc2.12-x86_64.tar.xz 1.解压文件 tar -xvf mysql-8.0.31-linux-g…

C++学习笔记----11、模块、头文件及各种主题(一)---- 模板概览与类模板(3)

2.1.2.2、Grid类模板成员函数定义 template <typename T>模板头必须放在Grid类模板的每个成员函数定义前面。构造函数看起来像这样&#xff1a; template <typename T> Grid<T>::Grid(std::size_t width, std::size_t height) : m_width { width }, m_heigh…