oracle 断电启动失败:ORA-00600: internal error code, arguments
2016-06-22 17:09
609 查看
转载地址: http://www.2cto.com/database/201312/261602.html
由于服务器断电,启动 oracle 时报 ORA-00600 错误
查看 oracle trace 日志
1. 执行 sqlplus 登录 oracle
2. 启动,报错信息如下
3. 找到 alert 日志
执行
红圈部分即为 oracle alert 日志路径
4. 查看 alert 日志
大概报错信息如下:
============================== 开始修复==============================
5. 挂载oracle
SQL> startup mount
6. 设置undo表空间的管理方式为:手工,缺省undotbs 为空,实际上使用了 system 回滚段。
7. 查询原始 undo 表空间路径
8. 创建新的undo表空间
9. 设置undo管理方式为 ’自动‘:
10. 设置undotbs 为新建的undotbs2:
11. 删除原来损坏的undo表空间 :
完毕!
由于服务器断电,启动 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.
完毕!
相关文章推荐
- 基于 Red Hat 的发行版 Oracle Linux 正式发布Oracle Linux 7.1
- Oracle Containers for J2EE远程安全漏洞(CVE-2014-0413)
- Oracle 10g R2不能使用EM的问题
- 表空间操作
- PreparedStatement中in子句的处理
- VMware下RedHat4.8_64位安装Oracle 10g RAC--简略脚本
- oracle sql日期比较
- 基于 Red Hat 的发行版 Oracle Linux 正式发布Oracle Linux 7.1
- OS block size和Oracle block size,查找OS Blocksize的方法
- oracle中创建数据库和表空间的几点总结
- 数据库自动备份脚本
- oracle的nvl函数的使用介绍
- 解决oracle用户连接失败的解决方法
- oracle的一些tips技巧
- Oracle 下的开发日积月累
- Oracle存储过程之数据库中获取数据实例
- Windows下ORACLE 10g完全卸载的方法分析
- Oracle 函数大全[字符串函数,数学函数,日期函数]第1/4页
- ORACLE LATERAL-SQL-INJECTION 个人见解