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

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

Get CWPpro ›

CWP update error pkttyagent:

Started by KurJay, April 29, 2020, 04:42:21 AM

Previous topic - Next topic

KurJay

Try to update from the admin panel can not update and update using ssh error

[root@fol services]# sh /scripts/update_cwp


====================================================
============= CentOS Web Panel Cron ================
====================================================


###########################
Firewall Flush Daily Blocks
###########################


######################
Update Server Packages
######################

** (pkttyagent:27984): WARNING **: 11:31:39.187: 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)
Redirecting to /bin/systemctl restart cwpsrv.service

** (pkttyagent:28129): WARNING **: 11:31:51.170: 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)
Redirecting to /bin/systemctl restart httpd.service

** (pkttyagent:28202): WARNING **: 11:31:51.365: 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)
Redirecting to /bin/systemctl reload httpd.service

** (pkttyagent:28371): WARNING **: 11:31:53.030: 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)
[root@fol services]#


Any Help ? Thanks

ghoste

Same problem - 13 servers cwp-Pro

KurJay


Sandeep

this is OS related error not cwp.

to fix run this command :
mount proc -o remount,hidepid=2 && mount proc -o remount,hidepid=0 && systemctl restart polkit.service

ghoste


I ran the command and if I cross sh/scripts/update_cwp the same error appears again

KurJay

#5
Same here I try to google and there is no found any answer

[root@db /]# mount proc -o remount,hidepid=2 && mount proc -o remount,hidepid=0 && systemctl restart polkit.service
[root@db /]# sh /scripts/update_cwp


====================================================
============= CentOS Web Panel Cron ================
====================================================


###########################
Firewall Flush Daily Blocks
###########################


######################
Update Server Packages
######################
Redirecting to /bin/systemctl restart cwpsrv.service

** (pkttyagent:27342): WARNING **: 16:35:06.860: 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)
Redirecting to /bin/systemctl restart httpd.service

** (pkttyagent:27408): WARNING **: 16:35:07.059: 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)
Redirecting to /bin/systemctl reload httpd.service

** (pkttyagent:27535): WARNING **: 16:35:07.917: 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)
[root@db /]#


Regards

Sandeep

#6
run the command again and reboot your server and check

you can see some services are fixed and the error is not same as before

KurJay

Run again
Reboot

Still have error
[root@db ~]# sh /scripts/update_cwp


====================================================
============= CentOS Web Panel Cron ================
====================================================


###########################
Firewall Flush Daily Blocks
###########################


######################
Update Server Packages
######################
Redirecting to /bin/systemctl restart cwpsrv.service

** (pkttyagent:9907): WARNING **: 16:58:00.435: Unable to register authenticatio                                                                                        n agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine u                                                                                        ser of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.E                                                                                        rror.Failed: Cannot determine user of subject (polkit-error-quark, 0)
Redirecting to /bin/systemctl restart httpd.service

** (pkttyagent:9973): WARNING **: 16:58:00.613: Unable to register authenticatio                                                                                        n agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine u                                                                                        ser of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.E                                                                                        rror.Failed: Cannot determine user of subject (polkit-error-quark, 0)
Redirecting to /bin/systemctl reload httpd.service

** (pkttyagent:10101): WARNING **: 16:58:02.265: Unable to register authenticati                                                                                        on agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine                                                                                         user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.E                                                                                        rror.Failed: Cannot determine user of subject (polkit-error-quark, 0)
[root@db ~]#


Regards

Sandeep

#8
service httpd restart

and

service postfix restart

do you getting same error for both ?

KurJay

This is fresh install server Just Install 3 hours ago just want to change FTP Port and resstart

[root@db1 ~]# service pure-ftpd restart
Redirecting to /bin/systemctl restart pure-ftpd.service

** (pkttyagent:9331): WARNING **: 17:06:18.324: 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)
[root@db1 ~]#

KurJay

Quote from: Sandeep on April 29, 2020, 10:05:35 AM
service httpd restart

and

service postfix restart

do you getting same error for both ?

Yes sir still the same error
[root@db ~]# service httpd restart
Redirecting to /bin/systemctl restart httpd.service

** (pkttyagent:13382): WARNING **: 17:06:30.243: 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)
[root@db ~]# service postfix restart
Redirecting to /bin/systemctl restart postfix.service

** (pkttyagent:13526): WARNING **: 17:06:39.331: 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)
[root@db ~]#

Sandeep


KurJay

Quote from: Sandeep on April 29, 2020, 10:13:23 AM
run this command :
virt-what

[root@db ~]# virt-what
vmware
[root@db ~]#

Sandeep

send the root password and server ip with ssh in pm for the checks.

KurJay

Quote from: Sandeep on April 29, 2020, 10:19:29 AM
send the root password and server ip with ssh in pm for the checks.

Done