RemoveIPC=yes 的RHEL7.2 会crash掉Oracle asm 实例和Oracle database实例
2017-10-19 18:00
633 查看
原文地址:http://qhd2004.blog.51cto.com/629417/1854907
一个在centos7.2上的11204库的实例crash了,检查alert发现如下:
描述:
在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)
一个在centos7.2上的11204库的实例crash了,检查alert发现如下:
在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)
相关文章推荐
- RemoveIPC=yes 的RHEL7.2 会crash掉Oracle asm 实例和Oracle database实例
- 【翻译自mos文章】设置了RemoveIPC=yes 的RHEL7.2 会crash掉Oracle asm 实例和Oracle database实例
- 【翻译自mos文章】设置了RemoveIPC=yes 的RHEL7.2 会crash掉Oracle asm 实例和Oracle database实例
- Solaris 64bit (Sparc) 平台下,oracle 软件的bug ,实例启动248天会导致 db 或者asm crash
- Oracle 12C R2单实例在rhel7.2安装
- Oracle 脚本创建ASM实例
- Oracle 11g单实例使用asm,并测试数据文件的迁移到其他磁盘组
- RHEL 7.2 安装 oracle
- RHEL 7.2 + Oracle 12cR2 + RAC
- [转]Oracle DB 管理ASM实例
- Oracle 11.2.0.3 管理ASM实例
- RHEL6 64位ASM方式安装oracle 11gR2(一)
- Oracle单实例下oracle数据库从文件系统迁移到ASM上
- rhel5.8安装oracle 10g ASM
- Oracle DataBase单实例使用ASM案例(2)--Oracle 11g之GI安装
- 各版本Linux下安装实验ORACLE+10gR2+ASM+升级到10.2.0.5+单实例
- oracle 10gR2 创建ASM实例
- rhel5.8 安装oracle 10gr2 rac dbca asm 创建磁盘组报错 ORA-15063
- Oracle ASM 实例管理
- RHEL6 64位ASM方式安装oracle 11gR2(一)