Oracle ORA-00201 ORA-00202 ORA-00206 ORA-00210コントロールファイルエラ解析

プロのOracle Databaseの復旧サービスを提供
携帯番号: +86 13764045638 メール:service@parnassusdata.com

 

[oracle@mlab2 ~]$ oerr ora 201
00201, 00000, “control file version %s incompatible with ORACLE version %s”
// *Cause: The control file was created by incompatible software.
// *Action: Either restart with a compatible software release or use
// CREATE CONTROLFILE to create a new control file that is
// compatible with this release.

 

 

 

 

ORA-00201エラは COMPATIBLEバラメタ設定が誤ったかもしれない。COMPATIBLEバラメタについて :

COMPATIBLEバラメタはOracleがどんな内容をディスクに書き込むかを決められる。より低いCOMPATIBLE数値でデータベースを作成するときに、Oracleは最新のredoログフォーマットを使わない。Oracle 10gの場合であれば、compatibleを”9.2.0″と設定すれば、Oracleが作成したデータファイルは実際の9ir2バーションと同じようになる。こうすれば、10gのメリットやいろんな新機能を利用できる。,compatibleバラメタは影響を与えない。

FROM https://www.askmac.cn/archives/different-between-parameter-compatible-and-optimizer_features_enable.html

 

注意 違ったバーションのORACLE Softwareが作成したデータベースのCOMPATIBLE最小値に対する:

 

  • For 11.2, the default value of the COMPATIBLE parameter is 11.2.0. The minimum value is 10.0.0.
  • For 11.1, the default value of the COMPATIBLE parameter is 11.1.0. The minimum value is 10.0.0.
  • For 10.2, the default value of the COMPATIBLE parameter is 10.2.0. The minimum value is 9.2.0.
  • For 10.1, the default value of the COMPATIBLE parameter is 10.0.0. The minimum value is 9.2.0.
  • For 9.2, the default value of the COMPATIBLE parameter is 8.1.0. The range of values is between 8.1.0 to the current release.

 

 

ORA-00206: error in writing (block 3, # blocks 1) of control file
ORA-00202: control file: ‘/h24oradat/ccdb_dbs/shccdb/shccdb/control01.ctl’
ORA-27072: File I/O error
IBM AIX RISC System/6000 Error: 5: I/O error
Additional information: 8
Additional information: 3

 

[oracle@mlab2 ~]$ oerr ora 206
00206, 00000, “error in writing (block %s, # blocks %s) of control file”
// *Cause: A disk I/O failure was detected on writing the control file.
// *Action: Check if the disk is online, if it is not, bring it online and try
// a warm start again. If it is online, then you need to
// recover the disk.

 

 

[oracle@mlab2 ~]$ oerr ora 27072
27072, 00000, “File I/O error”
// *Cause: read/write/readv/writev system call returned error, additional
// information indicates starting block number of I/O
// *Action: check errno

当访问控制文件出现错误时都可能出现ORA-00202错误:

 

[oracle@mlab2 ~]$ oerr ora 202
00202, 00000, “control file: ‘%s’”
// *Cause: This message reports the name file involved in other messages.
// *Action: See associated error messages for a description of the problem.

[oracle@mlab2 ~]$ oerr ora 210
00210, 00000, “cannot open the specified control file”
// *Cause: Cannot open the control file.
// *Action: Check to make sure the control file exists and is not locked by
// some other program.

 

[oracle@mlab2 ~]$ oerr ora 221
00221, 00000, “error on write to control file”
// *Cause: An error occurred when writing to one or more of the control files.
// *Action: See accompanying messages.

以上のエラインスタンスはコントロールファイルをアクセスときにAIX I/O errorが現れて、アクセス失敗した。

 

 

コントロールファイルがこわれた場合に対して:

 

  • コントロールファイルにブロックがこわれたORA-00207 “control files are not for the same database“
  • ORA-00600: internal error code, arguments: [kccpb_sanity_check_2]
  • ora-00221
  • ora-00210

 

コントロールファイルを再構造する。

 

Comment

*

沪ICP备14014813号-2

沪公网安备 31010802001379号