linux某服务启动失败,提示Authorization not available. Check if polkit...问题解决

服务器重启后,开启docker服务,发现没法开启,提示以下
[root@10-13-160-184 ~]# systemctl start docker
Authorization not available. Check if polkit service is running or see debug message for more information.
Failed to start docker.service: Connection timed out
See system logs and ‘systemctl status docker.service’ for details.



java

根据提示查看polkit状态docker

systemctl status polkit

结果如图
在这里插入图片描述
polkit服务异常退出(polkit是系统服务,其做用自行查询)

服务器

解决方法:
检查是否安装了polkit
spa

yum list installed | grep polkit

安装 polkitdebug

yum install polkit

启动polkit3d

systemctl start polkit

以后docker可正常开启code

相关文章
相关标签/搜索