Centos 使用Systemctl报Error getting authority: Error initializing authority: Error calling StartService
Posted sheng-247
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Centos 使用Systemctl报Error getting authority: Error initializing authority: Error calling StartService相关的知识,希望对你有一定的参考价值。
[[email protected] ~]# systemctl restart zabbix-agent Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24) Failed to restart zabbix-agent.service: Connection timed out See system logs and ‘systemctl status zabbix-agent.service‘ for details.
在使用centos7.4 安装服务的时候报错:
在启动zabbix时候报错:
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: Error initializing authority: Error calling StartService的主要内容,如果未能解决你的问题,请参考以下文章
centos环境下登录mysql报 ERROR 1045 (28000)怎么解决
centos 安装 ejabberd 报“Error: Error running Post Install Script.”问题排查