Author Topic: CWP updater errors  (Read 4539 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
CWP updater errors
« on: May 23, 2020, 08:36:28 AM »
Quote
[root@mercury ~]# sh /scripts/update_cwp

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


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


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

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

** (pkttyagent:18177): WARNING **: 10:35:25.905: 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:18220): WARNING **: 10:35:27.587: 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: CWP updater errors
« Reply #1 on: May 23, 2020, 08:57:46 AM »
A forum search would have resulted in the following advice:
The workaround is as follows:

Code: [Select]
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: CWP updater errors
« Reply #2 on: May 23, 2020, 10:09:01 AM »
Can you imagine if this was a post in the cpanel forum.  That would be hilarious.

Offline
*
Re: CWP updater errors
« Reply #3 on: May 23, 2020, 11:03:13 AM »
Can you imagine if this was a post in the cpanel forum.  That would be hilarious.

No, i can't.