Troubleshooting ORA-27154 ORA-27300 ORA-27301 ORA-27302

news/2024/10/17 16:27:04/
Troubleshooting ORA-27154 ORA-27300 ORA-27301 ORA-27302
这个错误是操作系统设置的问题,测试过程如下。
[oracle@gtlions ~]$ sqlplus "/as sysdba"

SQL*Plus: Release 10.2.0.5.0 - Production on Sat Feb 4 23:47:02 2012

Copyright (c) 1982, 2010, Oracle.  All Rights Reserved.

Connected to an idle instance.

SQL> startup
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: sskgpsemsper
SQL> !oerr ora 27154
27154, 0000, "post/wait create failed"
// *Cause:  internal error, multiple post/wait creates attempted simultaneously
// *Action: check errno and contact Oracle Support

SQL>

[root@gtlions ~]# /sbin/sysctl -p
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 2
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmax = 4294967295
kernel.shmall = 268435456
fs.aio-max-nr = 1048576
fs.file-max = 6815744
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586
kernel.sem = 250  100

注意上面的最后一个参数kernel.sem = 250  100这个不正常的值,现在把这个参数该成正常值。

[root@gtlions ~]# vi /etc/sysctl.conf
[root@gtlions ~]# /sbin/sysctl -p
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 2
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmax = 4294967295
kernel.shmall = 268435456
fs.aio-max-nr = 1048576
fs.file-max = 6815744
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586
kernel.sem = 250 32000 100 128
[root@gtlions ~]#

来看下是否可以正常启动数据库了。
[oracle@gtlions ~]$ sqlplus "/as sysdba"

SQL*Plus: Release 10.2.0.5.0 - Production on Sun Feb 5 00:00:39 2012

Copyright (c) 1982, 2010, Oracle.  All Rights Reserved.

Connected to an idle instance.

SQL> startup
ORACLE instance started.

Total System Global Area  167772160 bytes
Fixed Size            1272600 bytes
Variable Size           62915816 bytes
Database Buffers      100663296 bytes
Redo Buffers            2920448 bytes
Database mounted.
Database opened.
SQL>
吼吼,起来了!
-The End-

http://www.ppmy.cn/news/248369.html

相关文章

pycharm中Git常见操作与问题总结

1.问题 Committer identity unknown *** Please tell me who you are. Run git config --global user.email “youexample.com” git config --global user.name “Your Name” to set your account’s default identity. Omit --global to set the identity only in this rep…

ORA-27300,ORA-27301,ORA-27302

运维工程师在一台IBM P750(AIX6.1)上部署了一套oracle(未建库),让我把商用的某库同其做一个DG容灾。我按正常步骤部署了DG。 1.在备库开始日志恢复 alter database recover managed standby database using current l…

Spring标签EL表达式漏洞分析(CVE-2011-2730)

Spring标签EL表达式漏洞分析(CVE-2011-2730) El表达式简介 定义&#xff1a;El表达式简单来说&#xff0c;是用简单的语法访问对象的反射库。 在jsp页面中可以使用el表达式代替<%%>&#xff0c;之间访问java对象。 下面的例子分别使用<%%>和el表达式访问对象&am…

ORA-27300: OS system dependent operation:fork failed with status: 2、ORA-27301、ORA-27302

问题描述 业务人员反映应用程序无法登陆数据库&#xff0c;用PL/SQL登录时报错ORA-12537&#xff1a; 查看告警日志&#xff1a; Mon Aug 03 14:12:19 2020 Process startup failed, error stack: Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_psp0_44…

数据库表计算增量的方法

在项目过程中遇到的问题&#xff0c;需要对于一张库表内的数据&#xff0c;用sql语句进行处理计算&#xff0c;完成计算操作得出结果。在查询资料之后自己进行调整后得出完整的过程方法。分为两步操作&#xff1a; --1、同一个表进行增量计算 SELECT "a"."c0&…

深交所2730家公司精准画像

一、基本面扫描 &#xff08;一&#xff09;广东深交所上市企业数量居全国首位 截止到2022年12月20日&#xff0c;共有2,730家企业先后在深交所上市。上市企业在全国31个省份均有分布&#xff0c;其中广东省、浙江省和江苏省企业数量较多&#xff0c;分别有648家、327家、306…

stm32输出pwm 崩溃问题CmBacktrace开源工具

概述&#xff1a;stm32的每个引脚都有其自带的特殊功能&#xff0c;有定时器输出功能的引脚可以输出pwm。如果没有的也可以io口模拟输出&#xff0c;如果非要较真的话&#xff0c;理论上可以算是每个引脚都能输出PWM&#xff0c;但一般我们都使用带定时器输出功能的io。此文章来…

AWS RDS 默认最大连接数

1GB 1,07,37,41,824 字节(1024 x 1024 x1024) {DBInstanceClassMemory/12582880} 默认的最大连接数 通过连接数据库&#xff0c;运行 show variables like %max_connections%;实际得出的 max_connections < {DBInstanceClassMemory/12582880} 由于为操作系统和 RDS 管…