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

Issues related to applications and software problems
sudheerp494
Posts: 32
Joined: 2019/04/01 17:29:22

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

Post by sudheerp494 » 2019/04/01 17:59:30

Hi Team,

I am unable to restart polkit.service. Below is error.

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

User avatar
TrevorH
Forum Moderator
Posts: 26940
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

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

Post by TrevorH » 2019/04/01 18:37:13

On CentOS 6 or 7?
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

sudheerp494
Posts: 32
Joined: 2019/04/01 17:29:22

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

Post by sudheerp494 » 2019/04/01 18:44:47

CentOS Linux release 7.5.1804 (Core)
Kernel info: 3.10.0-693.17.1.el7.x86_64

User avatar
TrevorH
Forum Moderator
Posts: 26940
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

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

Post by TrevorH » 2019/04/01 19:14:12

Run yum update. Only the current version - currently 7.6 - is supported. 7.5 is out of date and needs updating.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

sudheerp494
Posts: 32
Joined: 2019/04/01 17:29:22

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

Post by sudheerp494 » 2019/04/01 19:50:45

I ran "yum update" successfully. Then i tried to start nscd.service, polki.service & got failed. Below is error.

#systemctl restart nscd.service
Failed to get D-Bus connection: No such file or directory

# systemctl restart polkit
Failed to get D-Bus connection: No such file or directory

User avatar
TrevorH
Forum Moderator
Posts: 26940
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

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

Post by TrevorH » 2019/04/01 19:58:36

Did you reboot into the new kernel after the update?
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

sudheerp494
Posts: 32
Joined: 2019/04/01 17:29:22

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

Post by sudheerp494 » 2019/04/01 20:10:52

I rebooted server to latest kernel but same error.

#uname -r
3.10.0-693.17.1.el7.x86_64


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

User avatar
TrevorH
Forum Moderator
Posts: 26940
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

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

Post by TrevorH » 2019/04/01 20:28:39

#uname -r
3.10.0-693.17.1.el7.x86_64
No. That's an ancient kernel. Current is 3.10.0-957.10.1.el7. Yours is still a 7.4 kernel.

If you are having problems with grub2 on CentOS 7, such as new kernels not being detected, you should check the symlink exists between /etc/grub2.cfg -> ../boot/grub2/grub.cfg (legacy BIOS) or /etc/grub2-efi.cfg -> ../boot/efi/EFI/centos/grub.cfg (UEFI systems)
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

sudheerp494
Posts: 32
Joined: 2019/04/01 17:29:22

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

Post by sudheerp494 » 2019/04/01 20:45:40

Unfortunately, i got into TOO new kernel. Even though same error.

# systemctl restart polkit
Authorization not available. Check if polkit service is running or see debug message for more information.
# uname -r
5.0.5-1.el7.elrepo.x86_64

sudheerp494
Posts: 32
Joined: 2019/04/01 17:29:22

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

Post by sudheerp494 » 2019/04/01 21:12:03

I am able to upgraded to 3.10.0-957. Even though same error.

# uname -r
3.10.0-957.10.1.el7.x86_64
#systemctl restart polkit
Authorization not available. Check if polkit service is running or see debug message for more information.

Post Reply

Return to “CentOS 7 - Software Support”