Author Topic: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.  (Read 556 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Hi guys .,

when i am trying to update or start any service it is giving error ?

[root@myliveserver~]$ systemctl start fail2ban

** (pkttyagent:15019): WARNING **: 10:05:16.814: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)


i am using cwp7 webpanel
hosting few live websites.
« Last Edit: January 21, 2025, 11:02:49 AM by porus26 »

Offline
*****
This has been addressed previously:
https://opentechy.com/how-to-fix-gdbus-errororg-freedesktop-policykit1-error-failed/

Or simply:
Code: [Select]
mount proc -o remount,hidepid=0
systemctl restart polkit.service

(Also consider upgrading to AlmaLinux 8 or 9.)