error GDBus.Error:org in restart-start-stop of service in centos 7



  • If you're getting this error after up[grading to centos 7 to CentOS Linux release 7.8.2003 run the below solution command :

    (pkttyagent:240502): WARNING **: 03:28:04.169: 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)
    Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details.
    
    dovecot
    ** (pkttyagent:245387): WARNING **: 03:29:06.070: 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)
    !include_try /etc/dovecot/sni.conf
    

    Solution :

    mount proc -o remount,hidepid=2 && mount proc -o remount,hidepid=0 && systemctl restart polkit.service
    

Log in to reply
 

Recent Topics