Plesk not loading

 

PleskFatalException: Unable to connect to database: mysql_connect(): No such file or directory (auth.php:142)

ERROR: PleskDBException: Unable to connect to database: mysql_connect(): Connection refused /var/lib/mysql/mysql.sock (Error code: 2002). Please check that database server is started and accessible. (Abstract.php:69)

Server Error 502 Bad Gateway

Plesk and its components do not operate properly, when there is no free disk space or the inodes limit has been reached on the root partition (or tmp partition if separated):

# df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 500G 500G 200K 100% /

The server lacks disk space or inodes. This prevents Plesk services from writing to the disk.

The recommended way is to increase the disk space of the server and resize partitioning.

Alternatively, try this:

  1. Free up disk space by removing unnecessary files from the server
  2. If possible, attach a Network File System (NFS) and move Plesk data there.

Comments