<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>惜分飞 &#187; ORA-08102 I_OBJ4</title>
	<atom:link href="https://www.xifenfei.com/tag/ora-08102-i_obj4/feed" rel="self" type="application/rss+xml" />
	<link>https://www.xifenfei.com</link>
	<description>提供7*24专业数据库(Oracle,SQL Server,MySQL,PostgreSQL等)恢复和技术支持@Tel:17813235971</description>
	<lastBuildDate>Thu, 29 Oct 2026 15:31:46 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>异常断电数据库恢复-从ORA-600 2131到ORA-08102: 未找到索引关键字, 对象号 39</title>
		<link>https://www.xifenfei.com/2024/06/ora-600-2131-ora-08102.html</link>
		<comments>https://www.xifenfei.com/2024/06/ora-600-2131-ora-08102.html#comments</comments>
		<pubDate>Wed, 05 Jun 2024 11:22:22 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[Oracle备份恢复]]></category>
		<category><![CDATA[expdp ORA-08102]]></category>
		<category><![CDATA[kdourp_inorder2]]></category>
		<category><![CDATA[ORA-08102]]></category>
		<category><![CDATA[ORA-08102 I_OBJ4]]></category>
		<category><![CDATA[ORA-08102: 未找到索引关键字]]></category>
		<category><![CDATA[ORA-600 2131]]></category>
		<category><![CDATA[ORA-600 3020]]></category>
		<category><![CDATA[ORA-600 kdourp_inorder2]]></category>
		<category><![CDATA[对象号 39]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=10790</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2024/06/ora-600-2131-ora-08102.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div id="xifenfeicopyright">
<p>联系：<a href="https://www.xifenfei.com/about_xifenfei" target="_blank">手机/微信(+86 17813235971)   QQ(107644445)</a><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&#038;uin=107644445&#038;site=qq&#038;menu=yes"><img src="https://www.xifenfei.com/wp-content/themes/img/site_qq.jpg" alt="QQ咨询惜分飞" title="QQ咨询惜分飞"/></a></p>
<p>标题：<a href="https://www.xifenfei.com/2024/06/ora-600-2131-ora-08102.html" target="_blank">异常断电数据库恢复-从ORA-600 2131到ORA-08102: 未找到索引关键字, 对象号 39</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p>数据库启动报ORA-600 2131，以前遇到过类似问题:<a href="https://www.xifenfei.com/2024/05/ora-600-2131-rman.html" title="ORA-600 2131故障处理" rel="noopener" target="_blank">ORA-600 2131故障处理</a></p>
<pre class="brush: sql; title: ; notranslate">
SQL&gt; alter database mount;
alter database mount
*
第 1 行出现错误:
ORA-00600: ??????, ??: [2131], [9], [8], [], [], [], [], [], [], [], [], []
</pre>
<pre class="brush: bash; title: ; notranslate">
Tue Jun 04 14:12:18 2024
RECO started with pid=15, OS id=3244 
Tue Jun 04 14:12:18 2024
MMON started with pid=16, OS id=3256 
Tue Jun 04 14:12:18 2024
MMNL started with pid=17, OS id=3432 
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 1 shared server(s) ...
ORACLE_BASE from environment = E:\app\Administrator
Tue Jun 04 14:12:22 2024
alter database mount exclusive
Errors in file E:\APP\ADMINISTRATOR\diag\rdbms\XFF\XFF\trace\XFF_ora_2536.trc  (incident=427583):
ORA-00600: ??????, ??: [2131], [9], [8], [], [], [], [], [], [], [], [], []
Tue Jun 04 14:12:28 2024
Use ADRCI or Support Workbench to package the incident.
See Note 411.1 at My Oracle Support for error and packaging details.
ORA-600 signalled during: alter database mount exclusive...
</pre>
<p>重建ctl，然后重试recover 数据库，报<a href="https://www.xifenfei.com/2019/02/hardware-malfunction-oracle-recovery.html" title="硬件故障数据库异常恢复" rel="noopener" target="_blank">ORA-600 kdourp_inorder2</a>和<a href="https://www.xifenfei.com/2016/08/ora-600-3020.html" title="ORA-600 3020" rel="noopener" target="_blank">ORA-600 3020</a>错误，这些错误本质都是由于redo信息和block信息不匹配导致</p>
<pre class="brush: sql; title: ; notranslate">
SQL&gt; recover datafile 1;
ORA-00283: 恢复会话因错误而取消
ORA-10562: Error occurred while applying redo to data block (file# 1, block# 74805)
ORA-10564: tablespace SYSTEM
ORA-01110: 数据文件 1: 'E:\ORADATA\XFF\SYSTEM01.DBF'
ORA-10561: block type 'TRANSACTION MANAGED DATA BLOCK', data object# 8
ORA-00600: 内部错误代码, 参数: [kdourp_inorder2], [16], [3], [0], [108], [], [], [], [], [], [], []


SQL&gt; recover datafile 7;
ORA-00283: 恢复会话因错误而取消
ORA-00600: 内部错误代码, 参数: [3020], [7], [385], [29360513], [], [], [], [], [], [], [], []
ORA-10567: Redo is inconsistent with data block (file# 7, block# 385, file offset is 3153920 bytes)
ORA-10564: tablespace UNDOTBS2
ORA-01110: 数据文件 7: 'E:\ORADATA\XFF\UNDOTBS2.DBF'
ORA-10560: block type 'KTU UNDO BLOCK'
</pre>
<p>通过屏蔽一致性,修改文件头scn,强制打开数据库</p>
<pre class="brush: sql; title: ; notranslate">
SQL&gt; recover database until cancel;
ORA-00279: 更改 56782359 (在 06/04/2024 14:00:36 生成) 对于线程 1 是必需的
ORA-00289: 建议: E:\APP\ARCHIVELOG\ARC0000005415_1165094245.0001
ORA-00280: 更改 56782359 (用于线程 1) 在序列 #5415 中


指定日志: {&lt;RET&gt;=suggested | filename | AUTO | CANCEL}
cancel
ORA-01547: 警告: RECOVER 成功但 OPEN RESETLOGS 将出现如下错误
ORA-01194: 文件 1 需要更多的恢复来保持一致性
ORA-01110: 数据文件 1: 'E:\ORADATA\XFF\SYSTEM01.DBF'


ORA-01112: 未启动介质恢复


SQL&gt; alter database open resetlogs;

数据库已更改。
</pre>
<p>尝试导出数据报ORA-08102,导致数据库无法正常导出</p>
<pre class="brush: bash; title: ; notranslate">
C:\Users\Administrator&gt;expdp &quot;'/ as sysdba'&quot; full=y dumpfile=full_20240604_%U.dmp DIRECTORY=expdp_dir 
logfile=full_20240604.log parallel=2 EXCLUDE=STATISTICS,AUDIT

Export: Release 11.2.0.4.0 - Production on 星期二 6月 4 18:40:26 2024

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-31626: 作业不存在
ORA-31633: 无法创建主表 &quot;SYS.SYS_EXPORT_FULL_05&quot;
ORA-06512: 在 &quot;SYS.DBMS_SYS_ERROR&quot;, line 95
ORA-06512: 在 &quot;SYS.KUPV$FT&quot;, line 1038
ORA-08102: 未找到索引关键字, 对象号 39, 文件 1, 块 97540 (2)
</pre>
<p>obj 39 为OBJ$的I_OBJ4对象报ORA-08102</p>
<pre class="brush: sql; title: ; notranslate">
SQL&gt; select owner,object_name,object_type from dba_objects where object_id=39
  2  /

OWNER                          OBJECT_NAME                    OBJECT_TYPE
------------------------------ ------------------------------ -------------------
SYS                            I_OBJ4                         INDEX
</pre>
<p>该对象属于bootstrap$中核心对象，无法直接rebuild,参考下面文章处理,然后再尝试导出数据<br />
<a href="https://www.xifenfei.com/2015/03/%e5%88%86%e4%ba%abi_obj4-ora-8102%e6%95%85%e9%9a%9c%e6%81%a2%e5%a4%8d%e6%a1%88%e4%be%8b.html" title="分享I_OBJ4 ORA-8102故障恢复案例" rel="noopener" target="_blank">分享I_OBJ4 ORA-8102故障恢复案例</a><br />
<a href="https://www.xifenfei.com/2015/03/%e4%bd%bf%e7%94%a8bbed-%e4%bf%ae%e5%a4%8di_obj4-index-%e6%8a%a5ora-8102.html" title="使用bbed 修复I_OBJ4 index 报ORA-8102错误" rel="noopener" target="_blank">使用bbed 修复I_OBJ4 index 报ORA-8102错误</a><br />
<a href="https://www.xifenfei.com/2014/10/%e8%a7%a3%e5%86%b3ora-00701-object-necessary-for-warmstarting-database-cannot-be-altered%e9%94%99%e8%af%af.html" title="bootstrap$核心index(I_OBJ1,I_USER1,I_FILE#_BLOCK#,I_IND1,I_TS#,I_CDEF1等)异常恢复—ORA-00701错误解决" rel="noopener" target="_blank">bootstrap$核心index(I_OBJ1,I_USER1,I_FILE#_BLOCK#,I_IND1,I_TS#,I_CDEF1等)异常恢复—ORA-00701错误解决</a></p>
<pre class="brush: bash; title: ; notranslate">
C:\Users\Administrator&gt;expdp &quot;'/ as sysdba'&quot; full=y dumpfile=full_20240604_%U.dmp DIRECTORY=expdp_dir 
logfile=full_20240604.log parallel=2 EXCLUDE=STATISTICS,AUDIT

Export: Release 11.2.0.4.0 - Production on 星期二 6月 4 18:43:47 2024

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-31626: 作业不存在
ORA-31637: 无法创建作业 SYS_EXPORT_FULL_01 (用户 SYS)
ORA-06512: 在 &quot;SYS.DBMS_SYS_ERROR&quot;, line 95
ORA-06512: 在 &quot;SYS.KUPV$FT_INT&quot;, line 798
ORA-39080: 无法为数据泵作业创建队列 &quot;KUPC$C_1_20240604184348&quot; 和 &quot;KUPC$S_1_20240604184348&quot;
ORA-06512: 在 &quot;SYS.DBMS_SYS_ERROR&quot;, line 95
ORA-06512: 在 &quot;SYS.KUPC$QUE_INT&quot;, line 1534
ORA-08102: 未找到索引关键字, 对象号 53, 文件 1, 块 97715 (2)
</pre>
<p>通过类似方法分析确认为CDEF$的I_CDEF1 index,处理方法和I_OBJ4一样,然后导出数据成功,导入到新库中,在这个迁移过程中遭遇Wrapped 加密的package body无效的问题,具体参见:<a href="https://www.xifenfei.com/2024/06/datapump-pls-00753.html" title="数据泵迁移Wrapped PLSQL之后报PLS-00753" rel="noopener" target="_blank">数据泵迁移Wrapped PLSQL之后报PLS-00753</a></p>
<div id="crp_related"><ul><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2024/12/ora-08102-scn-time.html" rel="bookmark" class="crp_title">断电引起的ORA-08102: 未找到索引关键字, 对象号 39故障处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2024/02/ora-600-kclchkblk_4-ora-600-2662.html" rel="bookmark" class="crp_title">又一例:ORA-600 kclchkblk_4和2662故障</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2024/07/ora-00756-ora-10567.html" rel="bookmark" class="crp_title">ORA-00756 ORA-10567故障处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2024/05/ora-600-2131-rman.html" rel="bookmark" class="crp_title">ORA-600 2131故障处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/03/oracle-recovery-tools-ora-00704-ora-01555.html" rel="bookmark" class="crp_title">Oracle Recovery Tools恢复&#8212;ORA-00704 ORA-01555故障</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2025/04/ora-600-kcratr_nab_less_than_odr-11-2-0-4.html" rel="bookmark" class="crp_title">11.2.0.4库中遇到ORA-600 kcratr_nab_less_than_odr报错</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/01/19c-power-failure-recovery.html" rel="bookmark" class="crp_title">Oracle 19c 断电异常恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2015/12/ora-10562-%e6%95%85%e9%9a%9c%e6%81%a2%e5%a4%8d-allow-1-corruption.html" rel="bookmark" class="crp_title">ORA-10562 故障恢复&#8212;allow 1 corruption</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/09/bbed_wrap%e8%84%9a%e6%9c%ac%e8%8e%b7%e5%8f%96%e6%95%b0%e6%8d%ae%e5%9d%97%e5%86%85%e5%ae%b9.html" rel="bookmark" class="crp_title">bbed_wrap脚本获取数据块内容</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2024/05/open-ora-600-kcratr_scan_lastbwr.html" rel="bookmark" class="crp_title">数据库open报ORA-600 kcratr_scan_lastbwr故障处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2024/02/ora-00283-ora-16433-start-recovery.html" rel="bookmark" class="crp_title">从ORA-00283 ORA-16433报错开始恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2016/11/con-ora-600-kdsgrp1.html" rel="bookmark" class="crp_title">解决CON$ ORA-600 kdsgrp1错误</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2024/06/ora-600-2131-ora-08102.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
