Hello all.
Context: this VPS is hosting 2-3 websites. Has been running smoothly, is being kept updated, a doozy.
48h ago, a DC node incident occurs. Hosting company is advised. Says they are on it. Replies an hour later that "all is fixed".
From that point on, I was unable to access CWP as it would through a bunch of errors after login screen. Had to reset the mysql root password, remove and reinstall MariaDB, did a bunch of swinging in the dark (this really isn't my cup of tea).
At this point it seems that MariaDB will start, then crash, then restart and so on. Associated issues is, I have WP sites working, others throwing "Database connection error" whether mysql is up or not. I can access CWP, although it will randomly crash (likely because mysql has crashed and is restarting). I'm at a loss here, probably at the point where anything I do will compound the problem instead of fixing it. Any insight is appreciated.
Here is the CWP config :
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 899 100 899 0 0 15133 0 --:--:-- --:--:-- --:--:-- 15237
===============================================
Kernel:
Linux glenlyon.unbrandedprojects.com 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
CPU info:
model name : QEMU Virtual CPU version 2.5+
Release:
CentOS Linux release 7.9.2009 (Core)
Arch:
x86_64
Virtualization Type:
kvm
Memory:
total used free shared buff/cache available
Mem: 3692 433 2247 11 1011 3028
Swap: 3999 0 3999
MySQL info:
mysql Ver 15.1 Distrib 10.4.28-MariaDB, for Linux (x86_64) using readline 5.1
Disk Info:
Filesystem Size Used Avail Use% Mounted on
devtmpfs 1.8G 0 1.8G 0% /dev
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 1.9G 8.5M 1.8G 1% /run
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/vda1 1.5T 58G 1.4T 5% /
tmpfs 370M 0 370M 0% /run/user/0
#
# /etc/fstab
# Created by anaconda on Sat Sep 25 08:13:35 2021
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(, mount( and/or blkid( for more info
#
/dev/vda1 / ext4 rw,relatime,quota,usrquota,grpquota,data=ordered 0 0
/dev/vda2 swap swap defaults 0 0
Apache PHP info:
PHP 8.1.13 (cli) (built: Dec 24 2022 08:54:25) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.13, Copyright (c) Zend Technologies
Apache start script check:
grep: /etc/init.d/httpd: No such file or directory
CWP Admin check:
/usr/local/cwpsrv/htdocs/admin
CWP version:
0.9.8.1152