Litespeed, MariaDb, PowerDNS and all others getting down in a daily bases

Hi folks,

I want share here a problem that i’m facing lately.

All day, in a daily basis at night (around by 3AM) all my server processes is being shutdown without any command, then still down for a while and then are restarted automatically.

Because of this, my whole server crashes and the Cyberpanel present Server Error 500 and sometimes don’t even access and the browser response is ERROR_CONNECTION_REFUSED - probably due the Litespeed being down - and my websites are offline too

When i activate the debug on CP settings i’ve got Mysql error 2002 - Can’t connect to local MySQL server through socket - but this is kind of “right” due the inactivity of the mysql.

I’ve already check my cron process and none of them do this.
My stderr.log don’t show any error.

Please, somebody could help me to find a solution for these shutdowns?

Here is my VPS configs:

  • 6GB RAM
  • 6 Core CPU
  • CentOS 7 64bit with CyberPanel
  • CyberPanel (Updated to the latest stable version)
  • MariaDb Version (10.5.15)
  • LiteSpeed Version (1.7.15)

my logs - /var/log/messages

Mar 18 02:58:38 mycpuser systemd: Failed to start Session c704 of user mycpuser8118.
Mar 18 02:58:38 mycpuser systemd: Created slice User Slice of root.
Mar 18 02:58:38 mycpuser lswsctrl: [OK] litespeed: graceful stop.
Mar 18 02:58:38 mycpuser systemd: Failed to start Session c705 of user root.
Mar 18 02:58:38 mycpuser systemd: Stopping Dovecot IMAP/POP3 email server...
Mar 18 02:58:38 mycpuser systemd: Stopping OpenLiteSpeed HTTP Server...
Mar 18 02:59:46 mycpuser systemd: Stopped PowerDNS Authoritative Server.
Mar 18 02:59:46 mycpuser lswsctrl: [OK] litespeed: pid=886060.
Mar 18 02:59:46 mycpuser systemd: Stopped Dovecot IMAP/POP3 email server.
Mar 18 02:59:46 mycpuser systemd: Stopped OpenLiteSpeed HTTP Server.
Mar 18 02:59:46 mycpuser systemd: Unit lshttpd.service entered failed state.
Mar 18 02:59:46 mycpuser systemd: lshttpd.service failed.
Mar 18 02:59:46 mycpuser systemd: Stopped Postfix Mail Transport Agent.
Mar 18 02:59:46 mycpuser systemd: Starting OpenLiteSpeed HTTP Server...
Mar 18 02:58:38 mycpuser systemd: Failed to start Session c704 of user mycpuser8118.
Mar 18 02:58:38 mycpuser systemd: Created slice User Slice of root.
Mar 18 02:58:38 mycpuser lswsctrl: [OK] litespeed: graceful stop.
Mar 18 02:58:38 mycpuser systemd: Failed to start Session c705 of user root.
Mar 18 02:58:38 mycpuser systemd: Stopping Dovecot IMAP/POP3 email server...
Mar 18 02:58:38 mycpuser systemd: Stopping OpenLiteSpeed HTTP Server...
Mar 18 02:58:38 mycpuser systemd: Stopping PowerDNS Authoritative Server...
Mar 18 02:59:12 mycpuser systemd: Stopping Pure-FTPd FTP server...
Mar 18 02:59:12 mycpuser kernel: Firewall: *TCP_IN Blocked* IN=venet0 OUT= MAC= SRC=20.127.85.32 DST=31.220.21.76 LEN=40 TOS=0x00 PREC=0x00 TTL=240 ID=17366 PROTO=TCP SPT=50031 DPT=33172 WINDOW=1024 RES=0x00 SYN URGP=0
Mar 18 02:59:12 mycpuser kernel: Firewall: *TCP_IN Blocked* IN=venet0 OUT= MAC= SRC=79.124.62.82 DST=31.220.21.76 LEN=40 TOS=0x00 PREC=0x00 TTL=240 ID=19992 PROTO=TCP SPT=48932 DPT=52409 WINDOW=1024 RES=0x00 SYN URGP=0
Mar 18 02:59:12 mycpuser kernel: Firewall: *TCP_IN Blocked* IN=venet0 OUT= MAC= SRC=64.44.139.158 DST=31.220.21.76 LEN=40 TOS=0x00 PREC=0x20 TTL=238 ID=30583 PROTO=TCP SPT=46262 DPT=65168 WINDOW=1024 RES=0x00 SYN URGP=0
Mar 18 02:59:12 mycpuser systemd: Stopping Postfix Mail Transport Agent...
Mar 18 02:59:12 mycpuser systemd: Stopped Pure-FTPd FTP server.
Mar 18 02:59:12 mycpuser systemd: Removed slice User Slice of root.
Mar 18 02:59:12 mycpuser lfd[849052]: SYSLOG check [t1aIf2XY0affHqElw]
Mar 18 02:59:26 mycpuser kernel: Firewall: *TCP_IN Blocked* IN=venet0 OUT= MAC= SRC=64.44.139.158 DST=31.220.21.76 LEN=40 TOS=0x00 PREC=0x20 TTL=238 ID=48686 PROTO=TCP SPT=46262 DPT=65150 WINDOW=1024 RES=0x00 SYN URGP=0
Mar 18 02:59:26 mycpuser systemd: lshttpd.service: main process exited, code=exited, status=255/n/a
Mar 18 02:59:46 mycpuser kernel: Firewall: *TCP_IN Blocked* IN=venet0 OUT= MAC= SRC=79.124.62.78 DST=31.220.21.76 LEN=40 TOS=0x00 PREC=0x00 TTL=240 ID=51906 PROTO=TCP SPT=48938 DPT=20313 WINDOW=1024 RES=0x00 SYN URGP=0
Mar 18 02:59:46 mycpuser kernel: Firewall: *TCP_IN Blocked* IN=venet0 OUT= MAC= SRC=64.44.139.162 DST=31.220.21.76 LEN=40 TOS=0x00 PREC=0x20 TTL=238 ID=8210 PROTO=TCP SPT=46124 DPT=59217 WINDOW=1024 RES=0x00 SYN URGP=0
Mar 18 02:59:46 mycpuser kernel: Firewall: *TCP_IN Blocked* IN=venet0 OUT= MAC= SRC=193.232.65.8 DST=31.220.21.76 LEN=40 TOS=0x00 PREC=0x00 TTL=240 ID=55638 PROTO=TCP SPT=46206 DPT=62621 WINDOW=1024 RES=0x00 SYN URGP=0
Mar 18 02:59:46 mycpuser kernel: Firewall: *TCP_IN Blocked* IN=venet0 OUT= MAC= SRC=64.44.139.158 DST=31.220.21.76 LEN=40 TOS=0x00 PREC=0x20 TTL=238 ID=32439 PROTO=TCP SPT=46262 DPT=64149 WINDOW=1024 RES=0x00 SYN URGP=0
Mar 18 02:59:46 mycpuser kernel: Firewall: *TCP_IN Blocked* IN=venet0 OUT= MAC= SRC=193.232.65.8 DST=31.220.21.76 LEN=40 TOS=0x00 PREC=0x00 TTL=240 ID=1616 PROTO=TCP SPT=46206 DPT=62933 WINDOW=1024 RES=0x00 SYN URGP=0
Mar 18 02:59:46 mycpuser systemd: Starting Postfix Mail Transport Agent...
Mar 18 02:59:46 mycpuser systemd: Stopping MariaDB 10.5.15 database server...
Mar 18 02:59:46 mycpuser systemd: Starting Dovecot IMAP/POP3 email server...
Mar 18 02:59:46 mycpuser systemd: Stopped MariaDB 10.5.15 database server.
Mar 18 02:59:46 mycpuser systemd: Started OpenLiteSpeed HTTP Server.
Mar 18 02:59:46 mycpuser prestartscript: Failed to get unit file state for NetworkManager.service: No such file or directory
Mar 18 02:59:46 mycpuser systemd: Starting PowerDNS Authoritative Server...
Mar 18 02:59:52 mycpuser kernel: Firewall: *TCP_IN Blocked* IN=venet0 OUT= MAC= SRC=79.124.62.34 DST=31.220.21.76 LEN=40 TOS=0x00 PREC=0x00 TTL=240 ID=51663 PROTO=TCP SPT=48935 DPT=35741 WINDOW=1024 RES=0x00 SYN URGP=0
Mar 18 03:00:03 mycpuser systemd: Starting MariaDB 10.5.15 database server...
Mar 18 03:00:03 mycpuser pdns_server: Loading '/usr/lib64/pdns/libgmysqlbackend.so'
Mar 18 03:00:05 mycpuser systemd: Started PowerDNS Authoritative Server.
Mar 18 03:00:05 mycpuser pdns_server: This is a standalone pdns
Mar 18 03:00:05 mycpuser pdns_server: Listening on controlsocket in '/var/run/pdns/pdns.controlsocket'
Mar 18 03:00:05 mycpuser pdns_server: UDP server bound to 0.0.0.0:53
Mar 18 03:00:05 mycpuser pdns_server: UDP server bound to [::]:53
Mar 18 03:00:05 mycpuser pdns_server: TCP server bound to 0.0.0.0:53
Mar 18 03:00:05 mycpuser pdns_server: TCP server bound to [::]:53
Mar 18 03:00:05 mycpuser pdns_server: PowerDNS Authoritative Server 4.3.2 (C) 2001-2020 PowerDNS.COM BV
Mar 18 03:00:05 mycpuser pdns_server: Using 64-bits mode. Built using gcc 4.8.5 20150623 (Red Hat 4.8.5-44) on Mar  8 2021 08:35:27 by root@7f16c21ed6a8.
Mar 18 03:00:05 mycpuser pdns_server: PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2.
Mar 18 03:00:05 mycpuser pdns_server: Polled security status of version 4.3.2 at startup, no known issues reported: OK
Mar 18 03:00:05 mycpuser pdns_server: Creating backend connection for TCP
Mar 18 03:00:05 mycpuser pdns_server: gmysql Connection failed: Unable to connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")
Mar 18 03:00:05 mycpuser pdns_server: Caught an exception instantiating a backend: Unable to launch gmysql connection: Unable to connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")
Mar 18 03:00:05 mycpuser pdns_server: Cleaning up
Mar 18 03:00:05 mycpuser pdns_server: TCP server is unable to launch backends - will try again when questions come in: Unable to launch gmysql connection: Unable to connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file o$
Mar 18 03:00:05 mycpuser pdns_server: About to create 3 backend threads for UDP
Mar 18 03:00:05 mycpuser pdns_server: gmysql Connection failed: Unable to connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")
Mar 18 03:00:05 mycpuser pdns_server: Caught an exception instantiating a backend: Unable to launch gmysql connection: Unable to connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")
Mar 18 03:00:16 mycpuser pdns_server: Cleaning up
Mar 18 03:00:16 mycpuser pdns_server: Distributor caught fatal exception: Unable to launch gmysql connection: Unable to connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")
Mar 18 03:00:16 mycpuser kernel: Firewall: *TCP_IN Blocked* IN=venet0 OUT= MAC= SRC=64.44.139.162 DST=31.220.21.76 LEN=40 TOS=0x00 PREC=0x20 TTL=238 ID=214 PROTO=TCP SPT=46124 DPT=60104 WINDOW=1024 RES=0x00 SYN URGP=0
Mar 18 03:00:16 mycpuser systemd: Started Dovecot IMAP/POP3 email server.
Mar 18 03:00:16 mycpuser systemd: pdns.service: main process exited, code=exited, status=1/FAILURE
Mar 18 03:00:16 mycpuser systemd: Unit pdns.service entered failed state.
Mar 18 03:00:16 mycpuser systemd: pdns.service failed.
Mar 18 03:00:17 mycpuser systemd: Started Session 5740956 of user mycpuser8118.
Mar 18 03:00:18 mycpuser systemd: Started Postfix Mail Transport Agent.
Mar 18 03:00:18 mycpuser systemd: pdns.service holdoff time over, scheduling restart.
Mar 18 03:00:18 mycpuser systemd: Starting Pure-FTPd FTP server...
Mar 18 03:00:18 mycpuser systemd: Started Session 5740961 of user mycpuser8118.
Mar 18 03:00:18 mycpuser systemd: Started Session 5740953 of user mycpuser8118.
Mar 18 03:00:18 mycpuser systemd: Started Session 5740955 of user mycpuser8118.
Mar 18 03:00:18 mycpuser systemd: Started Session 5740957 of user mycpuser8118.
Mar 18 03:00:18 mycpuser systemd: Stopped PowerDNS Authoritative Server.
Mar 18 03:00:18 mycpuser systemd: Started Pure-FTPd FTP server.
Mar 18 03:00:18 mycpuser systemd: Created slice User Slice of root.
Mar 18 03:00:18 mycpuser systemd: Started Session 5740964 of user root.
Mar 18 03:00:18 mycpuser systemd: Started Session 5740960 of user root.
Mar 18 03:00:18 mycpuser systemd: Started Session 5740959 of user root.
Mar 18 03:00:19 mycpuser mariadbd: 2022-03-18  3:00:19 0 [Note] /usr/sbin/mariadbd (mysqld 10.5.15-MariaDB-log) starting as process 886381 ...
Mar 18 03:00:19 mycpuser systemd: Started Session 5740967 of user mycpuser8118.
Mar 18 03:00:19 mycpuser systemd: Started Session 5740966 of user mycpuser8118.
Mar 18 03:00:19 mycpuser systemd: Started Session 5740965 of user mycpuser8118.
Mar 18 03:00:19 mycpuser systemd: Started MariaDB 10.5.15 database server.
Mar 18 03:00:19 mycpuser systemd: Starting PowerDNS Authoritative Server...
Mar 18 03:00:20 mycpuser pdns_server: Loading '/usr/lib64/pdns/libgmysqlbackend.so'
Mar 18 03:00:20 mycpuser pdns_server: This is a standalone pdns
Mar 18 03:00:20 mycpuser pdns_server: Listening on controlsocket in '/var/run/pdns/pdns.controlsocket'
Mar 18 03:00:20 mycpuser pdns_server: UDP server bound to 0.0.0.0:53
Mar 18 03:00:20 mycpuser pdns_server: UDP server bound to [::]:53
Mar 18 03:00:20 mycpuser pdns_server: TCP server bound to 0.0.0.0:53
Mar 18 03:00:20 mycpuser pdns_server: TCP server bound to [::]:53
Mar 18 03:00:20 mycpuser pdns_server: PowerDNS Authoritative Server 4.3.2 (C) 2001-2020 PowerDNS.COM BV
Mar 18 03:00:20 mycpuser pdns_server: Using 64-bits mode. Built using gcc 4.8.5 20150623 (Red Hat 4.8.5-44) on Mar  8 2021 08:35:27 by root@7f16c21ed6a8.
Mar 18 03:00:20 mycpuser pdns_server: PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2.
Mar 18 03:00:20 mycpuser pdns_server: Polled security status of version 4.3.2 at startup, no known issues reported: OK
Mar 18 03:00:20 mycpuser pdns_server: Creating backend connection for TCP
Mar 18 03:00:20 mycpuser pdns_server: About to create 3 backend threads for UDP
Mar 18 03:00:20 mycpuser systemd: Started PowerDNS Authoritative Server.
Mar 18 03:00:20 mycpuser pdns_server: Done launching threads, ready to distribute questions

Can you install some monitoring tool like hetrix and then track your CPU usage. This can help you figure out if your CPU and memory goes full thus your mysql going down.

The CyberPanel show my RAM usage always below of 30% and the CPU never reach the 5%.

When i use the TOP/FREE commands i have this scenario:

Top:
image

Free -M
image

CyberPanel

CyberPanel shows instance usage, install hetrix for overall usage during day/night.

Hi,

We did the use of hetrix and we didn’t see any spikes of resources consumption.
What else can be?


As you can see, when the server goes down the M.RAM usage was reduced and before that the consumption were stable without spikes.

At same time we had these logs on message:

Mar 19 02:39:58 mycpuser systemd: Stopping Postfix Mail Transport Agent...
Mar 19 02:39:58 mycpuser systemd: Stopping OpenLiteSpeed HTTP Server...
Mar 19 02:39:58 mycpuser lswsctrl: [OK] litespeed: graceful stop.
Mar 19 02:39:58 mycpuser systemd: Stopping PowerDNS Authoritative Server...
Mar 19 02:39:58 mycpuser systemd: Failed to start Session c735 of user root.
Mar 19 02:39:58 mycpuser systemd: Stopped PowerDNS Authoritative Server.
Mar 19 02:39:58 mycpuser systemd: Stopping MariaDB 10.5.15 database server...
Mar 19 02:39:58 mycpuser systemd: Stopped MariaDB 10.5.15 database server.
Mar 19 02:39:58 mycpuser systemd: Stopped Postfix Mail Transport Agent.
Mar 19 02:39:58 mycpuser systemd: Stopped OpenLiteSpeed HTTP Server.
Mar 19 02:42:08 mycpuser systemd: Starting Postfix Mail Transport Agent...
Mar 19 02:42:49 mycpuser journal: Missed 11 kernel messages
Mar 19 02:42:49 mycpuser kernel: Firewall: *ICMP_IN Blocked* IN=venet0 OUT= MAC= SRC=45.32.204.172 DST=31.220.21.76 LEN=64 TOS=0x00 PREC=0x00 TTL=2 ID=40243 PROTO=ICMP TYPE=8 CODE=0 ID=30624 SEQ=33090 
Mar 19 02:42:49 mycpuser journal: Missed 1 kernel messages
Mar 19 02:42:49 mycpuser kernel: Firewall: *ICMP_IN Blocked* IN=venet0 OUT= MAC= SRC=52.52.33.209 DST=31.220.21.76 LEN=84 TOS=0x00 PREC=0x00 TTL=41 ID=39311 DF PROTO=ICMP TYPE=8 CODE=0 ID=8115 SEQ=8 
Mar 19 02:42:49 mycpuser kernel: Firewall: *ICMP_IN Blocked* IN=venet0 OUT= MAC= SRC=52.52.33.209 DST=31.220.21.76 LEN=84 TOS=0x00 PREC=0x00 TTL=41 ID=39588 DF PROTO=ICMP TYPE=8 CODE=0 ID=8115 SEQ=10 
Mar 19 02:42:49 mycpuser kernel: Firewall: *ICMP_IN Blocked* IN=venet0 OUT= MAC= SRC=45.32.204.172 DST=31.220.21.76 LEN=64 TOS=0x00 PREC=0x00 TTL=1 ID=41020 PROTO=ICMP TYPE=8 CODE=0 ID=30624 SEQ=33239 
Mar 19 02:42:49 mycpuser kernel: Firewall: *ICMP_IN Blocked* IN=venet0 OUT= MAC= SRC=52.67.204.189 DST=31.220.21.76 LEN=64 TOS=0x00 PREC=0x00 TTL=1 ID=48631 PROTO=ICMP TYPE=8 CODE=0 ID=14620 SEQ=33291 
Mar 19 02:42:49 mycpuser kernel: Firewall: *ICMP_IN Blocked* IN=venet0 OUT= MAC= SRC=52.67.204.189 DST=31.220.21.76 LEN=64 TOS=0x00 PREC=0x00 TTL=1 ID=48913 PROTO=ICMP TYPE=8 CODE=0 ID=14620 SEQ=33351 
Mar 19 02:42:49 mycpuser kernel: Firewall: *TCP_IN Blocked* IN=venet0 OUT= MAC= SRC=151.115.49.208 DST=31.220.21.76 LEN=40 TOS=0x00 PREC=0x00 TTL=238 ID=54321 PROTO=TCP SPT=53021 DPT=2383 WINDOW=65535 RES=0x00 SYN URGP=0 
Mar 19 02:42:49 mycpuser kernel: Firewall: *ICMP_IN Blocked* IN=venet0 OUT= MAC= SRC=52.67.204.189 DST=31.220.21.76 LEN=64 TOS=0x00 PREC=0x00 TTL=1 ID=49166 PROTO=ICMP TYPE=8 CODE=0 ID=14620 SEQ=33411 
Mar 19 02:42:49 mycpuser kernel: Firewall: *TCP_IN Blocked* IN=venet0 OUT= MAC= SRC=31.220.165.136 DST=31.220.21.76 LEN=40 TOS=0x00 PREC=0x00 TTL=239 ID=839 DF PROTO=TCP SPT=1283 DPT=7547 WINDOW=14600 RES=0x00 SYN URGP=0 
Mar 19 02:42:49 mycpuser kernel: Firewall: *ICMP_IN Blocked* IN=venet0 OUT= MAC= SRC=45.32.204.172 DST=31.220.21.76 LEN=64 TOS=0x00 PREC=0x00 TTL=1 ID=42084 PROTO=ICMP TYPE=8 CODE=0 ID=30624 SEQ=33377 
Mar 19 02:42:49 mycpuser kernel: Firewall: *ICMP_IN Blocked* IN=venet0 OUT= MAC= SRC=23.227.169.50 DST=31.220.21.76 LEN=64 TOS=0x00 PREC=0x00 TTL=1 ID=56210 PROTO=ICMP TYPE=8 CODE=0 ID=13190 SEQ=33508 
Mar 19 02:42:49 mycpuser kernel: Firewall: *ICMP_IN Blocked* IN=venet0 OUT= MAC= SRC=23.227.169.50 DST=31.220.21.76 LEN=64 TOS=0x00 PREC=0x00 TTL=1 ID=56469 PROTO=ICMP TYPE=8 CODE=0 ID=13190 SEQ=33566 
Mar 19 02:42:49 mycpuser kernel: Firewall: *ICMP_IN Blocked* IN=venet0 OUT= MAC= SRC=23.227.169.50 DST=31.220.21.76 LEN=64 TOS=0x00 PREC=0x00 TTL=1 ID=56740 PROTO=ICMP TYPE=8 CODE=0 ID=13190 SEQ=33624 
Mar 19 02:42:49 mycpuser kernel: Firewall: *ICMP_IN Blocked* IN=venet0 OUT= MAC= SRC=45.32.204.172 DST=31.220.21.76 LEN=64 TOS=0x00 PREC=0x00 TTL=1 ID=43196 PROTO=ICMP TYPE=8 CODE=0 ID=30624 SEQ=33505 
Mar 19 02:42:49 mycpuser kernel: Firewall: *TCP_IN Blocked* IN=venet0 OUT= MAC= SRC=162.142.125.238 DST=31.220.21.76 LEN=44 TOS=0x00 PREC=0x00 TTL=38 ID=54747 PROTO=TCP SPT=36858 DPT=8873 WINDOW=1024 RES=0x00 SYN URGP=0 
Mar 19 02:42:49 mycpuser kernel: Firewall: *ICMP_IN Blocked* IN=venet0 OUT= MAC= SRC=45.32.204.172 DST=31.220.21.76 LEN=64 TOS=0x00 PREC=0x00 TTL=1 ID=43471 PROTO=ICMP TYPE=8 CODE=0 ID=30624 SEQ=33537 
Mar 19 02:42:49 mycpuser kernel: Firewall: *ICMP_IN Blocked* IN=venet0 OUT= MAC= SRC=23.227.169.50 DST=31.220.21.76 LEN=64 TOS=0x00 PREC=0x00 TTL=1 ID=57592 PROTO=ICMP TYPE=8 CODE=0 ID=13190 SEQ=33798 
Mar 19 02:42:49 mycpuser kernel: Firewall: *ICMP_IN Blocked* IN=venet0 OUT= MAC= SRC=23.227.169.50 DST=31.220.21.76 LEN=64 TOS=0x00 PREC=0x00 TTL=1 ID=57851 PROTO=ICMP TYPE=8 CODE=0 ID=13190 SEQ=33856 
Mar 19 02:42:49 mycpuser kernel: Firewall: *ICMP_IN Blocked* IN=venet0 OUT= MAC= SRC=149.28.212.239 DST=31.220.21.76 LEN=64 TOS=0x00 PREC=0x00 TTL=1 ID=21224 PROTO=ICMP TYPE=8 CODE=0 ID=28842 SEQ=33718 
Mar 19 02:42:49 mycpuser kernel: Firewall: *TCP_IN Blocked* IN=venet0 OUT= MAC= SRC=91.240.118.31 DST=31.220.21.76 LEN=40 TOS=0x00 PREC=0x00 TTL=240 ID=50255 PROTO=TCP SPT=50612 DPT=2914 WINDOW=1024 RES=0x00 SYN URGP=0 
Mar 19 02:42:49 mycpuser kernel: Firewall: *TCP_IN Blocked* IN=venet0 OUT= MAC= SRC=162.142.125.95 DST=31.220.21.76 LEN=44 TOS=0x00 PREC=0x00 TTL=38 ID=26863 PROTO=TCP SPT=47859 DPT=12202 WINDOW=1024 RES=0x00 SYN URGP=0 
Mar 19 02:42:49 mycpuser systemd-logind: Failed to start session scope session-5812020.scope: Connection timed out
Mar 19 02:42:49 mycpuser systemd: Starting OpenLiteSpeed HTTP Server...
Mar 19 02:42:49 mycpuser lswsctrl: [OK] litespeed: pid=733960.
Mar 19 02:42:49 mycpuser lfd[195074]: SYSLOG check [TFl8gCv6U0SOxRFfZpJCv5AwM]
Mar 19 02:43:04 mycpuser kernel: Firewall: *TCP_IN Blocked* IN=venet0 OUT= MAC= SRC=31.220.165.136 DST=31.220.21.76 LEN=40 TOS=0x00 PREC=0x00 TTL=239 ID=47552 DF PROTO=TCP SPT=41045 DPT=8291 WINDOW=14600 RES=0x00 SYN URGP=0 
Mar 19 02:43:30 mycpuser systemd-logind: Failed to start session scope session-c736.scope: Connection timed out
Mar 19 02:43:30 mycpuser kernel: Firewall: *TCP_IN Blocked* IN=venet0 OUT= MAC= SRC=79.124.62.34 DST=31.220.21.76 LEN=40 TOS=0x00 PREC=0x00 TTL=240 ID=64573 PROTO=TCP SPT=55574 DPT=30561 WINDOW=1024 RES=0x00 SYN URGP=0 
Mar 19 02:43:30 mycpuser systemd: Starting MariaDB 10.5.15 database server...
Mar 19 02:43:30 mycpuser systemd: Started OpenLiteSpeed HTTP Server.
Mar 19 02:43:30 mycpuser systemd: Failed to start Session c736 of user root.
Mar 19 02:43:30 mycpuser systemd: Failed to start Session 5812020 of user root.
Mar 19 02:43:54 mycpuser kernel: Firewall: *TCP_IN Blocked* IN=venet0 OUT= MAC= SRC=193.163.125.155 DST=31.220.21.76 LEN=44 TOS=0x00 PREC=0x20 TTL=238 ID=28843 PROTO=TCP SPT=55529 DPT=6882 WINDOW=14600 RES=0x00 SYN URGP=0 
Mar 19 02:43:54 mycpuser systemd: Started Postfix Mail Transport Agent.
Mar 19 02:43:54 mycpuser systemd: Started Session 5812169 of user root.
Mar 19 02:44:31 mycpuser mariadbd: 2022-03-19  2:44:13 0 [Note] /usr/sbin/mariadbd (mysqld 10.5.15-MariaDB-log) starting as process 738258 ...
Mar 19 02:45:48 mycpuser systemd-logind: Failed to start session scope session-5812199.scope: Connection timed out
Mar 19 02:45:48 mycpuser kernel: Firewall: *TCP_IN Blocked* IN=venet0 OUT= MAC= SRC=79.124.62.86 DST=31.220.21.76 LEN=40 TOS=0x00 PREC=0x00 TTL=240 ID=46830 PROTO=TCP SPT=54397 DPT=48129 WINDOW=1024 RES=0x00 SYN URGP=0 
Mar 19 02:45:48 mycpuser kernel: Firewall: *TCP_IN Blocked* IN=venet0 OUT= MAC= SRC=167.94.138.157 DST=31.220.21.76 LEN=44 TOS=0x00 PREC=0x00 TTL=38 ID=16401 PROTO=TCP SPT=50019 DPT=13000 WINDOW=1024 RES=0x00 SYN URGP=0 
Mar 19 02:46:21 mycpuser sh: Failed to set environment: Connection timed out
Mar 19 02:46:21 mycpuser kernel: Firewall: *TCP_IN Blocked* IN=venet0 OUT= MAC= SRC=185.156.73.109 DST=31.220.21.76 LEN=40 TOS=0x00 PREC=0x00 TTL=240 ID=42790 PROTO=TCP SPT=51137 DPT=1057 WINDOW=1024 RES=0x00 SYN URGP=0 
Mar 19 02:46:21 mycpuser kernel: Firewall: *TCP_IN Blocked* IN=venet0 OUT= MAC= SRC=27.74.240.203 DST=31.220.21.76 LEN=44 TOS=0x00 PREC=0x00 TTL=44 ID=32361 PROTO=TCP SPT=11348 DPT=37215 WINDOW=15940 RES=0x00 SYN URGP=0 
Mar 19 02:46:21 mycpuser systemd: mariadb.service: control process exited, code=exited status=1
Mar 19 02:46:21 mycpuser systemd: Stopping Pure-FTPd FTP server...
Mar 19 02:46:21 mycpuser lswsctrl: [OK] litespeed: graceful stop.
Mar 19 02:46:21 mycpuser systemd: Stopping Dovecot IMAP/POP3 email server...
Mar 19 02:46:21 mycpuser systemd: Stopping OpenLiteSpeed HTTP Server...
Mar 19 02:46:21 mycpuser systemd: Failed to start Session 5812199 of user root.
Mar 19 02:46:21 mycpuser systemd: Stopped Pure-FTPd FTP server.
Mar 19 02:46:21 mycpuser systemd: Starting Pure-FTPd FTP server...
Mar 19 02:46:21 mycpuser systemd: Failed to start Session c737 of user mycpuser8118.
Mar 19 02:47:20 mycpuser lfd[195074]: SYSLOG check [eRvpPh29dIiZIJmPG1SkiY]

Hi guys,

Something to comment about it?
I already reinstalled the cyberpanel from scratch and from autoinstaller (hostinger) but everynight still getting down the LSWS, MariaDb, PDNS, Dovecot and Postfix

Dont use one click installers as those are not updated and will cause issues.

Use the installation method specified here in docs.

2 Likes

I don’t know if the CP have some problem with Centos 7 but I had deleted the whole server system and installed the CP from scratch following the tutorial here in the docs.

The problem persisted.

Then i’ve deleted all server files, reinstalled the OS with Ubuntu following by the CP from scratch with the given instructions from docs.

Now everything works fine.

TIP: If after the installation you got some problem with permission denied from files and paths. Access the file manager of given website and click on “Fix permissions”

1 Like

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.