oraclelinux 使用过程中碰到的系统问题

1、systemctl命令提示错误: Failed to get D-Bus connection: Operation not permitted

      重新安装一次systemctl

      第一步:备份

    mv /usr/bin/systemctl /usr/bin/systemctl.old

  第二步:重新安装

    curl https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl.py > /usr/bin/systemctl

  第三步:赋权

    chmod +x /usr/bin/systemctl

posted on 2023-11-08 20:11  猫狗一家亲  阅读(69)  评论(0)    收藏  举报

导航