重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2693|回复: 0

[转载] 数据库实例自动crash并报ORA-27157、ORA-27300等错误

[复制链接]
发表于 2021-1-23 15:31:17 | 显示全部楼层 |阅读模式
凌晨1点数据库宕掉,查看alert日志如下
Wed Jul 04 01:00:02 2020
Errors in file /oracle/app/oracle/diag/rdbms/xxx/xxx/trace/bomc6db_smon_8580.trc:
ORA-27157: OS post/wait facility removed
ORA-27300: OS system dependent operation:semop failed with status: 43
ORA-27301: OS failure message: Identifier removed
ORA-27302: failure occurred at: sskgpwwait1


错误原因描述:
在rhel7.2中,systemd-logind服务引入了一个新特性:在一个user完全退出OS后会remove掉所有的IPC对象。
该特性由/etc/systemd/logind.conf参数文件中RemoveIPC选项来控制。详细请看man logind.conf(5)。
在rhel7.2中,RemoveIPC的默认值是yes

解决办法:
1.在/etc/systemd/logind.conf修改RemoveIPC
RemoveIPC=no

2.重启主机或system-login服务
2.1 systemctl daemon-reload
2.2 systemctl restart systemd-logind


参考文档:
ALERT: Setting RemoveIPC=yes on Redhat 7.2 Crashes ASM and Database Instances as Well as Any Application That Uses a Shared Memory Segment (SHM) or Semaphores (SEM) (文档 ID 2081410.1)

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-4-18 16:15 , Processed in 0.104224 second(s), 21 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表