若是/etc/systemd/logind.conf 文件是在 os upgrade 之前修改的,那么 yum/update 将会写一个正
确的配置文件(RemoveIPC=no),该配置文件名是 logind.conf.rpmnew,如果用户使用原来的配置文
件,那么本文描述的 failures 将会发生。为了避免本问题,当 os 升级之后,务必编辑 logind.conf 文
件并设置 RemoveIPC=no。
此参数导致的常见异常场景:
1) 安装 11.2 and 12c GI/CRS 会发生失败,因为 crash 掉 Oracle ASM and database
instances;
2) 升级 11.2 and 12c GI/CRS 的时候,也会发生此错误;
3) Redhat Linux 由低版本升级至 7.2 时,11.2 and 12c 的 ASM 和 database instances 也会被
crash 掉。
/etc/systemd/logind.conf 文件中(RemoveIPC=yes),systemd-logind remove 掉 IPC
objects 可能在任何时候发生,故障的表现可以有很大的不同,下面是异常记录的几个案例:
1. 最常见的错误发生在 asm or database alert.log 告警日志中,示错信息如下
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
2. 在更新 GI 的 asmca 时,the following error:
KFOD-00313: No ASM instances available. CSS group services were successfully
initilized by kgxgncin
KFOD-00105: Could not open pfile 'init@.ora'
3. Grid 安装和升级过程中,创建 ASM 初始密码时失败
$GRID_HOME/orapwd
Enter password for SYS:
OPW-00009: Could not establish connection to Automatic Storage Management
instance
2019/07/05 21:38:45 CLSRSC-184: Configuration of ASM failed
2019/07/05 21:38:46 CLSRSC-258: Failed to configure and start ASM
4. ASM 被 crash 后,/var/log/messages 中的错误记录信息
评论