• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Resolved Plesk won't start mariadb

Sysop

Basic Pleskian
We had a problem on our server and all the free space got used up, which caused mariadb to stop.

After freeing up the space and trying to access the Plesk Panel we are presented with:
Code:
DB query failed: SQLSTATE[HY000] [2002] No such file or directory
Trying to restart the mariadb process ends in a "Gateway Timeout"

Trying from the command-line:
Code:
$ systemctl enable mariadb
$ systemctl start mariadb
... hangs and does nothing ...
Checking with journal -xe:
Code:
systemd[1]: Got notification message from PID 12472, but reception only permitted for main PID which is currently not known
Attempting to repair:
Code:
$ plesk repair db -y
DB query failed: SQLSTATE[HY000] [2002] Connection refused
Trying to go one step further:
Code:
$ plesk repair installation
DB query failed: SQLSTATE[HY000] [2002] No such file or directory

We're dead in the water it seems, what now? Thanks
 
What kind of error messages in /var/log/mariadb/mariadb.log ?
 
I ended up killing the "mysql" process and restarting the service after that. For whatever reason the root user for the db was lost somehow. I had to re-create the user and did the repair installation again. It seems to be working fine now.

I would say that maybe the support document regarding this error could be updated with more information as to why it happens and how to resolve the problem perhaps, thanks.
 
Back
Top