• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Resolved 500 Plesk\Exception\Database

StefanoSudati

New Pleskian
Hi All
Big problem :(

DB query failed: SQLSTATE[HY000] [2002] No such file or directory
TypePlesk\Exception\Database
MessageDB query failed: SQLSTATE[HY000] [2002] No such file or directory
FileMysql.php
Line64


SSH

# plesk db

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
exit status 1

# service mariadb status -l

● mariadb.service - MariaDB 10.3.27 database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
Active: deactivating (final-sigterm) (Result: exit-code)
Docs: man:mysqld(8)
systemd
Process: 3522 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
Process: 3523 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Process: 3525 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, s
Process: 3587 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, status=1/FAILURE)
Main PID: 3587 (code=exited, status=1/FAILURE)
Status: "MariaDB server is down"
Tasks: 3 (limit: 1144)
Memory: 76.0M
CGroup: /system.slice/mariadb.service
└─777 /usr/sbin/mysqld

Jan 15 13:21:38 cloud.xxx.com systemd[1]: Starting MariaDB 10.3.27 database server...
Jan 15 13:21:38 cloud.xxx.com systemd[1]: mariadb.service: Found left-over process 777 (mysqld) in control group while starting unit. Ignoring.
Jan 15 13:21:38 cloud.xxx.com systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Jan 15 13:21:38 cloud.xxx.com mysqld[3587]: 2021-01-15 13:21:38 0 [Note] /usr/sbin/mysqld (mysqld 10.3.27-MariaDB-0+deb10u1) starting as process 3587 ...
Jan 15 13:21:38 cloud.xxx.com mysqld[3587]: 2021-01-15 13:21:38 0 [Warning] Could not increase number of max_open_files to more than 16384 (request: 32183)
Jan 15 13:22:15 cloud.xxx.com systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
Jan 15 13:37:15 cloud.xxx.com systemd[1]: mariadb.service: State 'stop-sigterm' timed out. Skipping SIGKILL.


What can i do?
 
Last edited:
I am sorry to bother u but I have a problem with plesk and I cannot have access to server. I would appreciate your help if u can help me.
The problem discribed here :
MySQL fails to start when a Plesk server lacks disk space: SQLSTATE[HY000] No space left on device 500 Plesk\Exception\Database
But I dont know what to do to fix it.
 
Back
Top