Author Topic: CWP update error pkttyagent:  (Read 16976 times)

0 Members and 4 Guests are viewing this topic.

Offline
*
CWP update error pkttyagent:
« on: April 29, 2020, 04:42:21 AM »
Try to update from the admin panel can not update and update using ssh error

Code: [Select]
[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

Offline
*
Re: CWP update error pkttyagent:
« Reply #1 on: April 29, 2020, 07:28:06 AM »
Same problem - 13 servers cwp-Pro

Offline
*
Re: CWP update error pkttyagent:
« Reply #2 on: April 29, 2020, 08:08:13 AM »
Me 5 Do Please Help

Regards

Offline
*****
Re: CWP update error pkttyagent:
« Reply #3 on: April 29, 2020, 08:47:31 AM »
this is OS related error not cwp.

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

Offline
*
Re: CWP update error pkttyagent:
« Reply #4 on: April 29, 2020, 09:18:32 AM »

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

Offline
*
Re: CWP update error pkttyagent:
« Reply #5 on: April 29, 2020, 09:35:45 AM »
Same here I try to google and there is no found any answer

Code: [Select]
[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
« Last Edit: April 29, 2020, 09:37:27 AM by KurJay »

Offline
*****
Re: CWP update error pkttyagent:
« Reply #6 on: April 29, 2020, 09:41:37 AM »
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
« Last Edit: April 29, 2020, 09:44:55 AM by Sandeep »

Offline
*
Re: CWP update error pkttyagent:
« Reply #7 on: April 29, 2020, 10:01:36 AM »
Run again
Reboot

Still have error
Code: [Select]
[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

Offline
*****
Re: CWP update error pkttyagent:
« Reply #8 on: April 29, 2020, 10:05:35 AM »
service httpd restart

and

 service postfix restart

do you getting same error for both ?
« Last Edit: April 29, 2020, 10:07:07 AM by Sandeep »

Offline
*
Re: CWP update error pkttyagent:
« Reply #9 on: April 29, 2020, 10:07:49 AM »
This is fresh install server Just Install 3 hours ago just want to change FTP Port and resstart

Code: [Select]
[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 ~]#

Offline
*
Re: CWP update error pkttyagent:
« Reply #10 on: April 29, 2020, 10:09:53 AM »
service httpd restart

and

 service postfix restart

do you getting same error for both ?

Yes sir still the same error
Code: [Select]
[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 ~]#

Offline
*****
Re: CWP update error pkttyagent:
« Reply #11 on: April 29, 2020, 10:13:23 AM »
run this command :
virt-what

Offline
*
Re: CWP update error pkttyagent:
« Reply #12 on: April 29, 2020, 10:18:57 AM »
run this command :
virt-what

Code: [Select]
[root@db ~]# virt-what
vmware
[root@db ~]#

Offline
*****
Re: CWP update error pkttyagent:
« Reply #13 on: April 29, 2020, 10:19:29 AM »
send the root password and server ip with ssh in pm for the checks.

Offline
*
Re: CWP update error pkttyagent:
« Reply #14 on: April 29, 2020, 10:24:30 AM »
send the root password and server ip with ssh in pm for the checks.

Done