<?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-27154</title>
	<atom:link href="https://www.xifenfei.com/tag/ora-27154/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-27154 ORA-27300 ORA-27301 ORA-27302故障处理</title>
		<link>https://www.xifenfei.com/2024/07/ora-27154-ora-27300-ora-27301-ora-27302.html</link>
		<comments>https://www.xifenfei.com/2024/07/ora-27154-ora-27300-ora-27301-ora-27302.html#comments</comments>
		<pubDate>Wed, 10 Jul 2024 13:59:10 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[kernel.sem]]></category>
		<category><![CDATA[ORA-27154]]></category>
		<category><![CDATA[ORA-27154 ORA-27300 ORA-27301 ORA-27302]]></category>
		<category><![CDATA[sskgpcreates]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=10826</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2024/07/ora-27154-ora-27300-ora-27301-ora-27302.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/07/ora-27154-ora-27300-ora-27301-ora-27302.html" target="_blank">ORA-27154 ORA-27300 ORA-27301 ORA-27302故障处理</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p>根据经验对系统的内核参数做了一些调整,结果导致数据库启动失败提示报ORA-27154 ORA-27300 ORA-27301 ORA-27302错误</p>
<pre class="brush: bash; title: ; notranslate">
ORA-27154: post/wait create failed
ORA-27300: OS system dependent operation:semget failed with status: 28
ORA-27301: OS failure message: No space left on device
ORA-27302: failure occurred at: sskgpcreates
</pre>
<p><a href="https://www.xifenfei.com/wp-content/uploads/2024/07/ORA-27154.png"><img src="https://www.xifenfei.com/wp-content/uploads/2024/07/ORA-27154.png" alt="ORA-27154" width="685" height="284" class="alignnone size-full wp-image-10827" /></a><br />
<hr />
根据官方描述:Database Startup Fails with ORA-27300: OS system dependent operation:semget failed with status: 28 (Doc ID 949468.1),出现该问题原因可能是由于kernel.sem参数配置不合适当时,该库的processes配置为:20000,kernel.sem参数配置为:kernel.sem = 250 32000 100 128,参数说明:</p>
<pre class="brush: bash; title: ; notranslate">
kernel.sem = SEMMSL SEMMNS SEMOPM SEMMNI
SEMMSL - max semaphores per array
SEMMNS - max semaphores system wide
SEMOPM - max ops per semop call
SEMMNI - max number of arrays
</pre>
<p>理论上每个这样的配置最大值SEMMSL*SEMMNI=32000大于process的20000的设置,可是实际上控制每个信号集的信号数量没有达到250,而是只有156,通过ipcs命令可以看</p>
<pre class="brush: bash; title: ; notranslate">
[oracle@xifenfei ~]$ ipcs

------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status      
0x00000000 32768      oracle     640        33554432   30                      
0x00000000 65537      oracle     640        4261412864 30                      
0xc2d167d0 98306      oracle     640        2097152    30                      
0x00000072 131075     root       444        1          1                       

------ Semaphore Arrays --------
key        semid      owner      perms      nsems   
0x450e15bd 0 	      root       666        1
0x0000cace 32769      root       666        1
0x358b172c 327683     oracle     660        104
0x9053d038 11075588   oracle     660        156
0x9053d039 11108357   oracle     660        156
0x9053d03a 11141126   oracle     660        156
0x9053d03b 11173895   oracle     660        156
</pre>
<p>从而使得SEMMSL*SEMMNI小于processes值,进而数据库启动报ORA-27154 ORA-27300 ORA-27301 ORA-27302,修改kernel.sem = 250 64000 128 256,数据库启动成功</p>
<div id="crp_related"><ul><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2016/10/ora-27300-ora-27301-ora-27302.html" rel="bookmark" class="crp_title">ORA-27300 ORA-27301 ORA-27302</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/01/skgpwinit6.html" rel="bookmark" class="crp_title">ORA-27303: failure occurred at: skgpwinit6</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/05/ora-12518-ora-27302-ssthrddcr.html" rel="bookmark" class="crp_title">ORA-12518 ORA-27302: 错误发生在: ssthrddcr</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/09/dbca%e5%88%9b%e5%bb%ba%e6%95%b0%e6%8d%ae%e5%ba%93%e6%8a%a5ora-00443.html" rel="bookmark" class="crp_title">dbca创建数据库报ORA-00443</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2013/09/%e8%ae%b0%e5%bd%95%e4%b8%80%e6%ac%a1%e6%95%b0%e6%8d%ae%e5%ba%93%e5%bc%82%e5%b8%b8%e5%af%bc%e8%87%b4ipc%e6%9c%aa%e9%87%8a%e6%94%be%e6%a1%88%e4%be%8b.html" rel="bookmark" class="crp_title">记录一次数据库异常导致ipc未释放案例</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/03/%e5%85%b3%e4%ba%8e9i%e4%b8%adsga_max_size%e5%8f%82%e6%95%b0%e6%8f%8f%e8%bf%b0.html" rel="bookmark" class="crp_title">关于9I中sga_max_size参数描述</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2018/12/linux-7-install-11-2-0-4-kernal-3-10-0-514.html" rel="bookmark" class="crp_title">linux 7安装11.2.0.4集群注意避开特定kernal版本</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2024/05/distributed-storage-ora-00354-ora-00353.html" rel="bookmark" class="crp_title">分布式存储故障导致数据库无法启动故障处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2024/08/ora-01242-ora-01122.html" rel="bookmark" class="crp_title">硬件故障导致ORA-01242 ORA-01122等错误</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2019/04/clsrsc-400-12-2-0-1-linux-7-3.html" rel="bookmark" class="crp_title">CLSRSC-400: A system reboot is required to continue installing.</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2019/10/linux-6-19c.html" rel="bookmark" class="crp_title">linux6 安装Oracle 19c主要报错记录</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/03/buffer-io-error-on-dev-recovery.html" rel="bookmark" class="crp_title">Buffer I/O error on dev故障数据库恢复</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2024/07/ora-27154-ora-27300-ora-27301-ora-27302.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
