New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.

Started by porus26, January 21, 2025, 10:43:59 AM

Previous topic - Next topic

porus26

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.

overseer

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

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


(Also consider upgrading to AlmaLinux 8 or 9.)