0

Service restart failed : Error getting authority

Hi, i have some serious issue on my centos server, i cannot restart, stop or start any kind of service on my machine for example ( ssh, smb, network ) all of the service throughs the same error as shown below.

[root@localhost ~]# systemctl restart sshd
Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24)
Failed to restart sshd.service: Connection timed out
See system logs and ' systemctl status sshd.service'  for details.

[root@localhost ~]# systemctl restart network
 Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24)
Failed to restart network.service: Connection timed out
See system logs and ' systemctl status network.service'  for details.

[root@localhost ~]#  systemctl restart smb
Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24)
Failed to restart smb.service: Connection timed out
See system logs and ' systemctl status smb.service'  for details.

ethenjames
asked Mar 20, 2018
2 Answer
0

This is an issue with polkit.service so you may try re-installing the package to solve this issue

yum reinstall polkit -y
systemctl start polkit
lucky

What is the purpose of polkit service?what is the connection that polkit service has to do with services of smb sshd ?

View More
parthiban
answered Mar 27, 2018
0

Instead of wasting time trying to fix the poor sound quality of the factory radio, you can use your tuning time to focus geometry dash on having your new audio system set up properly.

View More
bouquet
answered Feb 4, 2025
Your Answer
||||
x
 
100:0