欢迎光临范阳布衣的运维博客
分享工作和学习中的知识、技术

Centos 使用Systemctl报Error getting authority

Centos 使用Systemctl报Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24)
在使用centos7.4 安装服务的时候报错:

Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24)

解决:

ps -ef |grep polkit

再安装:

pyum reinstall polkit

再重启,就可以解决

reboot
未经允许不得转载:范阳布衣 » Centos 使用Systemctl报Error getting authority