Author Topic: vps error updates [New Version Available] putty.exe error ** (pkttyagent:20123)  (Read 5367 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Thank you all for your help

my vps error updates [New Version Available] | [linx 7 Ram 4GB] [CWPpro version: 0.9.8.976]


does not let you make updates on the server.

unstable server

Server Load: 1.97  0.77  0.29

three sites wordpress is not normal Load server

putty.exe
----------
error my | ** (pkttyagent:20123): WARNING **: 08:00:58.176: 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)

Log apache
-----------
[Thu May 21 07:48:35.558540 2020] [mpm_event:notice] [pid 12814:tid 140667557066624] AH00489: Apache/2.4.39 (Unix) OpenSSL/1.0.2k-fips configured -- resuming normal operations
[Thu May 21 07:48:35.558616 2020] [core:notice] [pid 12814:tid 140667557066624] AH00094: Command line: '/usr/local/apache/bin/httpd'


/var/log/nginx/error.log
----------------------
ssl" directive instead in /etc/nginx/conf.d/vhosts/traftube.dominio.com.ssl.conf:9
2020/05/21 07:48:37 [warn] 12945#12945: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.d/vhosts/traftube.dominio.com.ssl.conf:74
2020/05/21 07:48:37 [warn] 12945#12945: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.d/vhosts/traftube.dominio.com.ssl.conf:111
2020/05/21 07:48:37 [warn] 12945#12945: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.d/vhosts/traftube.dominio.com.ssl.conf:148
2020/05/21 07:48:37 [warn] 12945#12945: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.d/vhosts/tubim.dominio.com.ssl.conf:9
2020/05/21 07:48:37 [warn] 12945#12945: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.d/vhosts/tubim.dominio.com.ssl.conf:74
2020/05/21 07:48:37 [warn] 12945#12945: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.d/vhosts/tubim.dominio.com.ssl.conf:111
2020/05/21 07:48:37 [warn] 12945#12945: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.d/vhosts/tubim.dominio.com.ssl.conf:148


Top 5 Process CWPpro  | 2 seconds normal 2 seconds so always unstable | server have three sites wordpress
------------------------
  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
31779 username  20   0  333148  67760  10536 R  93.8  1.7   0:00.56 php-cgi
31790 username  20   0  210252  31240   9536 R  87.5  0.8   0:00.16 php-cgi
13017 mysql        20   0  811820 172380  12032 S   6.2  4.4   0:54.96 mysqld
18191 root          20   0  221864  11756   4608 S   6.2  0.3   0:10.00 php-fpm
1 root                 20   0  191036   4056   2612 S   0.0  0.1   0:02.24 systemd

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 9177 username  20   0  218516  38416   9836 S  33.3  1.0   0:00.27 php-cgi
 9176 username  20   0  218516  38420   9836 S  16.7  1.0   0:00.25 php-cgi
    9 root            20   0       0         0      0 S   5.6  0.0   0:09.81 rcu_sched
 8568 mysql     20   0  810620 129116  11332 S   5.6  3.3   0:01.51 mysqld
 9193 root         20   0   58304   2044   1464 R   5.6  0.1   0:00.01 top


  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 9842 username  20   0  218516  38424   9836 S  12.5  1.0   0:00.22 php-cgi
  272     root      20   0       0      0      0 S   6.2  0.0   0:01.56 jbd2/sda2-8
 9841 username  20   0  218516  38492   9908 S   6.2  1.0   0:00.22 php-cgi
    1 root      20   0  191036   4088   2624 S   0.0  0.1   0:02.91 systemd
    2 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kthreadd


Thank you all for your help
« Last Edit: May 21, 2020, 06:57:52 AM by jony »
Jony Host

Offline
****
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
*
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


I did so
I think it's wrong.
Please write the same as in Putty so I can understand better ..
Thank you very much and Sorry



Why not open with NANO?


I did so
I think it's wrong.

I didn't do anything because I was asking for a new file. Or do I have to create a new file?



Do it another way                      ------------------------------//------------------------------------


A low idea for computer Edit file and upload again for server .. Is it correct to do so?





via NANO error edit .. I will test this download to Compute Edit file and then upload to Server ..


via NANO error edit .. I will test so download to Computer Edit file and then upload to Server ..
I am putting all the steps and print for future users
« Last Edit: May 21, 2020, 04:09:05 PM by jony »
Jony Host

Dyslexia!
Frightening lack of knowledge too.
fstab=filesystem table
« Last Edit: May 21, 2020, 03:44:21 PM by cynique »

Offline
*
Dyslexia!
Frightening lack of knowledge too.
fstab=filesystem table


Much lack of knowledge is true I assume
Jony Host

Offline
*
1 Under the Load server
2 Error Putty gone
3 I accept a new CWP Update
                                                Apparently I consider this post SOLVED


Thank you so much again for your helpful help
Jony Host