openGauss你得装(四十一)

93 阅读1分钟

#openGauss #入门 #安装 #数据库

关闭RemoveIPC

在各数据库节点上,关闭RemoveIPC。CentOS操作系统无该参数,可以跳过该步骤。

操作步骤

  1. 修改/etc/systemd/logind.conf文件中的“RemoveIPC”值为“no”。

    a. 使用VIM打开logind.conf文件。

    vim  /etc/systemd/logind.conf
    

    b. 修改“RemoveIPC”值为“no”。

    RemoveIPC=no
    
  2. 修改/usr/lib/systemd/system/systemd-logind.service文件中的“RemoveIPC”值为“no”。

    a. 使用VIM打开systemd-logind.service文件。

    vim /usr/lib/systemd/system/systemd-logind.service
    

    b. 修改“RemoveIPC”值为“no”。

    RemoveIPC=no
    
  3. 重新加载配置参数。

    systemctl daemon-reload
    systemctl restart systemd-logind
    
  4. 检查修改是否生效。

    loginctl show-session | grep RemoveIPC
    systemctl show systemd-logind | grep RemoveIPC
    
  5. 在其他主机上重复步骤1到步骤4。

#openGauss #入门 #安装 #数据库