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

就可以解决

posted on 2018-08-24 08:59  ~紫鱼~  阅读(11219)  评论(0编辑  收藏  举报