Hi There,
I'm getting the following error in Plesk...
Server Error
500 Plesk\Exception\Database
DB query failed: SQLSTATE[HY000] [2002] Connection refused
Type Plesk\Exception\Database
Message DB query failed: SQLSTATE[HY000] [2002] Connection refused
File Mysql.php
Line 79
when I try and run plesk repair all I get the following....
DB query failed: SQLSTATE[HY000] [2002] Connection refused
exit status 1
When I run systemctl status mariadb.service I get this
● mariadb.service - MariaDB 10.5.18 database server
Loaded: loaded (/usr/lib/systemd/system/./mariadb.service; disabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/mariadb.service.d
└─migrated-from-my.cnf-settings.conf
Active: activating (auto-restart) (Result: signal) since Thu 2022-11-24 17:42:32 UTC; 374ms ago
Docs: man:mariadbd(8)
systemd
Process: 3670 ExecStartPost=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Process: 3642 ExecStart=/usr/sbin/mariadbd $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=killed, signal=ABRT)
Process: 3610 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`cd /usr/bin/..; /usr/bin/galera_recovery`; [ $? -eq 0 ] && systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1 (code=exited, status=0/SUCCESS)
Process: 3607 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Main PID: 3642 (code=killed, signal=ABRT)
Status: "Taking your SQL requests now..."
Nov 24 17:42:32 server.isotonikstudios.com systemd[1]: Unit mariadb.service entered failed state.
Nov 24 17:42:32 server.isotonikstudios.com systemd[1]: mariadb.service failed.
I've tried many stop and starts on sql/Maria, I've tried removing and reinstalling Maria, I've tried removing log files, and resetting my.cnf
At this point I'm completely lost and don't know how to fire this server back up. There is plenty of space on the server
devtmpfs 7.9G 0 7.9G 0% /dev
tmpfs 7.9G 0 7.9G 0% /dev/shm
tmpfs 7.9G 749M 7.1G 10% /run
tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup
/dev/md2 28G 604M 27G 3% /
/dev/mapper/vg00-usr 20G 4.4G 15G 24% /usr
/dev/mapper/vg00-home 15G 25M 14G 1% /home
none 7.9G 0 7.9G 0% /tmp
/dev/mapper/vg00-var 311G 173G 127G 58% /var
tmpfs 1.6G 0 1.6G 0% /run/user/0
Any ideas?
I'm getting the following error in Plesk...
Server Error
500 Plesk\Exception\Database
DB query failed: SQLSTATE[HY000] [2002] Connection refused
Type Plesk\Exception\Database
Message DB query failed: SQLSTATE[HY000] [2002] Connection refused
File Mysql.php
Line 79
when I try and run plesk repair all I get the following....
DB query failed: SQLSTATE[HY000] [2002] Connection refused
exit status 1
When I run systemctl status mariadb.service I get this
● mariadb.service - MariaDB 10.5.18 database server
Loaded: loaded (/usr/lib/systemd/system/./mariadb.service; disabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/mariadb.service.d
└─migrated-from-my.cnf-settings.conf
Active: activating (auto-restart) (Result: signal) since Thu 2022-11-24 17:42:32 UTC; 374ms ago
Docs: man:mariadbd(8)
systemd
Process: 3670 ExecStartPost=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Process: 3642 ExecStart=/usr/sbin/mariadbd $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=killed, signal=ABRT)
Process: 3610 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`cd /usr/bin/..; /usr/bin/galera_recovery`; [ $? -eq 0 ] && systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1 (code=exited, status=0/SUCCESS)
Process: 3607 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Main PID: 3642 (code=killed, signal=ABRT)
Status: "Taking your SQL requests now..."
Nov 24 17:42:32 server.isotonikstudios.com systemd[1]: Unit mariadb.service entered failed state.
Nov 24 17:42:32 server.isotonikstudios.com systemd[1]: mariadb.service failed.
I've tried many stop and starts on sql/Maria, I've tried removing and reinstalling Maria, I've tried removing log files, and resetting my.cnf
At this point I'm completely lost and don't know how to fire this server back up. There is plenty of space on the server
devtmpfs 7.9G 0 7.9G 0% /dev
tmpfs 7.9G 0 7.9G 0% /dev/shm
tmpfs 7.9G 749M 7.1G 10% /run
tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup
/dev/md2 28G 604M 27G 3% /
/dev/mapper/vg00-usr 20G 4.4G 15G 24% /usr
/dev/mapper/vg00-home 15G 25M 14G 1% /home
none 7.9G 0 7.9G 0% /tmp
/dev/mapper/vg00-var 311G 173G 127G 58% /var
tmpfs 1.6G 0 1.6G 0% /run/user/0
Any ideas?