RemoveIPC=yes 的RHEL7.2 会crash掉Oracle asm 实例和Oracle database实例
admin
2023-05-01 07:23:58
0

一个在centos7.2上的11204库的实例crash了,检查alert发现如下:

Wed Sep 21 00:00:11 2016
Errors in file /apps/oracle/diag/rdbms/xberp/xberp/trace/xberp_ckpt_17537.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
Wed Sep 21 00:00:11 2016
Errors in file /apps/oracle/diag/rdbms/xberp/xberp/trace/xberp_dbrm_17523.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
Wed Sep 21 00:00:11 2016
Errors in file /apps/oracle/diag/rdbms/xberp/xberp/trace/xberp_mman_17527.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
Wed Sep 21 00:00:11 2016
Errors in file /apps/oracle/diag/rdbms/xberp/xberp/trace/xberp_j002_14570.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
CKPT (ospid: 17537): terminating the instance due to error 27157
Wed Sep 21 00:00:11 2016
Errors in file /apps/oracle/diag/rdbms/xberp/xberp/trace/xberp_j000_14566.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
Instance terminated by CKPT, pid = 17537
Errors in file /apps/oracle/diag/rdbms/xberp/xberp/trace/xberp_ckpt_17537.trc:
ORA-27300: OS system dependent operation:semctl failed with status: 22
ORA-27301: OS failure message: Invalid argument
ORA-27302: failure occurred at: sskgpwrm1
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
Wed Sep 21 10:20:34 2016

描述:

在centos7.2中,systemd-logind 服务引入了一个新特性,该新特性是:当一个user 完全退出os之后,remove掉所有的IPC objects。

该特性由/etc/systemd/logind.conf参数文件中RemoveIPC选项来控制。

在centos7.2中,RemoveIPC的默认值为yes

因此,当最后一个oracle 或者Grid用户退出时,操作系统会remove 掉这个user的shared memory segments and semaphores

由于Oracle ASM 和database 使用 shared memory segments ,remove shared memory segments将会crash掉Oracle ASM and database  instances.


Oracle Linux 7.2 通过在/etc/systemd/logind.conf配置文件中明确设置RemoveIPC为no,Oracle Linux7.2 避免了该问题,


变通的解决方法:

1) Set RemoveIPC=no in /etc/systemd/logind.conf

2) Reboot the server or restart systemd-logind as follows:

    # systemctl daemon-reload

    # systemctl restart systemd-logind


这些错误跟os有关,在mos上有文档可能参考:

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)



相关内容

热门资讯

公职人员带头缴物业费,破不了大... 物业是“管理”也好,“服务”也好,物业公司与居民之间,就是两个自由交易,自由买卖的市场主体。居民如何...
平安融易广东分公司:以消保实效...   近日,平安融易广东分公司参加广州市地方金融管理局组织召开2025年度广州市地方金融组织监管工作会...
“前所未有”!联合国副秘书长在... 据以色列“Ynet”新闻网、“今日俄罗斯”(RT)电视台报道,联合国负责安全和安保事务的副秘书长吉勒...
瑞可达:AEC产品在AI场景的... 证券日报网5月12日讯 ,瑞可达在接受调研者提问时表示,伴随着 AI 算力等技术的不断发展,市场对高...
李彦宏:“自我进化”包含智能体... 5月13日举办的Create2026百度AI开发者大会开幕式上,百度创始人李彦宏表示,本届开幕式主题...
毕业季学生党手机推荐:5500... 毕业季来临,许多学生朋友都在寻找一款既能记录青春美好瞬间,又符合预算的拍照手机。预算在5500元左右...
金正恩视察军工企业,强调加强迫... 据凤凰卫视援引朝中社报道,朝鲜最高领导人金正恩5月11日视察朝鲜一批军工企业,了解今年上半年军火生产...
英首相斯塔默面临下台危机,这3... 英国工党日前在地方选举中大败,首相斯塔默遭遇党内逼宫。虽然他想稳住局面,但是逼宫之声仍不断高涨。斯塔...
壁仞科技申请内存访问优化方法专... 国家知识产权局信息显示,上海壁仞科技股份有限公司申请一项名为“一种内存访问优化方法、设备、存储介质及...
港商云南行|共拓“人工智能+”... 昨日召开的滇港“人工智能+”发展大会,搭建了滇港人工智能产业交流对接、成果展示、合作共赢的高端平台,...