<?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-00392 ORA-00312</title>
	<atom:link href="https://www.xifenfei.com/tag/ora-00392-ora-00312/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>Wed, 04 Nov 2026 15:33:30 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>ORA-600 ksvworkmsgalloc: bad reaper</title>
		<link>https://www.xifenfei.com/2025/05/ora-600-ksvworkmsgalloc-bad-reaper.html</link>
		<comments>https://www.xifenfei.com/2025/05/ora-600-ksvworkmsgalloc-bad-reaper.html#comments</comments>
		<pubDate>Mon, 19 May 2025 15:21:44 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[ORA-xxxxx]]></category>
		<category><![CDATA[ksvworkmsgalloc: bad reaper]]></category>
		<category><![CDATA[ORA-00392 ORA-00312]]></category>
		<category><![CDATA[ORA-600 ksvworkmsgalloc: bad reaper]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=11468</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2025/05/ora-600-ksvworkmsgalloc-bad-reaper.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/2025/05/ora-600-ksvworkmsgalloc-bad-reaper.html" target="_blank">ORA-600 ksvworkmsgalloc: bad reaper</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p>有一个朋友说他们想把12c的库还原到19c版本中然后进行升级测试,结果在打开库的过程中发现几个错误,让我给帮忙分析下<br />
<strong>resetlogs 报ORA-00392 ORA-00312</strong></p>
<pre class="brush: sql; title: ; notranslate">
SQL&gt; alter database open resetlogs upgrade;
alter database open resetlogs upgrade
*
ERROR at line 1:
ORA-00392: log 7 of thread 1 is being cleared, operation not allowed
ORA-00312: online log 7 thread 1: '/DBS1/data/NDBS/onlinelog/redo07_m1.log '
ORA-00312: online log 7 thread 1: '/DBS1/arch/NDBS/onlinelog/redo07_m2.log '
</pre>
<p>这个错误一般是由于redo状态不对,比如标记为了CLEARING_CURRENT,处理操作</p>
<pre class="brush: sql; title: ; notranslate">
SQL&gt; select group#,status from v$log;

          GROUP# STATUS
---------------- ----------------
               1 CLEARING
               2 CLEARING
               3 CLEARING
               4 CLEARING
              10 CLEARING
               6 CLEARING
               7 CLEARING_CURRENT
               8 CLEARING
               9 CLEARING
               5 CLEARING

10 rows selected.


SQL&gt; alter database clear logfile group 7;

Database altered.

SQL&gt; select group#,status from v$log;

          GROUP# STATUS
---------------- ----------------
               1 CLEARING
               2 CLEARING
               3 CLEARING
               4 CLEARING
              10 CLEARING
               6 CLEARING
               7 CURRENT
               8 CLEARING
               9 CLEARING
               5 CLEARING

10 rows selected.
</pre>
<p>再次reseltogs报ORA-600 ksvworkmsgalloc: bad reaper错误</p>
<pre class="brush: sql; title: ; notranslate">
SQL&gt; alter database open resetlogs upgrade;
alter database open resetlogs upgrade
*
ERROR at line 1:
ORA-00600: internal error code, arguments: [ksvworkmsgalloc: bad reaper], [0x080010003], [], [], []
</pre>
<p>这个错误通过查询MOS 发现Open Resetlogs Fail with ORA-00600[ksvworkmsgalloc: bad reaper] (Doc ID 2728106.1)文章中描述,由于non-ASM to ASM环境redo文件在clear的时候触发该问题<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2025/05/KSVWORKMSGALLOW.png"><img src="https://www.xifenfei.com/wp-content/uploads/2025/05/KSVWORKMSGALLOW.png" alt="KSVWORKMSGALLOW" width="959" height="671" class="alignleft size-full wp-image-11470" /></a><br />
<hr />
是由于db_create_online_log_dest_1参数没有设置导致,对于该库是由asm环境到文件系统,估计也是在resetlogs的时候clear redo报出来该错误,解决办法给该库设置上<br />
db_create_online_log_dest_1=/DBS1/data,db_create_online_log_dest_2=/DBS1/arch,然后打开库成功<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2025/05/QQ20250519-231821.png"><img src="https://www.xifenfei.com/wp-content/uploads/2025/05/QQ20250519-231821.png" alt="QQ20250519-231821" width="926" height="526" class="alignleft size-full wp-image-11469" /></a><br />
<hr />
<div id="crp_related"><ul><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/12/patch-scn-ora-600-kcbzib_kcrsds_1.html" rel="bookmark" class="crp_title">Patch SCN工具一键恢复ORA-600 kcbzib_kcrsds_1</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2019/02/ora-600-kcbzib_kcrsds_1.html" rel="bookmark" class="crp_title">ORA-600 kcbzib_kcrsds_1报错</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2024/04/ora-742-ora-312-recovery.html" rel="bookmark" class="crp_title">ORA-00742 ORA-00312 恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/11/ora-01163-ora-01110-ora-600-kccccfl_1.html" rel="bookmark" class="crp_title">重建ctl遭遇ORA-01163  ORA-01110和ORA-600 kccccfl_1错误</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2026/05/ora-600-2662-202605.html" rel="bookmark" class="crp_title">一次断电引起的Oracle故障恢复-ora-600 2662故障</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/2026/01/recover-truncate-dont-open.html" rel="bookmark" class="crp_title">不当恢复truncate数据导致数据库不能open处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2013/08/%e9%87%8d%e5%bb%ba%e6%8e%a7%e5%88%b6%e6%96%87%e4%bb%b6%e4%b8%a2%e5%a4%b1undo%e5%bc%82%e5%b8%b8%e6%81%a2%e5%a4%8d-ora-01173%e6%a8%a1%e6%8b%9f%e4%b8%8e%e6%81%a2%e5%a4%8d.html" rel="bookmark" class="crp_title">重建控制文件丢失undo异常恢复&#8212;ORA-01173模拟与恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2025/01/19c-noarchive-ora-00742-recovery.html" rel="bookmark" class="crp_title">19c非归档数据库断电导致ORA-00742故障恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2025/06/hardware-recovery-oracle-0kb.html" rel="bookmark" class="crp_title">解决一次硬件恢复之后数据文件0kb的故障恢复case</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/07/19c-ora-704-ora-01555.html" rel="bookmark" class="crp_title">Oracle 19C 报ORA-704 ORA-01555故障处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2025/10/ora-600-2662-202510.html" rel="bookmark" class="crp_title">ORA-600 2662错误处理-202510</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2025/05/ora-600-ksvworkmsgalloc-bad-reaper.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
