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 @ 2024-07-09 17:20  Leonardo-li  阅读(124)  评论(0编辑  收藏  举报