0 {{postValue.vote_count}}

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.

{{forumCtrl.question_commentErr}}

Your Answer
{{forumCtrl.responseErr}}