<?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; sys重命名</title>
	<atom:link href="https://www.xifenfei.com/tag/sys%e9%87%8d%e5%91%bd%e5%90%8d/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>Sun, 22 Nov 2026 15:21:14 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>等保修改oracle SYS用户名要求的请注意&#8212;ORA-00600 kokasgi1</title>
		<link>https://www.xifenfei.com/2023/03/ora-00600-kokasgi1-rename-sys.html</link>
		<comments>https://www.xifenfei.com/2023/03/ora-00600-kokasgi1-rename-sys.html#comments</comments>
		<pubDate>Sat, 18 Mar 2023 16:18:56 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[Oracle备份恢复]]></category>
		<category><![CDATA[kokasgi1]]></category>
		<category><![CDATA[ORA-00600 kokasgi1]]></category>
		<category><![CDATA[rename sys]]></category>
		<category><![CDATA[sys重命名]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=10201</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2023/03/ora-00600-kokasgi1-rename-sys.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/2023/03/ora-00600-kokasgi1-rename-sys.html" target="_blank">等保修改oracle SYS用户名要求的请注意&#8212;ORA-00600 kokasgi1</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p>在2019年处理过第一起<a href="https://www.xifenfei.com/2019/05/ora-600-kokasgi1-recovery.html" title="ORA-600 kokasgi1故障恢复" rel="noopener" target="_blank">ORA-00600 kokasgi1 </a>故障到现在,已经过去了近4年,今天又有客户依旧因为修改sys重启库遇到该问题<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2023/03/ora-600-kokasgi1.png"><img src="https://www.xifenfei.com/wp-content/uploads/2023/03/ora-600-kokasgi1.png" alt="ora-600-kokasgi1" width="873" height="197" class="alignnone size-full wp-image-10202" /></a><br />
<hr />
通过分析确认客户那边在等保的时候要求修改oracle的SYS用户<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2023/03/20230319001510.png"><img src="https://www.xifenfei.com/wp-content/uploads/2023/03/20230319001510.png" alt="20230319001510" width="1608" height="711" class="alignnone size-full wp-image-10203" /></a><br />
<hr />
然后重启数据库，数据库就开始报ORA-600 kokasgi1错误.<br />
<strong>再次呼吁:</strong><br />
1. oracle的sys用户名不能修改,这个东西是写在oracle代码里面的，启动的时候会去读取<br />
2.如果已经修改了sys用户名的,请在数据库重启之前一定修改回来</p>
<div id="crp_related"><ul><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/01/2022-first-recovery-ora-600-kokasgi1.html" rel="bookmark" class="crp_title">2022年恢复第一单ORA-600 kokasgi1</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2020/11/ora-600-kokasgi1.html" rel="bookmark" class="crp_title">再次遇到ORA-600 kokasgi1故障恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/12/mysql-accidental-loss-recovery.html" rel="bookmark" class="crp_title">MySQL数据库文件丢失恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/07/ora-01122-ora-01200.html" rel="bookmark" class="crp_title">ORA-01122 ORA-01200故障处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/12/kettle-lost-mysql-data-recovery.html" rel="bookmark" class="crp_title">kettle导致MySQL数据丢失恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/02/asm-disk-add-vg-extend-lv.html" rel="bookmark" class="crp_title">再一例asm disk被误加入vg并且扩容lv恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/06/mdf-locked-recovery.html" rel="bookmark" class="crp_title">.mdf.locked加密sql server完美恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/06/oracle-recovery-tools-csc-higher-than-block-scn.html" rel="bookmark" class="crp_title">Oracle Recovery Tools恢复csc higher than block scn</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/07/faust-db-recovery.html" rel="bookmark" class="crp_title">.faust加密勒索数据库恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/03/eight-db-recovery.html" rel="bookmark" class="crp_title">.eight加密数据库恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/01/truncate-sys-table-recovery.html" rel="bookmark" class="crp_title">truncate sys用户表导致数据库异常恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/06/asm-add-vg.html" rel="bookmark" class="crp_title">asm磁盘加入vg恢复</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2023/03/ora-00600-kokasgi1-rename-sys.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>再次遇到ORA-600 kokasgi1故障恢复</title>
		<link>https://www.xifenfei.com/2020/11/ora-600-kokasgi1.html</link>
		<comments>https://www.xifenfei.com/2020/11/ora-600-kokasgi1.html#comments</comments>
		<pubDate>Sun, 29 Nov 2020 10:26:15 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[kokasgi1]]></category>
		<category><![CDATA[ORA-600 kokasgi1]]></category>
		<category><![CDATA[sys重命名]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=8938</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2020/11/ora-600-kokasgi1.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/2020/11/ora-600-kokasgi1.html" target="_blank">再次遇到ORA-600 kokasgi1故障恢复</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p>接到一个朋友数据库无法启动,报错ORA-00600: 内部错误代码, 参数: [kokasgi1]错误:</p>
<pre class="brush: bash; title: ; notranslate">
Sun Nov 29 14:23:15 2020
Thread 1 advanced to log sequence 28572 (thread open)
Thread 1 opened at log sequence 28572
  Current log# 3 seq# 28572 mem# 0: /u01/app/oracle/oradata/xifenfei/redo03.log
Successful open of redo thread 1
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Sun Nov 29 14:23:15 2020
SMON: enabling cache recovery
[3505] Successfully onlined Undo Tablespace 2.
Undo initialization finished serial:0 start:135724 end:135754 diff:30 (0 seconds)
Verifying file header compatibility for 11g tablespace encryption..
Verifying 11g file header compatibility for tablespace encryption completed
SMON: enabling tx recovery
Database Characterset is ZHS16GBK
ORA-00600: 内部错误代码, 参数: [kokasgi1], [], [], [], [], [], [], [], [], [], [], []
Use ADRCI or Support Workbench to package the incident.
See Note 411.1 at My Oracle Support for error and packaging details.
Errors in file /u01/app/oracle/diag/rdbms/xifenfei/xifenfei/trace/xifenfei_ora_3505.trc:
ORA-00600: 内部错误代码, 参数: [kokasgi1], [], [], [], [], [], [], [], [], [], [], []
Errors in file /u01/app/oracle/diag/rdbms/xifenfei/xifenfei/trace/xifenfei_ora_3505.trc:
ORA-00600: 内部错误代码, 参数: [kokasgi1], [], [], [], [], [], [], [], [], [], [], []
Error 600 happened during db open, shutting down database
USER (ospid: 3505): terminating the instance due to error 600
Instance terminated by USER, pid = 3505
ORA-1092 signalled during: alter database open...
opiodr aborting process unknown ospid (3505) as a result of ORA-1092
</pre>
<p>对于这个错误,以前处理过一些类似故障,参考:<br />
<a href="https://www.xifenfei.com/2019/05/ora-600-kokasgi1-recovery.html" title="ORA-600 kokasgi1故障恢复" rel="noopener" target="_blank">ORA-600 kokasgi1故障恢复</a><br />
<a href="https://www.xifenfei.com/2020/08/rename-sys-ora-01092-ora-00600-kokasgi1%e9%94%99%e8%af%af.html" title="重命名sys用户引起数据库启动报ORA-01092 ORA-00600 kokasgi1错误" rel="noopener" target="_blank">重命名sys用户引起数据库启动报ORA-01092 ORA-00600 kokasgi1错误</a><br />
通过技术手段实现数据库open,查询user$信息<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2020/11/20201129175609.jpg"><img src="https://www.xifenfei.com/wp-content/uploads/2020/11/20201129175609.jpg" alt="20201129175609" width="429" height="261" class="alignnone size-full wp-image-8939" /></a><br />
<hr />
确认sys和system被分别被修改为sysa和systema,由于这个调整导致数据库无法正常启动.把sysa修改为sys,systema修改为system,数据库正常启动,业务测试正常.<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2020/11/20201129175803.png"><img src="https://www.xifenfei.com/wp-content/uploads/2020/11/20201129175803.png" alt="20201129175803" width="678" height="259" class="alignnone size-full wp-image-8940" /></a><br />
<hr />
<div id="crp_related"><ul><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2025/10/ora-600-kokasgi1-rename-sys.html" rel="bookmark" class="crp_title">ORA-600 kokasgi1故障处理(sys被重命名)</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/01/2022-first-recovery-ora-600-kokasgi1.html" rel="bookmark" class="crp_title">2022年恢复第一单ORA-600 kokasgi1</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/07/win-ora-600-kokasgi1.html" rel="bookmark" class="crp_title">win环境报ora-600 kokasgi1处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/03/ora-00600-kokasgi1-rename-sys.html" rel="bookmark" class="crp_title">等保修改oracle SYS用户名要求的请注意&#8212;ORA-00600 kokasgi1</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2025/02/ora-600-16703-2025-year.html" rel="bookmark" class="crp_title">2025年第一起ORA-600 16703故障恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2019/05/ora-600-kokasgi1-recovery.html" rel="bookmark" class="crp_title">ORA-600 kokasgi1故障恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2020/12/ora-00600-2662-ora-600-4194.html" rel="bookmark" class="crp_title">ORA-00600 [2662]和ORA-00600 [4194]恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2019/03/oracle-12c-ora-600-16703.html" rel="bookmark" class="crp_title">12C数据库遭遇ORA-600 16703</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2024/09/ora-600-16703.html" rel="bookmark" class="crp_title">ORA-600 16703故障再现</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2020/11/error-resetlogs-scn.html" rel="bookmark" class="crp_title">因为人工误操作导致resetlogs scn不一致恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2026/02/ora-600-kcratr_nab_less_than_odr-ora-600-4193.html" rel="bookmark" class="crp_title">ORA-600 kcratr_nab_less_than_odr和ORA-600 4193故障处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/04/ora-600-kcbgtcr_13.html" rel="bookmark" class="crp_title">数据库启动报ORA-600 kcbgtcr_13处理</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2020/11/ora-600-kokasgi1.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>重命名sys用户引起数据库启动报ORA-01092 ORA-00600 kokasgi1错误</title>
		<link>https://www.xifenfei.com/2020/08/rename-sys-ora-01092-ora-00600-kokasgi1%e9%94%99%e8%af%af.html</link>
		<comments>https://www.xifenfei.com/2020/08/rename-sys-ora-01092-ora-00600-kokasgi1%e9%94%99%e8%af%af.html#comments</comments>
		<pubDate>Fri, 07 Aug 2020 10:31:24 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[非常规恢复]]></category>
		<category><![CDATA[kokasgi1]]></category>
		<category><![CDATA[ORA-600 kokasgi1]]></category>
		<category><![CDATA[sys重命名]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=8783</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2020/08/rename-sys-ora-01092-ora-00600-kokasgi1%e9%94%99%e8%af%af.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/2020/08/rename-sys-ora-01092-ora-00600-kokasgi1%e9%94%99%e8%af%af.html" target="_blank">重命名sys用户引起数据库启动报ORA-01092 ORA-00600 kokasgi1错误</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p>有客户和我反馈,他们为了防止有人使用sys用户进行登录,对sys用户进行了重命名,具体操作语句为:</p>
<pre class="brush: sql; title: ; notranslate">
update user$ set name='THISISSYS' where user#=0;
</pre>
<p>然后重启数据库发现数据库无法正常启动,报ORA-01092 ORA-00600 kokasgi1错误</p>
<pre class="brush: sql; title: ; notranslate">
[oracle@ecs-d75e-0618923 ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Fri Aug 7 14:40:28 2020

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

Connected to an idle instance.

SQL&gt; startup mount;
ORACLE instance started.

Total System Global Area 6881345536 bytes
Fixed Size                  2214056 bytes
Variable Size            4227860312 bytes
Database Buffers         2617245696 bytes
Redo Buffers               34025472 bytes
Database mounted.
SQL&gt; alter database open;
alter database open
*
ERROR at line 1:
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-00600: internal error code, arguments: [kokasgi1], [], [], [], [], [], [],[], [], [], [], []
Process ID: 6269
Session ID: 530 Serial number: 3
</pre>
<p>以前写过处理过类似问题,参见:<a href="https://www.xifenfei.com/2019/05/ora-600-kokasgi1-recovery.html" title="ORA-600 kokasgi1故障恢复">ORA-600 kokasgi1故障恢复</a>,通过特殊处理,数据库open之后,对其user#=0的用户修改为SYS.</p>
<pre class="brush: sql; title: ; notranslate">
[oracle@ecs-d75e-0618923 ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Fri Aug 7 14:52:09 2020

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

Connected to an idle instance.

SQL&gt; startup mount;
ORACLE instance started.

Total System Global Area 6881345536 bytes
Fixed Size                  2214056 bytes
Variable Size            4227860312 bytes
Database Buffers         2617245696 bytes
Redo Buffers               34025472 bytes
Database mounted.
SQL&gt; alter database open;

Database altered.

SQL&gt; select name from user$ where user#=0;

NAME
------------------------------
THISISSYS

SQL&gt; update user$ set name='SYS' where user#=0;

1 row updated.

SQL&gt; commit;

Commit complete.

SQL&gt; shutdown abort;
ORACLE instance shut down.
SQL&gt; startup;
ORACLE instance started.

Total System Global Area 6881345536 bytes
Fixed Size                  2214056 bytes
Variable Size            4227860312 bytes
Database Buffers         2617245696 bytes
Redo Buffers               34025472 bytes
Database mounted.
Database altered.
</pre>
<p>至此恢复完成,再次sys是oracle内部默认的超级用户,系统很多调用在程序中写死的sys.,对其用户不能进行重命名操作.</p>
<div id="crp_related"><ul><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2025/10/ora-600-kokasgi1-rename-sys.html" rel="bookmark" class="crp_title">ORA-600 kokasgi1故障处理(sys被重命名)</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2014/10/%e6%95%b0%e6%8d%ae%e5%ba%93%e5%90%af%e5%8a%a8%e6%8a%a5ora-00704-ora-39714%e9%94%99%e8%af%af%e8%a7%a3%e5%86%b3.html" rel="bookmark" class="crp_title">数据库启动报ORA-00704 ORA-39714错误解决</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2016/09/modify-obj-dataobj-_next_object.html" rel="bookmark" class="crp_title">通过update _NEXT_OBJECT 实现obj$.obj#和obj$.dataobj#跳号</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2013/08/%e4%bf%ae%e6%94%b9props-nls_characterset%e5%af%bc%e8%87%b4ora-00900%e5%bc%82%e5%b8%b8%e6%81%a2%e5%a4%8d.html" rel="bookmark" class="crp_title">修改props$.NLS_CHARACTERSET导致ORA-00900异常恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/06/oracle-11g%e4%b8%a2%e5%a4%b1access%e6%81%a2%e5%a4%8d%e6%96%b9%e6%b3%95.html" rel="bookmark" class="crp_title">Oracle 11g丢失access$恢复方法</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2016/07/oracle-12c-undo-failure-recovery-root-pdb.html" rel="bookmark" class="crp_title">Oracle 12c undo异常处理&#8212;root pdb undo异常</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2011/06/ora-38760-%e6%ad%a4%e6%95%b0%e6%8d%ae%e5%ba%93%e5%ae%9e%e4%be%8b%e6%97%a0%e6%b3%95%e5%90%af%e7%94%a8%e9%97%aa%e5%9b%9e%e6%95%b0%e6%8d%ae%e5%ba%93.html" rel="bookmark" class="crp_title">ORA-38760: 此数据库实例无法启用闪回数据库</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/08/oracle%e7%94%a8%e6%88%b7%e9%87%8d%e5%91%bd%e5%90%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/2025/02/ora-00069.html" rel="bookmark" class="crp_title">ORA-00069: cannot acquire lock &#8212; table locks disabled for xxxx</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2014/09/ora-600-2663-%e6%95%85%e9%9a%9c%e6%81%a2%e5%a4%8d.html" rel="bookmark" class="crp_title">ORA-600 2663 故障恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2014/02/oracle%e5%90%84%e7%a7%8d%e6%96%87%e4%bb%b6%e4%b8%a2%e5%a4%b1%e6%81%a2%e5%a4%8d.html" rel="bookmark" class="crp_title">ORACLE丢失各种文件导致数据库不能OPEN恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2014/11/redo%e5%bc%82%e5%b8%b8-ora-600-kclchkblk_4-%e6%95%85%e9%9a%9c%e6%81%a2%e5%a4%8d.html" rel="bookmark" class="crp_title">redo异常 ORA-600 kclchkblk_4 故障恢复</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2020/08/rename-sys-ora-01092-ora-00600-kokasgi1%e9%94%99%e8%af%af.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ORA-600 kokasgi1故障恢复</title>
		<link>https://www.xifenfei.com/2019/05/ora-600-kokasgi1-recovery.html</link>
		<comments>https://www.xifenfei.com/2019/05/ora-600-kokasgi1-recovery.html#comments</comments>
		<pubDate>Sat, 25 May 2019 15:35:11 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[非常规恢复]]></category>
		<category><![CDATA[kokasgi1]]></category>
		<category><![CDATA[ORA-600 kokasgi1]]></category>
		<category><![CDATA[sys重命名]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=8114</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2019/05/ora-600-kokasgi1-recovery.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/2019/05/ora-600-kokasgi1-recovery.html" target="_blank">ORA-600 kokasgi1故障恢复</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p>数据库启动报ORA-600 kokasgi1错误</p>
<pre class="brush: bash; title: ; notranslate">
SMON: enabling tx recovery
Database Characterset is WE8ISO8859P1
Errors in file /u01/app/oracle/diag/rdbms/xifenfei/xifenfei1/trace/xifenfei1_ora_10056.trc  (incident=269259):
ORA-00600: internal error code, arguments: [kokasgi1], [], [], [], [], [], [], [], [], [], [], []
Incident details in: /u01/app/oracle/diag/rdbms/xifenfei/xifenfei1/incident/incdir_269259/xifenfei1_ora_10056_i269259.trc
Use ADRCI or Support Workbench to package the incident.
See Note 411.1 at My Oracle Support for error and packaging details.
Errors in file /u01/app/oracle/diag/rdbms/xifenfei/xifenfei1/trace/xifenfei1_ora_10056.trc:
ORA-00600: internal error code, arguments: [kokasgi1], [], [], [], [], [], [], [], [], [], [], []
Errors in file /u01/app/oracle/diag/rdbms/xifenfei/xifenfei1/trace/xifenfei1_ora_10056.trc:
ORA-00600: internal error code, arguments: [kokasgi1], [], [], [], [], [], [], [], [], [], [], []
Error 600 happened during db open, shutting down database
USER (ospid: 10056): terminating the instance due to error 600
Instance terminated by USER, pid = 10056
ORA-1092 signalled during: alter database open resetlogs...
opiodr aborting process unknown ospid (10056) as a result of ORA-1092
Sat May 25 09:40:21 2019
ORA-1092 : opitsk aborting process
</pre>
<p>该错误在mos上没有查询出来明确的解决方案,但是在google中有人删除user$模拟出该故障<br />
<a href="//www.xifenfei.com/2019/05/ora-600-kokasgi1-recovery.html"><img src="//www.xifenfei.com/wp-content/uploads/2019/05/ora-600-kokasgi1.png" alt="ora-600-kokasgi1" width="1097" height="764" class="alignnone size-full wp-image-8115" /></a></p>
<hr />
数据库启动10046跟踪</p>
<pre class="brush: bash; title: ; notranslate">
PARSING IN CURSOR #140185422046848 len=189 dep=1 uid=0 oct=3 lid=0 tim=1558756188092143 hv=186852205 
ad='390983730' sqlid='2tkw12w5k68vd'
select user#,password,datats#,tempts#,type#,defrole,resource$, ptime,decode(defschclass,NULL,
'DEFAULT_CONSUMER_GROUP',defschclass),spare1,spare4,ext_username,spare2 from user$ where name=:1
END OF STMT
PARSE #140185422046848:c=0,e=784,p=0,cr=0,cu=0,mis=1,r=0,dep=1,og=4,plh=0,tim=1558756188092141
BINDS #140185422046848:
 Bind#0
  oacdty=01 mxl=32(03) mxlc=00 mal=00 scl=00 pre=00
  oacflg=18 fl2=0001 frm=01 csi=31 siz=32 off=0
  kxsbbbfp=7f7f7648a230  bln=32  avl=03  flg=05
  value=&quot;SYS&quot;
EXEC #140185422046848:c=1000,e=1432,p=0,cr=0,cu=0,mis=1,r=0,dep=1,og=4,plh=1457651150,tim=1558756188093835
WAIT #140185422046848: nam='db file sequential read' ela= 5226 file#=1 block#=417 blocks=1 obj#=46 tim=1558756188099198
FETCH #140185422046848:c=1000,e=5465,p=1,cr=1,cu=0,mis=0,r=0,dep=1,og=4,plh=1457651150,tim=1558756188099349
STAT #140185422046848 id=1 cnt=0 pid=0 pos=1 obj=22 op='TABLE ACCESS BY INDEX ROWID USER$ (cr=1 pr=1 pw=0 time=5463 us)'
STAT #140185422046848 id=2 cnt=0 pid=1 pos=1 obj=46 op='INDEX UNIQUE SCAN I_USER1 (cr=1 pr=1 pw=0 time=5461 us)'
CLOSE #140185422046848:c=0,e=10,dep=1,type=0,tim=1558756188099578
ORA-00600: internal error code, arguments: [kokasgi1], [], [], [], [], [], [], [], [], [], [], []
</pre>
<p>这里比较明显数据库在查询user$中的SYS用户的时候,无法查询数据从而出现ORA-00600: internal error code, arguments: [kokasgi1]错误.通过进一步对USER$表进行分析发现,sys和system被人重命名</p>
<pre class="brush: sql; title: ; notranslate">
SQL&gt; select name from user$ WHERE NAME LIKE 'SYS%';

NAME
------------------------------
SYSDW
SYSMAN
SYSTEMDW
</pre>
<p>定位到具体问题,解决比较简单,在oracle的open过程中,通过对user$表进行修复,实现数据库完美恢复.</p>
<div id="crp_related"><ul><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2024/03/ora-00600-16703-1403-4.html" rel="bookmark" class="crp_title">ORA-00600: internal error code, arguments: [16703], [1403], [4] 原因</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2020/11/ora-600-kokasgi1.html" rel="bookmark" class="crp_title">再次遇到ORA-600 kokasgi1故障恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2025/10/ora-600-kokasgi1-rename-sys.html" rel="bookmark" class="crp_title">ORA-600 kokasgi1故障处理(sys被重命名)</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2019/04/delete-tab-not-in-sys.html" rel="bookmark" class="crp_title">tab$被恶意删除sys用户之外记录</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2019/03/oracle-12c-ora-600-16703.html" rel="bookmark" class="crp_title">12C数据库遭遇ORA-600 16703</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/07/win-ora-600-kokasgi1.html" rel="bookmark" class="crp_title">win环境报ora-600 kokasgi1处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/06/tab-recovery-ora-600-13304.html" rel="bookmark" class="crp_title">tab$异常被处理之后报ORA-600 13304故障处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2019/07/ora-600-kkdlcob-objn-exist-40.html" rel="bookmark" class="crp_title">ORA-600 kkdlcob-objn-exist 40</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2025/02/ora-600-16703-2025-year.html" rel="bookmark" class="crp_title">2025年第一起ORA-600 16703故障恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/04/ora-600-2662-ora-600-kclchkblk_4.html" rel="bookmark" class="crp_title">ora-600 2662和ora-600 kclchkblk_4恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2019/05/ora-600-kcratr_scan_rc.html" rel="bookmark" class="crp_title">ORA-00600  kcratr_scan_rc</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></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2019/05/ora-600-kokasgi1-recovery.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
