• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved MariaDB suddenly broken (CentOs7)

wakabayashi

New Pleskian
Hello! Since yesterday our MariaDB is no more working on my Server. I haven't make any change at all.

Plesk Login states:
Code:
DB query failed: SQLSTATE[HY000] [2002] Connection refused

When using the Repair Kit it states that MariaDB Service "stopped". Using "Restart Processes" button makes it to green, but it's not really working. After refreshing the same problem exits. What could be the issue?

My server knowledge is limited, but here are at least some informations that might be needed for help.
Plesk: Plesk Obsidian 18.0.42.1
OS version: centos-release-7-9.2009.1.el7.centos.x86_64
MariaDB: mariadb Ver 15.1 Distrib 10.5.15-MariaDB, for Linux (x86_64) using readline 5.1


# service mysql status

Code:
Redirecting to /bin/systemctl status mysql.service
● mariadb.service - MariaDB 10.5.15 database server
   Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/mariadb.service.d
           └─migrated-from-my.cnf-settings.conf
   Active: activating (auto-restart) (Result: signal) since Sat 2022-04-16 10:13:51 CEST; 1s ago
     Docs: man:mariadbd(8)
           https://mariadb.com/kb/en/library/systemd/
  Process: 4317 ExecStartPost=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
  Process: 4289 ExecStart=/usr/sbin/mariadbd $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=killed, signal=ABRT)
  Process: 4275 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: 4273 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
 Main PID: 4289 (code=killed, signal=ABRT)
   Status: "Taking your SQL requests now..."

Apr 16 10:13:51 plesk.spielezar.ch systemd[1]: Unit mariadb.service entered failed state.
Apr 16 10:13:51 plesk.spielezar.ch systemd[1]: mariadb.service failed.

I tried already:
  • systemctl restart mariadb
  • systemctl start mariadb

Thanks for any help!
 
Try running systemctl start mariadb again and look run journalctl -xn afterwards for more details why mariadb failed.
 
Thanks for your anwer! Unfortunately the Database turned out to be corrupted. There was no other way than to use a backup and reset things.
 
Back
Top