系统相关
首页 > 系统相关> > linux某服务启动失败,提示Authorization not available. Check if polkit...问题解决

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.

根据提示查看polkit状态

systemctl status polkit

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

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

yum list installed | grep polkit

安装 polkit

yum install polkit

启动polkit

systemctl start polkit

之后docker可正常开启

标签:available,...,service,start,polkit,systemctl,docker,Authorization
来源: https://blog.csdn.net/weixin_44260464/article/details/106923832