Author Topic: hello, web try to update cwp get errors!!  (Read 6585 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
hello, web try to update cwp get errors!!
« on: June 06, 2020, 12:09:50 AM »
[root@sv1 ~]# sh /usr/local/cwpsrv/htdocs/resources/scripts/update_cwp


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


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


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

** (pkttyagent:8681): WARNING **: 03:08:07.259: 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:8748): WARNING **: 03:08:07.382: 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:8875): WARNING **: 03:08:08.068: 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:10243): WARNING **: 03:08:17.688: 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 cwpsrv.service

** (pkttyagent:10264): WARNING **: 03:08:17.912: 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 postfix.service

** (pkttyagent:10284): WARNING **: 03:08:17.944: 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 dovecot.service

** (pkttyagent:10311): WARNING **: 03:08:18.016: 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 nginx.service

** (pkttyagent:10336): WARNING **: 03:08:18.098: 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 pure-ftpd.service

** (pkttyagent:10457): WARNING **: 03:08:18.137: 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)

** (pkttyagent:10473): WARNING **: 03:08:18.320: 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 nginx.service

** (pkttyagent:10506): WARNING **: 03:08:18.386: 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)

** (pkttyagent:10520): WARNING **: 03:08:18.436: 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:10553): WARNING **: 03:08:18.499: 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)

** (pkttyagent:10577): WARNING **: 03:08:18.761: 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@sv1 ~]#


can you help me?
until now I did not receive these errors! help

Offline
****
Re: hello, web try to update cwp get errors!!
« Reply #1 on: June 06, 2020, 04:13:20 AM »
This usually happens when trying to restart a systemd service.

The workaround is as follows:

groupadd -g 23 nohidproc
usermod -a -G nohidproc polkitd
mount -o remount,rw,hidepid=2,gid=nohidproc /proc
systemctl restart polkit
Add the following in /etc/fstab as well
echo "proc /proc proc defaults,hidepid=2,gid=nohidproc 0 0" >> /etc/fstab

After mount the new mountpoint

mount -a
systemctl restart polkit
Google Hangouts:  rcschaff82@gmail.com

Offline
*
Re: hello, web try to update cwp get errors!!
« Reply #2 on: February 27, 2021, 06:49:16 PM »

Offline
*****
Re: hello, web try to update cwp get errors!!
« Reply #3 on: February 28, 2021, 09:26:13 AM »

Offline
*
Re: hello, web try to update cwp get errors!!
« Reply #4 on: June 01, 2022, 12:32:31 PM »
Yes rcshaff is right. Apply this fix.
https://opentechy.com/how-to-fix-gdbus-errororg-freedesktop-policykit1-error-failed/

this is not good it can be lead to OS boot failure.

So what's is the good fix for that issue?

Few weeks ago I noticed problem with restart of mysqld, now the same problem with restarting/reloading crond?!
How to solve it?

Code: [Select]
[root@srv /]# systemctl reload crond

** (pkttyagent:13253): WARNING **: 14:32:10.818: 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)




Offline
*
Re: hello, web try to update cwp get errors!!
« Reply #5 on: June 20, 2022, 07:27:45 AM »
Is there any solution?
Should I contact CWP Control payed support?

Can they fix it? Should I know what they are going to fix it?
Because I read it somewhere in forum that some CWP team crashed some server.
Tnx.