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
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?