centos执行systemctl restart命令报连接超时

centos执行systemctl restart命令报连接超时

Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Activation of org.freedesktop.PolicyKit1 timed out (g-dbus-error-quark, 20)

Failed to restart minio.service: 连接超时

See system logs and 'systemctl status minio.service' for details.

类似的,这里是以minio举例

小白教程,一看就会,一做就成。

1.原因

是因为polkitd用户消失了或polkitd用户被注释了

2.解决

重新安装polkit(最直接)

复制代码
yum -y install polkit

3.完成

相关推荐
wdfk_prog11 小时前
[Linux]学习笔记系列 -- [block][mq-deadline]
linux·笔记·学习
不过普通话一乙不改名11 小时前
Linux 网络收包的进阶之路:从普通 socket 到 AF_XDP 零拷贝
linux·运维·网络
Zeku11 小时前
20251125 - 韦东山Linux第三篇笔记【中】
linux·驱动开发
在路上@Amos12 小时前
Linux 命令行查看 串口hex数据
linux·运维·服务器
人工智能训练12 小时前
Linux 系统核心快捷键表(可打印版)
linux·运维·服务器·人工智能·ubuntu·容器·openeuler
大聪明-PLUS12 小时前
C++ 中的引用和引用类型
linux·嵌入式·arm·smarc
dualven_in_csdn13 小时前
【疑难问题】某些win11机器 网卡统计也会引起dns client 占用cpu问题
运维·服务器·网络
sanduo11213 小时前
docker 构建编排过程中常见问题
运维·docker·容器
赖small强13 小时前
【Linux驱动开发】ESP-Hosted-FG 深度解析指南
linux·驱动开发·esp32·esp-hosted-fg