<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>《rac redo log file被意外覆盖数据库恢复》的评论</title>
	<atom:link href="https://www.xifenfei.com/2012/05/rac-redo-log-file%e8%a2%ab%e6%84%8f%e5%a4%96%e8%a6%86%e7%9b%96%e6%95%b0%e6%8d%ae%e5%ba%93%e6%81%a2%e5%a4%8d.html/feed" rel="self" type="application/rss+xml" />
	<link>https://www.xifenfei.com/2012/05/rac-redo-log-file%e8%a2%ab%e6%84%8f%e5%a4%96%e8%a6%86%e7%9b%96%e6%95%b0%e6%8d%ae%e5%ba%93%e6%81%a2%e5%a4%8d.html</link>
	<description>提供7*24专业数据库(Oracle,SQL Server,MySQL,PostgreSQL等)恢复和技术支持@Tel:17813235971</description>
	<lastBuildDate>Thu, 11 Dec 2025 02:46:14 +0000</lastBuildDate>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>作者：惜分飞</title>
		<link>https://www.xifenfei.com/2012/05/rac-redo-log-file%e8%a2%ab%e6%84%8f%e5%a4%96%e8%a6%86%e7%9b%96%e6%95%b0%e6%8d%ae%e5%ba%93%e6%81%a2%e5%a4%8d.html/comment-page-1#comment-4268</link>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
		<pubDate>Sat, 23 Jan 2016 13:39:33 +0000</pubDate>
		<guid isPermaLink="false">https://www.xifenfei.com/?p=3179#comment-4268</guid>
		<description><![CDATA[ORA-00600 [6006] 
================ 
 
Oracle is undoing an index leaf key operation.  If the key is not found, 
ORA-00600 [6006] is logged.

   
  ORA-600[6006] is usually caused by a media corruption problem related to either a 
  lost write to disk or a corruption on disk.]]></description>
		<content:encoded><![CDATA[<p>ORA-00600 [6006]<br />
================ </p>
<p>Oracle is undoing an index leaf key operation.  If the key is not found,<br />
ORA-00600 [6006] is logged.</p>
<p>  ORA-600[6006] is usually caused by a media corruption problem related to either a<br />
  lost write to disk or a corruption on disk.</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：惜分飞</title>
		<link>https://www.xifenfei.com/2012/05/rac-redo-log-file%e8%a2%ab%e6%84%8f%e5%a4%96%e8%a6%86%e7%9b%96%e6%95%b0%e6%8d%ae%e5%ba%93%e6%81%a2%e5%a4%8d.html/comment-page-1#comment-881</link>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
		<pubDate>Fri, 15 Jun 2012 14:38:26 +0000</pubDate>
		<guid isPermaLink="false">https://www.xifenfei.com/?p=3179#comment-881</guid>
		<description><![CDATA[在一次三个节点的rac恢复过程中遇到如下错误
[shell]
Errors in file /u01/app/oracle/admin/ZSDB/udump/zsdb2_ora_18918.trc:
ORA-00600: internal error code, arguments: [kclchkblk_4], [1], [1727335936], [1], [1726872599], [], [], []
[/shell]
这个库的tempfile已经全部被删除，而且从这里的错误提示a和c的值为1中也可以看出来是system01.dbf文件scn异常导致]]></description>
		<content:encoded><![CDATA[<p>在一次三个节点的rac恢复过程中遇到如下错误</p>
<pre class="brush: bash; title: ; notranslate">
Errors in file /u01/app/oracle/admin/ZSDB/udump/zsdb2_ora_18918.trc:
ORA-00600: internal error code, arguments: [kclchkblk_4], [1], [1727335936], [1], [1726872599], [], [], []
</pre>
<p>这个库的tempfile已经全部被删除，而且从这里的错误提示a和c的值为1中也可以看出来是system01.dbf文件scn异常导致</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：惜分飞</title>
		<link>https://www.xifenfei.com/2012/05/rac-redo-log-file%e8%a2%ab%e6%84%8f%e5%a4%96%e8%a6%86%e7%9b%96%e6%95%b0%e6%8d%ae%e5%ba%93%e6%81%a2%e5%a4%8d.html/comment-page-1#comment-835</link>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
		<pubDate>Thu, 17 May 2012 07:43:21 +0000</pubDate>
		<guid isPermaLink="false">https://www.xifenfei.com/?p=3179#comment-835</guid>
		<description><![CDATA[ORA-600 [kclchkblk_4] and ORA-600 [2662] After Recovery of Database
[shell]
Applies to:
Oracle Server - Enterprise Edition - Version: 9.0.1.0 to 10.1.0.2 - Release: 9.0.1 to 10.1
Information in this document applies to any platform.
***Checked for relevance on 22-03-2012***

Symptoms
1) You restored the database from backup and did an incomplete recovery.

2) Opened the database with resetlogs.

3) After opening the database, you start getting following errors:

ORA-00600 [kclchkblk_4]
ORA-00600 [2662]

Example output from ALERT: 

Errors in file /u01/app/oracle/admin/orcl/bdump/orcl_smon_7493.trc:
ORA-600: internal error code, arguments: [kclchkblk_4], [1904], 
[18446744073431179384], [1904], 
[18446744073403569507], [], [], []

Starting background process QMNC
QMNC started with pid=24, OS id=8329

Errors in file /u01/app/oracle/admin/orcl/bdump/orcl_smon_7493.trc:
ORA-600: internal error code, arguments: [2662], [1904], [3988985522], 
[1904], [4016595064], [83
88610], [], []

Errors in file /u01/app/oracle/admin/orcl/bdump/orcl_smon_7493.trc:
ORA-600: internal error code, arguments: [2662], [1904], [3988985525], 
[1904], [4016595064], [83
88610], [], []
SMON: terminating instance due to error 474
Instance terminated by SMON, pid = 7493


4) The call stack generated for ORA-600 [kclchkblk_4] looks similar to: 

kclchkblk kcbzib kcbgcur ktfbhget ktftfcload

Changes
This problem situation occurs in 10.1.0.2, after flashback database 
when trying to open database, using &#039;open database resetlogs&#039;.

Cause
1) Error, ORA-600[KCLCHKBLK_4], is signaled because the SCN in a tempfile block
is too high. The same reason caused the ORA-600[2662]s in the alert logs.

2) This issue is because the tempfiles may not get reinitialized during open resetlogs.

This problem is analyzed in unpublished 
Bug 3517013: GSIST: OPEN DB RESETLOG AFTER FLASHBACK DB FAILS ORA-600 [KCLCHKBLK_4], [1904], 
which is fixed in 10.1.0.3 and later in 10.1.

This problem will not occure in 10.2 or later, since we nolonger reinitialize tempfiles in 10.2.
Solution

To workaround this problem once it has occured, please follow below steps 
to remove and recreate the tempfiles: 

First find the tempfiles in the database:

SQL&gt;select file_name, file_id from dba_temp_files;
Startup mount

Drop all the tempfiles:
SQL&gt;alter database tempfile drop;

Alter database open;

Add new tempfile(s).
SQL&gt;alter tablespace add tempfile size N;

Restart the instance.

To avoid hitting this problem, which is fixed in 10.1.0.3 and later:
Apply 10.1.0.3 or later patchset or upgrade to 10.2 or later.

Preferable solution is to upgrade to a supported version of RDBMS.
See Document 757445.1 FAQ for Products in Extended Support
[/shell]]]></description>
		<content:encoded><![CDATA[<p>ORA-600 [kclchkblk_4] and ORA-600 [2662] After Recovery of Database</p>
<pre class="brush: bash; title: ; notranslate">
Applies to:
Oracle Server - Enterprise Edition - Version: 9.0.1.0 to 10.1.0.2 - Release: 9.0.1 to 10.1
Information in this document applies to any platform.
***Checked for relevance on 22-03-2012***

Symptoms
1) You restored the database from backup and did an incomplete recovery.

2) Opened the database with resetlogs.

3) After opening the database, you start getting following errors:

ORA-00600 [kclchkblk_4]
ORA-00600 [2662]

Example output from ALERT: 

Errors in file /u01/app/oracle/admin/orcl/bdump/orcl_smon_7493.trc:
ORA-600: internal error code, arguments: [kclchkblk_4], [1904], 
[18446744073431179384], [1904], 
[18446744073403569507], [], [], []

Starting background process QMNC
QMNC started with pid=24, OS id=8329

Errors in file /u01/app/oracle/admin/orcl/bdump/orcl_smon_7493.trc:
ORA-600: internal error code, arguments: [2662], [1904], [3988985522], 
[1904], [4016595064], [83
88610], [], []

Errors in file /u01/app/oracle/admin/orcl/bdump/orcl_smon_7493.trc:
ORA-600: internal error code, arguments: [2662], [1904], [3988985525], 
[1904], [4016595064], [83
88610], [], []
SMON: terminating instance due to error 474
Instance terminated by SMON, pid = 7493


4) The call stack generated for ORA-600 [kclchkblk_4] looks similar to: 

kclchkblk kcbzib kcbgcur ktfbhget ktftfcload

Changes
This problem situation occurs in 10.1.0.2, after flashback database 
when trying to open database, using 'open database resetlogs'.

Cause
1) Error, ORA-600[KCLCHKBLK_4], is signaled because the SCN in a tempfile block
is too high. The same reason caused the ORA-600[2662]s in the alert logs.

2) This issue is because the tempfiles may not get reinitialized during open resetlogs.

This problem is analyzed in unpublished 
Bug 3517013: GSIST: OPEN DB RESETLOG AFTER FLASHBACK DB FAILS ORA-600 [KCLCHKBLK_4], [1904], 
which is fixed in 10.1.0.3 and later in 10.1.

This problem will not occure in 10.2 or later, since we nolonger reinitialize tempfiles in 10.2.
Solution

To workaround this problem once it has occured, please follow below steps 
to remove and recreate the tempfiles: 

First find the tempfiles in the database:

SQL&gt;select file_name, file_id from dba_temp_files;
Startup mount

Drop all the tempfiles:
SQL&gt;alter database tempfile drop;

Alter database open;

Add new tempfile(s).
SQL&gt;alter tablespace add tempfile size N;

Restart the instance.

To avoid hitting this problem, which is fixed in 10.1.0.3 and later:
Apply 10.1.0.3 or later patchset or upgrade to 10.2 or later.

Preferable solution is to upgrade to a supported version of RDBMS.
See Document 757445.1 FAQ for Products in Extended Support
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>作者：惜分飞</title>
		<link>https://www.xifenfei.com/2012/05/rac-redo-log-file%e8%a2%ab%e6%84%8f%e5%a4%96%e8%a6%86%e7%9b%96%e6%95%b0%e6%8d%ae%e5%ba%93%e6%81%a2%e5%a4%8d.html/comment-page-1#comment-834</link>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
		<pubDate>Thu, 17 May 2012 07:40:07 +0000</pubDate>
		<guid isPermaLink="false">https://www.xifenfei.com/?p=3179#comment-834</guid>
		<description><![CDATA[ORA-600 [6006] ORA-600 [6856] During Startup Instance, Followed by Termination by SMON 
[shell]Applies to:
Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 10.2.0.3 - Release: 10.2 to 10.2
Information in this document applies to any platform.


Symptoms
The following errors are occurring when starting the instance: 

ORA-00600: internal error code, arguments: [6006], [1], [], [], [], [], [], [] 

ORA-00600: internal error code, arguments: [6856], [0], [60], [], [], [] 

SMON will eventually terminate the instance. 


Cause
These errors can occur if the database crashes under certain circumstances.
The undo segments are trying to rollback a failed transaction and cannot. 

ORA-00600: internal error code, arguments: [6006], [1], [], [], [], [], [], []
Oracle is undoing an index leaf key operation. If the key is not found,
ORA-00600 [6006] is logged.

ORA-00600: internal error code, arguments: [6856], [0], [60], [], [], []
SMON is trying to recover a dead transaction. But the undo application runs into an
internal error (trying to delete a row that is already deleted).


Solution
Review the trace files and look for the object(s) involved.
If the trace file does not have a SQL statement, search on the following: &quot;block dump header&quot; 
In the block header there will be a seg/obj = hex value.
Convert the hex to dec and this will give you the data_object_id.
The alert.log may also show the affected object, for example:
ORACLE Instance ORCL (pid = 8） - Error 600 encountered while recovering 
transaction (9999, 36) on object 45879.
SQL&gt;select object_id, data_object_id, owner, object_name from dba_objects where 
object_id = object# or data_object_id=object# ;

This will be the object you need to work with. 
In case no object is shown at select of dba_objects check if object has been already dropped 
and is still present in recyclebin(in that case the problem can/will still be observed):
SQL&gt; select u.name,r.original_name,t.name from recyclebin$ r, user$ u, ts$ t where 
     r.obj#=&amp;object_id and r.ts#=t.ts# and r.owner#=u.user# ;
 
To implement the solution:
1. shutdown instance (if not already down)
SQL&gt; shutdown immediate

2. set event - event=&quot;10513 trace name context forever, level 2&quot; 
(event disables transaction recovery which was initiated by SMON)
It would be best to create a pfile which is to be used for this action only:
SQL&gt; 
connect / as sysdba
startup mount
create pfile=&#039;/tmp/init$ORACLE_SID.ora&#039; from spfile;
shutdown immediate
+
echo &#039;event=&quot;10513 trace name context forever, level 2&quot;&#039; &gt;&gt; /tmp/init$ORACLE_SID.ora

*) in case already a pfile is being used make a copy to /tmp and ...

3. startup instance using the pfile as just created:
SQL&gt;
connect / as sysdba
startup pfile=/tmp/init$ORACLE_SID.ora
4. Drop the object:
a) If the object is an index the action is to drop the index, in case no create 
script is present you can extract one by:
SQL&gt;
connect / as sysdba
set long 1000000
select dbms_metadata.get_ddl(&#039;INDEX&#039;,upper(&#039;&amp;object_name&#039;),upper(&#039;&amp;owner&#039;)) from dual;

b) If the object is a table there will likely be a need to salvage the content of 
the table before dropping the table. 
Possible options:
- exp{dp} table
- CTAS (CreateTableAsSelect)


In case recyclebin is active it might be that object was already in recylebin OR has 
been moved by drop into the recyclebin, therefore check and purge the recyclebin (if applicable):
SQL&gt; select u.name,r.original_name,t.name from recyclebin$ r, user$ u, ts$ t
     where r.obj#=&amp;object_id and r.ts#=t.ts# and r.owner#=u.user# ;

SQL&gt; purge &amp;tablespace_name;
or
SQL&gt; purge dba_recyclebin;

5. shutdown the instance
SQL&gt;
connect / as sysdba
shutdown immediate

6. remove the event 
Only needed in case the event was pushed into the spfile, if true the steps are:
SQL&gt;
connect / as sysdba
startup mount
alter system reset event scope=spfile sid=&#039;*&#039;;
shutdown immediate

7. startup the instance
SQL&gt;
connect / as sysdba
startup

8. recreate the affected object(s)
[/shell]]]></description>
		<content:encoded><![CDATA[<p>ORA-600 [6006] ORA-600 [6856] During Startup Instance, Followed by Termination by SMON </p>
<pre class="brush: bash; title: ; notranslate">Applies to:
Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 10.2.0.3 - Release: 10.2 to 10.2
Information in this document applies to any platform.


Symptoms
The following errors are occurring when starting the instance: 

ORA-00600: internal error code, arguments: [6006], [1], [], [], [], [], [], [] 

ORA-00600: internal error code, arguments: [6856], [0], [60], [], [], [] 

SMON will eventually terminate the instance. 


Cause
These errors can occur if the database crashes under certain circumstances.
The undo segments are trying to rollback a failed transaction and cannot. 

ORA-00600: internal error code, arguments: [6006], [1], [], [], [], [], [], []
Oracle is undoing an index leaf key operation. If the key is not found,
ORA-00600 [6006] is logged.

ORA-00600: internal error code, arguments: [6856], [0], [60], [], [], []
SMON is trying to recover a dead transaction. But the undo application runs into an
internal error (trying to delete a row that is already deleted).


Solution
Review the trace files and look for the object(s) involved.
If the trace file does not have a SQL statement, search on the following: &quot;block dump header&quot; 
In the block header there will be a seg/obj = hex value.
Convert the hex to dec and this will give you the data_object_id.
The alert.log may also show the affected object, for example:
ORACLE Instance ORCL (pid = 8） - Error 600 encountered while recovering 
transaction (9999, 36) on object 45879.
SQL&gt;select object_id, data_object_id, owner, object_name from dba_objects where 
object_id = object# or data_object_id=object# ;

This will be the object you need to work with. 
In case no object is shown at select of dba_objects check if object has been already dropped 
and is still present in recyclebin(in that case the problem can/will still be observed):
SQL&gt; select u.name,r.original_name,t.name from recyclebin$ r, user$ u, ts$ t where 
     r.obj#=&amp;object_id and r.ts#=t.ts# and r.owner#=u.user# ;
 
To implement the solution:
1. shutdown instance (if not already down)
SQL&gt; shutdown immediate

2. set event - event=&quot;10513 trace name context forever, level 2&quot; 
(event disables transaction recovery which was initiated by SMON)
It would be best to create a pfile which is to be used for this action only:
SQL&gt; 
connect / as sysdba
startup mount
create pfile='/tmp/init$ORACLE_SID.ora' from spfile;
shutdown immediate
+
echo 'event=&quot;10513 trace name context forever, level 2&quot;' &gt;&gt; /tmp/init$ORACLE_SID.ora

*) in case already a pfile is being used make a copy to /tmp and ...

3. startup instance using the pfile as just created:
SQL&gt;
connect / as sysdba
startup pfile=/tmp/init$ORACLE_SID.ora
4. Drop the object:
a) If the object is an index the action is to drop the index, in case no create 
script is present you can extract one by:
SQL&gt;
connect / as sysdba
set long 1000000
select dbms_metadata.get_ddl('INDEX',upper('&amp;object_name'),upper('&amp;owner')) from dual;

b) If the object is a table there will likely be a need to salvage the content of 
the table before dropping the table. 
Possible options:
- exp{dp} table
- CTAS (CreateTableAsSelect)


In case recyclebin is active it might be that object was already in recylebin OR has 
been moved by drop into the recyclebin, therefore check and purge the recyclebin (if applicable):
SQL&gt; select u.name,r.original_name,t.name from recyclebin$ r, user$ u, ts$ t
     where r.obj#=&amp;object_id and r.ts#=t.ts# and r.owner#=u.user# ;

SQL&gt; purge &amp;tablespace_name;
or
SQL&gt; purge dba_recyclebin;

5. shutdown the instance
SQL&gt;
connect / as sysdba
shutdown immediate

6. remove the event 
Only needed in case the event was pushed into the spfile, if true the steps are:
SQL&gt;
connect / as sysdba
startup mount
alter system reset event scope=spfile sid='*';
shutdown immediate

7. startup the instance
SQL&gt;
connect / as sysdba
startup

8. recreate the affected object(s)
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>作者：惜分飞</title>
		<link>https://www.xifenfei.com/2012/05/rac-redo-log-file%e8%a2%ab%e6%84%8f%e5%a4%96%e8%a6%86%e7%9b%96%e6%95%b0%e6%8d%ae%e5%ba%93%e6%81%a2%e5%a4%8d.html/comment-page-1#comment-833</link>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
		<pubDate>Thu, 17 May 2012 07:32:59 +0000</pubDate>
		<guid isPermaLink="false">https://www.xifenfei.com/?p=3179#comment-833</guid>
		<description><![CDATA[ORA-600 [kcbgcur_9]
[shell]
ERROR:
  Format: ORA-600 [kcbgcur_9] [a] [b] [c] [d]
 
VERSIONS:
  versions 8.0 to 10.0
 
DESCRIPTION:

  Buffers are pinned in a specific class order to prevent internal deadlocks.

  This exception means there is a class violation with the current 
  buffers pinned in the wrong class order, or duplicate buffers of
  the same class.

  May occur with an ORA-372 error when trying to update read-only 
  tablespace or partition via direct load.

ARGUMENTS:
  Arg [a] The Database Block Address (DBA)
  Arg [b] The buffer class
  Arg [c] Block class order mask
  Arg [d] Block class checking mask

FUNCTIONALITY:      
  BUFFER CACHE
 
IMPACT:             
  PROCESS FAILURE
  NON CORRUPTIVE - No underlying data corruption.
 
SUGGESTIONS:

  Check all system hardware (disk, memory) to ensure there are no  errors.
  
[/shell]]]></description>
		<content:encoded><![CDATA[<p>ORA-600 [kcbgcur_9]</p>
<pre class="brush: bash; title: ; notranslate">
ERROR:
  Format: ORA-600 [kcbgcur_9] [a] [b] [c] [d]
 
VERSIONS:
  versions 8.0 to 10.0
 
DESCRIPTION:

  Buffers are pinned in a specific class order to prevent internal deadlocks.

  This exception means there is a class violation with the current 
  buffers pinned in the wrong class order, or duplicate buffers of
  the same class.

  May occur with an ORA-372 error when trying to update read-only 
  tablespace or partition via direct load.

ARGUMENTS:
  Arg [a] The Database Block Address (DBA)
  Arg [b] The buffer class
  Arg [c] Block class order mask
  Arg [d] Block class checking mask

FUNCTIONALITY:      
  BUFFER CACHE
 
IMPACT:             
  PROCESS FAILURE
  NON CORRUPTIVE - No underlying data corruption.
 
SUGGESTIONS:

  Check all system hardware (disk, memory) to ensure there are no  errors.
  
</pre>
]]></content:encoded>
	</item>
</channel>
</rss>
