ERROR: Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] No such file or directory

I try to open my Plesk admin panel. Now I get the following error code:

ERROR: Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] No such file or directory

Can anybody tell me how to fix this issue?

codenovae's picture

Disk space is full

This error shows up when the disk space at your server harddrive is full. You need to delete files there to free the disk space. After this, you need to restart the system so that also MySQL will be restarted.

df -h /var/tmp

Filesystem      Size  Used Avail Use% Mounted on
/dev/md2        222G  218G     0 100% /

With this, you can check the available harddrive space. In this case, you can see that only a few GB's are left. It is no wonder that the system crashes like this.

df -i /var/tmp
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/md2 3664280 3905491 0 100% /

With this, you can see the available disk space.

 

Vote the answer: 
0
No votes yet