oracle 断电启动失败:ORA-00600: internal error code, arguments
2024-10-02 07:41:18
转载地址: http://www.2cto.com/database/201312/261602.html
由于服务器断电,启动 oracle 时报 ORA-00600 错误
查看 oracle trace 日志
1. 执行 sqlplus 登录 oracle
sqlplus / as sysdba
2. 启动,报错信息如下
SQL> startup
ORACLE instance started. Total System Global Area 583008256 bytes
Fixed Size 2022504 bytes
Variable Size 184550296 bytes
Database Buffers 394264576 bytes
Redo Buffers 2170880 bytes
Database mounted.
ORA-00607: Internal error occurred while making a change to a data block
ORA-00600: internal error code, arguments: [4194], [22], [39], [], [], [], [],[]
3. 找到 alert 日志
执行
SQL> show parameter dump
红圈部分即为 oracle alert 日志路径
4. 查看 alert 日志
cd /opt/oracle/app/diag/rdbms/orcl/orcl/trace/
less alert_orcl.log
大概报错信息如下:
============================== 开始修复==============================
5. 挂载oracle
SQL> startup mount
6. 设置undo表空间的管理方式为:手工,缺省undotbs 为空,实际上使用了 system 回滚段。
SQL> alter system set undo_management = manual scope=spfile;
System altered.
SQL> alter system set undo_tablespace='' scope=spfile;
System altered.
SQL> startup force
ORACLE instance started.
Total System Global Area 583008256 bytes
Fixed Size 2022504 bytes
Variable Size 184550296 bytes
Database Buffers 394264576 bytes
Redo Buffers 2170880 bytes
Database mounted.
Database opened.
7. 查询原始 undo 表空间路径
SQL> select file_name, tablespace_name from dba_data_files;
8. 创建新的undo表空间
SQL> create undo tablespace undotbs2 datafile '/opt/oracle/app/oradata/orcl/undotbs2.dbf' size 100M;
9. 设置undo管理方式为 ’自动‘:
SQL> alter system set undo_management =auto scope=spfile; System altered.
10. 设置undotbs 为新建的undotbs2:
SQL> alter system set undo_tablespace = undotbs2 scope=spfile; System altered.
11. 删除原来损坏的undo表空间 :
SQL> drop tablespace undotbs02 including contents and datafiles; Tablespace dropped. SQL> startup force;
ORACLE instance started. Total System Global Area 583008256 bytes
Fixed Size 2022504 bytes
Variable Size 234881944 bytes
Database Buffers 343932928 bytes
Redo Buffers 2170880 bytes
Database mounted.
Database opened.
完毕!
最新文章
- 【Java并发编程实战】-----“J.U.C”:CLH队列锁
- nodejs 批量修改、删除
- Java分别与MySQL、Oracle、SQL Server数据库建立连接
- IEnumerable和IQueryable区别、优缺点
- [问题2014A11] 解答
- PHP 用文件流方式展示图片
- (转载)获取当前运行的PHP版本信息
- UVa 10286 - Trouble with a Pentagon
- 单独谈谈 Android Cursor 的使用细节
- 配置网络yum源
- 分布式定时任务框架——python定时任务框架APScheduler扩展
- WebDriver实现网页自动化测试(以python为例说明,ruby用法类似)
- vue 脚手架关于路由的一点理解
- SpringBoot的打包失败
- XT535
- Mysql安装错误:Install/Remove of the Service Denied!解决办法
- Java继承与多态浅析
- 加密算法(DES,AES,RSA,MD5,SHA1,Base64)比较和项目应用(转载)
- Android JNI中C和JAVA代码之间的互相调用
- N76E003的学习之路(一)
热门文章
- java-NIO-DatagramChannel(UDP)
- 源码阅读 - java.util.concurrent (四)CyclicBarrier
- vue中局部组件的使用
- 工具资源系列之给 windows 虚拟机装个 mac
- SpringMvc整合hibernate
- LinkedHashMap如何保证顺序性
- 基于 MySQL Binlog 的 Elasticsearch 数据同步实践 原
- javascript之正则表达式(二)
- 洛谷 P1463、POI2002、HAOI2007 反素数
- 从7点到9点写的小程序(用了模块导入,python终端颜色显示,用了点局部和全局可变和不可变作用域,模块全是自定义)