This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
1
CentOS 7 Problems / I have a problem, nginx Not monitored / "Monitoring via Monit"
« on: January 09, 2021, 02:23:46 PM »
hello, good year, to everyone on the forum.
I ask for help to those who know ..
I have a problem "Monitoring via Monit" -> nginx
error -> Process - nginx Not monitored.
do restart all, stay the same, with error.
I do relaod all, stay the same, with error.
################ my email ################
monit alert -- Connection failed nginx
Caixa de entrada
monit@servi.jonyhost.eu
05:38 (há 8 horas)
para mim
Connection failed Service nginx
Date: Sat, 09 Jan 2021 06:38:09
Action: restart
Host: hostname server
Description: failed protocol test [HTTP] at [localhost]:80 [TCP/IP] -- Connection refused
Your faithful employee, Monit
############ [root@hostname ~ ] Server VPS Centos 7 ##############
[root@hostname ~]# systemctl status nginx
● nginx.service - nginx - high performance web server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2021-01-09 06:53:12 CET; 7h ago
Docs: http://nginx.org/en/docs/
Process: 24278 ExecStop=/bin/sh -c /bin/kill -s TERM $(/bin/cat /var/run/nginx.pid) (code=exited, status=0/SUCCESS)
Process: 24284 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited, status=0/SUCCESS)
Main PID: 24285 (nginx)
CGroup: /system.slice/nginx.service
├─24285 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx....
├─24286 nginx: worker process
├─24287 nginx: worker process
├─24288 nginx: worker process
├─24289 nginx: worker process
└─24290 nginx: cache manager process
Jan 09 06:53:12 hostname systemd[1]: Starting nginx - high performa....
Jan 09 06:53:12 hostname systemd[1]: Started nginx - high performan....
Hint: Some lines were ellipsized, use -l to show in full.
################# Monitoring via Monit / Server VPS Centos 7#################
Process - cwp-phpfpm OK Monitored active Monitor
Process - cwpsrv OK Monitored active Monitor
Process - dovecot OK Monitored active Monitor
Process - httpd OK Monitored active Monitor
Process - mysql OK Monitored active Monitor
Process - nginx Not monitored Not monitored active Monitor <<<<<<<<<<<<< ERROR
Process - opendkim OK Monitored active Monitor
Process - php-fpm56 OK Monitored active Monitor
Process - postfix OK Monitored active Monitor
Process - pure-ftpd OK Monitored active Monitor
Process - sshd OK Monitored active Monitor
Program - postfix-queue OK Monitored active Monitor
System - hostname OK Monitored active Monitor
############# Services Status, home CwPanel CWPpro #################
Apache Webserver Active
Nginx Reverse Proxy Active <<<<<--------------- good
FTP Server Active
MySQL Database Server Active
BIND DNS Server Active
SSH Server Active
Crontab Active
thanks to anyone who can help my problem..
I ask for help to those who know ..
I have a problem "Monitoring via Monit" -> nginx
error -> Process - nginx Not monitored.
do restart all, stay the same, with error.
I do relaod all, stay the same, with error.
################ my email ################
monit alert -- Connection failed nginx
Caixa de entrada
monit@servi.jonyhost.eu
05:38 (há 8 horas)
para mim
Connection failed Service nginx
Date: Sat, 09 Jan 2021 06:38:09
Action: restart
Host: hostname server
Description: failed protocol test [HTTP] at [localhost]:80 [TCP/IP] -- Connection refused
Your faithful employee, Monit
############ [root@hostname ~ ] Server VPS Centos 7 ##############
[root@hostname ~]# systemctl status nginx
● nginx.service - nginx - high performance web server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2021-01-09 06:53:12 CET; 7h ago
Docs: http://nginx.org/en/docs/
Process: 24278 ExecStop=/bin/sh -c /bin/kill -s TERM $(/bin/cat /var/run/nginx.pid) (code=exited, status=0/SUCCESS)
Process: 24284 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited, status=0/SUCCESS)
Main PID: 24285 (nginx)
CGroup: /system.slice/nginx.service
├─24285 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx....
├─24286 nginx: worker process
├─24287 nginx: worker process
├─24288 nginx: worker process
├─24289 nginx: worker process
└─24290 nginx: cache manager process
Jan 09 06:53:12 hostname systemd[1]: Starting nginx - high performa....
Jan 09 06:53:12 hostname systemd[1]: Started nginx - high performan....
Hint: Some lines were ellipsized, use -l to show in full.
################# Monitoring via Monit / Server VPS Centos 7#################
Process - cwp-phpfpm OK Monitored active Monitor
Process - cwpsrv OK Monitored active Monitor
Process - dovecot OK Monitored active Monitor
Process - httpd OK Monitored active Monitor
Process - mysql OK Monitored active Monitor
Process - nginx Not monitored Not monitored active Monitor <<<<<<<<<<<<< ERROR
Process - opendkim OK Monitored active Monitor
Process - php-fpm56 OK Monitored active Monitor
Process - postfix OK Monitored active Monitor
Process - pure-ftpd OK Monitored active Monitor
Process - sshd OK Monitored active Monitor
Program - postfix-queue OK Monitored active Monitor
System - hostname OK Monitored active Monitor
############# Services Status, home CwPanel CWPpro #################
Apache Webserver Active
Nginx Reverse Proxy Active <<<<<--------------- good
FTP Server Active
MySQL Database Server Active
BIND DNS Server Active
SSH Server Active
Crontab Active
thanks to anyone who can help my problem..
2
CentOS-WebPanel GUI / Re: Mail Settings - User level
« on: January 03, 2021, 01:04:40 AM »
deixa me rir
3
CentOS-WebPanel Bugs / Re: user login not working
« on: December 16, 2020, 02:26:31 PM »
opinion in 2020 YEAR / I had this problem
I was unable to log in to a client user's account, I deleted the account (domain) and then updated vps and reinstated vps, then created a new account and successfully logged in, and only after I installed SSL protocol and now the client user account works a lot good
only one account (domain) didn't work had login error
I was unable to log in to a client user's account, I deleted the account (domain) and then updated vps and reinstated vps, then created a new account and successfully logged in, and only after I installed SSL protocol and now the client user account works a lot good
only one account (domain) didn't work had login error
4
How to / Re: Unable to login in account created after password reset
« on: December 16, 2020, 01:14:40 PM »
opinion in 2020 YEAR / I had this problem
I was unable to log in to a client user's account, I deleted the account (domain) and then updated vps and reboot then created a new account and successfully logged in, and only after I installed SSL protocol and now the client user account works a lot good.
ATENTION only one account (domain) didn't work had login error.
I was unable to log in to a client user's account, I deleted the account (domain) and then updated vps and reboot then created a new account and successfully logged in, and only after I installed SSL protocol and now the client user account works a lot good.
ATENTION only one account (domain) didn't work had login error.
5
Other / Re: Not login in control panel!
« on: December 16, 2020, 01:07:45 PM »
opinion in 2020 YEAR / I had this problem
I was unable to log in to a client user's account, I deleted the account (domain) and then updated vps and reboot then created a new account and successfully logged in, and only after I installed SSL protocol and now the client user account works a lot good.
ATENTION only one account (domain) didn't work had login error.
I was unable to log in to a client user's account, I deleted the account (domain) and then updated vps and reboot then created a new account and successfully logged in, and only after I installed SSL protocol and now the client user account works a lot good.
ATENTION only one account (domain) didn't work had login error.
6
CentOS 7 Problems / Re: configure server vps centos7 for RTMP protocol
« on: June 14, 2020, 02:43:12 PM »
I tried to install but it gave error .. Is the file nginx 1.18.0 in root?
Am I not installing in the correct dir? nginx 1.18.0 was in the root ..
error installing RTMP nginx 1.18.0
Can someone help install RTMP with a correct step by step ..
Thanks to those who help me
Code: [Select]
<>>>>>>>>>[root@serviot ~]# sudo yum -y groupinstall 'Development Tools'
Loaded plugins: fastestmirror
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Determining fastest mirrors
epel/x86_64/metalink | 31 kB 00:00
* base: asi-fs-n.contabo.net
Excluding mirror: mirror.de.leaseweb.net
Excluding mirror: mirror.nl.leaseweb.net
* epel: ftp.fau.de
* extras: centos.schlundtech.de
* updates: asi-fs-n.contabo.net
base | 3.6 kB 00:00
cwp | 2.9 kB 00:00
extras | 2.9 kB 00:00
mariadb | 2.9 kB 00:00
updates | 2.9 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package byacc.x86_64 0:1.9.20130304-3.el7 will be installed
---> Package cscope.x86_64 0:15.8-10.el7 will be installed
---> Package ctags.x86_64 0:5.8-13.el7 will be installed
---> Package diffstat.x86_64 0:1.57-4.el7 will be installed
.....OK
--> Finished Dependency Resolution
Dependencies Resolved
avahi-libs.x86_64 0:0.6.31-20.el7
...OK
Dependencies Resolved
<>>>>>>>>>[root@serviot ~]# sudo yum -y install epel-release
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
......OK
<>>>>>>>>[root@serviot ~]# wget https://nginx.org/download/nginx-1.18.0.tar.gz
--2020-06-14 00:31:53-- https://nginx.org/download/nginx-1.18.0.tar.gz
Resolving nginx.org (nginx.org)... 95.211.80.227, 62.210.92.35, 2001:1af8:4060:a 004:21::e3
Connecting to nginx.org (nginx.org)|95.211.80.227|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1039530 (1015K) [application/octet-stream]
Saving to: ‘nginx-1.18.0.tar.gz’
<>>>>>>>>[root@serviot ~]# tar -xzvf nginx-1.18.0.tar.gz
nginx-1.18.0/
nginx-1.18.0/auto/
.........
<>>>>>>>>[root@serviot ~]# ./configure --prefix=/etc/nginxrtmp --sbin-path=/usr/sbin/ngin xrtmp --modules-path=/usr/lib64/nginxrtmp/modules --conf-path=/etc/nginxrtmp/ngi nx.conf --error-log-path=/var/log/nginxrtmp/error.log --pid-path=/var/run/nginxr tmp.pid --lock-path=/var/run/nginxrtmp.lock --user=nginx --group=nginx --build=C entOS --builddir=nginx-1.18.0 --http-log-path=/var/log/nginxrtmp/access.log --ht tp-client-body-temp-path=/var/cache/nginxrtmp/client_temp --http-proxy-temp-path =/var/cache/nginxrtmp/proxy_temp --http-fastcgi-temp-path=/var/cache/nginxrtmp/f astcgi_temp --http-uwsgi-temp-path=/var/cache/nginxrtmp/uwsgi_temp --http-scgi-t emp-path=/var/cache/nginxrtmp/scgi_temp --with-select_module --with-poll_module --with-threads --with-file-aio --with-http_ssl_module --with-http_v2_module --wi th-http_realip_module --with-http_addition_module --with-http_sub_module --with- http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip _module --with-http_gzip_static_module --with-http_auth_request_module --with-ht tp_random_index_module --with-http_secure_link_module --with-http_degradation_mo dule --with-http_slice_module --with-http_stub_status_module --with-mail=dynamic --with-mail_ssl_module --with-stream=dynamic --with-stream_ssl_module --with-st ream_realip_module --with-stream_ssl_preread_module --with-compat --add-module=. ./nginx-rtmp-module --with-debug
-bash: ./configure: No such file or directory
<>>>>>>>>[root@serviot ~]# sudo ln -s /usr/lib64/nginxrtmp/modules /etc/nginxrtmp/modules
ln: failed to create symbolic link ‘/etc/nginxrtmp/modules’: No such file or dir ectory
<>>>>>>[root@serviot ~]# cd nginx-1.18.0
[root@serviot nginx-1.18.0]# ./configure --prefix=/etc/nginxrtmp --sbin-path=/usr/sbin/nginxrtmp --modules-path=/usr/lib64/nginxrtmp/modules --conf-path=/etc/nginxrtmp/nginx.conf --error-log-path=/var/log/nginxrtmp/error.log --pid-path=/var/run/nginxrtmp.pid --lock-path=/var/run/nginxrtmp.lock --user=nginx --group=nginx --build=CentOS --builddir=nginx-1.18.0 --http-log-path=/var/log/nginxrtmp/access.log --http-client-body-temp-path=/var/cache/nginxrtmp/client_temp --http-proxy-temp-path=/var/cache/nginxrtmp/proxy_temp --http-fastcgi-temp-path=/var/cache/nginxrtmp/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginxrtmp/uwsgi_temp --http-scgi-temp-path=/var/cache/nginxrtmp/scgi_temp --with-select_module --with-poll_module --with-threads --with-file-aio --with-http_ssl_module --with-http_v2_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_auth_request_module --with-http_random_index_module --with-http_secure_link_module --with-http_degradation_module --with-http_slice_module --with-http_stub_status_module --with-mail=dynamic --with-mail_ssl_module --with-stream=dynamic --with-stream_ssl_module --with-stream_realip_module --with-stream_ssl_preread_module --with-compat --add-module=../nginx-rtmp-module --with-debug
checking for OS
+ Linux 3.10.0-1127.10.1.el7.x86_64 x86_64
checking for C compiler ... found
+ using GNU C compiler
+ gcc version: 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC)
checking for gcc -pipe switch ... found
checking for -Wl,-E switch ... found
checking for gcc builtin atomic operations ... found
checking for C99 variadic macros ... found
checking for gcc variadic macros ... found
checking for gcc builtin 64 bit byteswap ... found
checking for unistd.h ... found
checking for inttypes.h ... found
checking for limits.h ... found
checking for sys/filio.h ... not found
checking for sys/param.h ... found
checking for sys/mount.h ... found
checking for sys/statvfs.h ... found
checking for crypt.h ... found
checking for Linux specific features
checking for getaddrinfo() ... found
configuring additional modules
adding module in ../nginx-rtmp-module
./configure: error: no ../nginx-rtmp-module/config was found
<>>>>>>>[root@serviot nginx-1.18.0]#
Am I not installing in the correct dir? nginx 1.18.0 was in the root ..
error installing RTMP nginx 1.18.0
Can someone help install RTMP with a correct step by step ..
Thanks to those who help me
7
CentOS 7 Problems / Re: Serious backup system failure
« on: June 04, 2020, 01:46:52 AM »We opened a ticket to CWP today.
We discovered a major flaw in the new backup system.
We have configured the backup with incremental copy, we suppose that it should only copy the files that change, but CWP makes a complete copy each time. This means that only one server with 50 accounts is taking up almost 2 TB of backups.
Doesn't anyone else have this problem with the new backup system?
I don't know anything about CWPanel, I already knew this for a month ... The backups exhaust the disc .. I spoke in a posts but nobody speaks anything .. My English is not very good or they made ears of a marker ..
8
CentOS 7 Problems / Re: vps error updates [New Version Available] putty.exe error ** (pkttyagent:20123)
« on: May 21, 2020, 04:41:06 PM »
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
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
9
CentOS 7 Problems / Re: vps error updates [New Version Available] putty.exe error ** (pkttyagent:20123)
« on: May 21, 2020, 04:38:45 PM »Dyslexia!
Frightening lack of knowledge too.
fstab=filesystem table
Much lack of knowledge is true I assume
10
CentOS 7 Problems / Re: vps error updates [New Version Available] putty.exe error ** (pkttyagent:20123)
« on: May 21, 2020, 03:37:17 PM »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
11
CentOS 7 Problems / vps error updates [New Version Available] putty.exe error ** (pkttyagent:20123)
« on: May 21, 2020, 06:11:12 AM »
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
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
12
CentOS-WebPanel Bugs / Re: CPU 100% clamd
« on: May 07, 2020, 07:59:21 PM »I have had this problem a couple of times now. It seems to occur following a Yum Update.
The first time petrosvels solution worked for me:
# systemctl stop clamd.service
# rm -f /var/run/clamd.amavisd/clamd.sock
# systemctl start clamd.service
The problem is in the error message from the postfix log (var/log/maillog) - ERROR: LOCAL: Socket file /var/run/clamd.amavisd/clamd.sock is in use by another process. Deleting the file clamd.sock is what is required to fix the problem.
The above didn't fix the problem straight away on the most recent occasion, so what I did was:
- From the CWP Dashboard - stop ClamAV
- stop AMaViS (A Mail Virus Scanner)
- Waited until USER amavis no longer appeared in the Top 5 Processes list and the 1 minute load average dropped back to normal levels (below 0.1 in my case). This is probably not necessary, but I did it anyway to be absolutely sure amavis/clamd were not running.
- Open Filemanager and browse to the folder /var/run/clamd.amavisd. Delete the file clamd.sock. It was an empty file (0 bytes)
- From the CWP Dashboard Start AMaViS
- Start ClamAV
If that does not fix the problem, check the postfix log for other possible causes:
# tail -100 var/log/maillog | grep clamd
Thank you all
================//============
PS.*[I leave an administration idea]*
[ I leave here an Idea, It would be good to have a premium for those who help more in the forum]
[And a big hug to MR. rcschaff Because it is an excellent support in the Forum, for aselha (difficulties) like me.]
===============//=============
My server CentOS Linux release 7.8.2003 (Core) CWPpro version: 0.9.8.971
very good | five start***** Tutorial
Your tutorial helped me a lot thanks ***(RESOLVED)***
13
CentOS 7 Problems / Re: (pkttyagent:30031): WARNING
« on: May 06, 2020, 11:36:11 AM »
Test with this code to see if it works with error..
[root@image1 ~]# systemctl status polkit
polkit.service - Authorization Manager
Loaded: loaded (/usr/lib/systemd/system/polkit.service; static)
Active: inactive (dead)
Docs: man:polkit(
CGroup: name=systemd:/system/polkit.service
[root@image1 ~]#
[root@image1 ~]# journalctl -b | grep polkit
[root@image1 ~]# cat /etc/shadow | grep pol
polkitd:!:15648:0:99999:7:::
[root@image1 ~]#
[root@image1 ~]# cat /etc/passwd | grep polk
polkitd:x:102:102:Policy Kit Daemon:/:/bin/false
[root@image1 ~]#
https://bbs.archlinux.org/viewtopic.php?id=154628
I have the same error but I won't do anything until I'm sure ..
Because my have no experience with linux
[root@image1 ~]# systemctl status polkit
polkit.service - Authorization Manager
Loaded: loaded (/usr/lib/systemd/system/polkit.service; static)
Active: inactive (dead)
Docs: man:polkit(
CGroup: name=systemd:/system/polkit.service
[root@image1 ~]#
[root@image1 ~]# journalctl -b | grep polkit
[root@image1 ~]# cat /etc/shadow | grep pol
polkitd:!:15648:0:99999:7:::
[root@image1 ~]#
[root@image1 ~]# cat /etc/passwd | grep polk
polkitd:x:102:102:Policy Kit Daemon:/:/bin/false
[root@image1 ~]#
https://bbs.archlinux.org/viewtopic.php?id=154628
I have the same error but I won't do anything until I'm sure ..
Because my have no experience with linux
14
CentOS 7 Problems / Re: Error After recent Update
« on: May 06, 2020, 01:33:26 AM »
you have several windows open in the browser close all and log in only one
15
How to / Re: [Tutorial] How to install SSL on hostname?
« on: May 06, 2020, 12:46:42 AM »Hello,
I could see that a lot of users are asking "How to install SSL on hostname" and I found a few tutorials some of which are working and others do not. Also, the tutorials which are working are lenghty and not for linux newbie.
So, I will teach you here how to install and configure Letsencrypt Free SSL on hostname in CWP in simple 3 steps.
1 - Check that you should have an A record for the hostname. For example if your server hostname is cp.hostinpk.com, then you should have an A record for "cp" pointing to server IP
2 - Login to CWP Admin Panel>> Server Settings>>Change Hostname and then hit "Change Hostname" button after putting your desired hostname (in my case cp.hostinpk.com). This will only generate a valid LE SSL for your hostname when an A record is present against hostname
3 - Perform following command from shellCode: [Select]service cwpsrv reload
THAT's IT. Enjoy the green padlock while accessing the CWP services (admin panel, user panel, webmail, etc..)
people like this friend are sorely missed on this forum