<?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-38856</title>
	<atom:link href="https://www.xifenfei.com/tag/ora-38856/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>Sat, 24 Oct 2026 14:05:24 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>ORA-38856: cannot mark instance UNNAMED_INSTANCE_2 (redo thread 2) as enabled</title>
		<link>https://www.xifenfei.com/2014/09/ora-38856-cannot-mark-instance-unnamed_instance_2-redo-thread-2-as-enabled.html</link>
		<comments>https://www.xifenfei.com/2014/09/ora-38856-cannot-mark-instance-unnamed_instance_2-redo-thread-2-as-enabled.html#comments</comments>
		<pubDate>Mon, 29 Sep 2014 08:02:01 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[ORA-xxxxx]]></category>
		<category><![CDATA[ORA-38856]]></category>
		<category><![CDATA[UNNAMED_INSTANCE_2]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=5521</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2014/09/ora-38856-cannot-mark-instance-unnamed_instance_2-redo-thread-2-as-enabled.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/2014/09/ora-38856-cannot-mark-instance-unnamed_instance_2-redo-thread-2-as-enabled.html" target="_blank">ORA-38856: cannot mark instance UNNAMED_INSTANCE_2 (redo thread 2) as enabled</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p>在昨天11.2.0.2 for Linux 数据库恢复过程中,把数据文件从asm复制到单节点机器中恢复,在resetlogs过程中报如下ORA-38856错误</p>
<pre class="brush: sql; title: ; notranslate">
SQL&gt; alter database open resetlogs;
alter database open resetlogs
*
ERROR at line 1:
ORA-38856: cannot mark instance UNNAMED_INSTANCE_2 (redo thread 2) as enabled
</pre>
<p>ORA-38856 is the expected error during open database resetlogs when the set of enabled instances (redo threads) in the controlfile does not match the set of enabled instances (redo threads) in datafile checkpoint. This is expected behavior in a normal RAC restore/recover/open resetlogs situation.<br />
这句话的意思是:数据库在resetlogs的时候发现控制文件中的redo threads和数据文件汇总的redo threads不一致,从而出现该问题.<br />
在本次恢复中禁用了所有和thread 2相关参数,数据库依然报告错误,是因为数据库在异常恢复过程中需要读取节点2的redo信息,现在无法读取从而出现该错误.但是使用了_allow_resetlogs_corruption 之后还是报该错误,实在诡异.通过查询mos发现有类似Unpublished Bug 4355382 ORA-38856: FAILED TO OPEN DATABASE WITH RESETLOGS WHEN USING RAC BACKUP,虽然说该bug在10.2.0.3中修复,但是在异常恢复过程中,本着在风险可控的情况下,大胆尝试,继续使用_no_recovery_through_resetlogs,数据库正常resetlogs成功.<br />
可以参考：RMAN Duplicate from RAC backup fails ORA-38856 (Doc ID 334899.1)</p>
<div id="crp_related"><ul><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/09/_no_recovery_through_resetlogs%e5%87%bd%e6%95%b0%e5%8a%9f%e8%83%bd%e6%8e%a2%e8%ae%a8.html" rel="bookmark" class="crp_title">_no_recovery_through_resetlogs参数功能探讨</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2016/08/ora-600-2662.html" rel="bookmark" class="crp_title">ORA-600 2662</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2010/09/oracle%e4%b9%8b%e6%95%b0%e6%8d%ae%e5%a4%87%e4%bb%bd%e6%81%a2%e5%a4%8d%e2%80%94%e2%80%94%e4%b8%8d%e5%ae%8c%e5%85%a8%e6%81%a2%e5%a4%8d.html" rel="bookmark" class="crp_title">oracle之数据备份恢复——不完全恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/07/%e8%ae%b0%e5%bd%958-0-5%e6%95%b0%e6%8d%ae%e5%ba%93%e6%81%a2%e5%a4%8d%e8%bf%87%e7%a8%8b.html" rel="bookmark" class="crp_title">记录8.0.5数据库恢复过程</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2010/08/oracle%e4%b9%8b%e5%a4%87%e4%bb%bd%e6%81%a2%e5%a4%8d%e2%80%94%e2%80%94%e7%94%a8%e6%88%b7%e7%ae%a1%e7%90%86%e5%a4%87%e4%bb%bd%e5%ae%8c%e5%85%a8%e6%81%a2%e5%a4%8d.html" rel="bookmark" class="crp_title">oracle之备份恢复——数据库备份完全恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/03/%e4%bd%bf%e7%94%a8_allow_resetlogs_corruption%e5%8f%82%e6%95%b0%e6%89%93%e5%bc%80%e6%97%a0%e5%bd%92%e6%a1%a3%e6%97%a5%e5%bf%97rman%e5%a4%87%e4%bb%bd%e5%ba%93.html" rel="bookmark" class="crp_title">使用_allow_resetlogs_corruption打开无归档日志rman备份库</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2011/04/rman%e5%a4%87%e4%bb%bd%e6%81%a2%e5%a4%8d%e5%91%bd%e4%bb%a4.html" rel="bookmark" class="crp_title">Rman备份恢复命令</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2024/01/ora-600-kcrf_resilver_log_1.html" rel="bookmark" class="crp_title">ORA-600 kcrf_resilver_log_1故障处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/11/ora-01200-ora-01207.html" rel="bookmark" class="crp_title">ORA-1200/ORA-1207数据库恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2014/08/oracle-8-1-7-%e6%95%b0%e6%8d%ae%e5%ba%93ora-600-4000%e6%95%85%e9%9a%9c%e6%81%a2%e5%a4%8d.html" rel="bookmark" class="crp_title">ORACLE 8.1.7 数据库ORA-600 4000故障恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2026/06/last-mile-db-rescue.html" rel="bookmark" class="crp_title">接手一个只差临门一脚的数据库恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2025/03/ora-00313-ora-00312.html" rel="bookmark" class="crp_title">删除redo导致ORA-00313 ORA-00312故障处理</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2014/09/ora-38856-cannot-mark-instance-unnamed_instance_2-redo-thread-2-as-enabled.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
