Authorization not available. Check if polkit service is running or see debug message for more information

1.问题:在使用systemctl启动服务的时候报错
Authorization not available. Check if polkit service is running or see debug message for more information.
Failed to execute operation: Connection timed out

2.解决方法:
polkit(是linux系统中的一个身份认证管理工具 (Authorization Manager ) 没有运行,可能会导致其他一些服务也不能正常启动。

3.启动polkit

# /usr/lib/polkit-1/polkitd --no-debug &   启动

# ps aux |grep polkit          查看进程

4.再次使用systemctl启动服务,没有报错了

参考文档:

https://blog.csdn.net/qq_44501429/article/details/135745463

 

posted @   Leonardo-li  阅读(1574)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
点击右上角即可分享
微信分享提示