凌晨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)
|