重庆思庄Oracle、Redhat认证学习论坛

标题: ORA-00214: control file 控制文件版本不一致 [打印本页]

作者: jiawang    时间: 2018-1-10 15:02
标题: ORA-00214: control file 控制文件版本不一致
故障现象:
ORACLE instance started.
Total System Global Area  368263168 bytes
Fixed Size                  1364704 bytes
Variable Size             314576160 bytes
Database Buffers           46137344 bytes
Redo Buffers                6184960 bytes
ORA-00214: control file '/u01/app/oracle/oradata/sztech1/control02.ctl' version
787889 inconsistent with file '/u01/app/oracle/oradata/sztech1/control01.ctl'
version 787884

故障分析
1、根据错误提示为控制文件版本不一致导致。控制文件主要记录数据库名字、标示、当前日志SCN、表空间信息等。理论上2个控制文件应该一致。
2、因为版本不一致,且控制文件2版本最新为version 787889。

故障解决
1、在操作系统上,重新复制拷贝控制文件,保证版本一致。
2、操作后,数据库启动正常,可以使用,问题解决。

[oracle@dbserver ~]$ cp /u01/app/oracle/oradata/sztech1/control02.ctl  /u01/app/oracle/oradata/sztech1/control01.ctl

SQL> startup;

ORACLE instance started.
Total System Global Area  368263168 bytes
Fixed Size                  1364704 bytes
Variable Size             314576160 bytes
Database Buffers           46137344 bytes
Redo Buffers                6184960 bytes
Database mounted.
Database opened.







欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2