• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue HELP: Plesk repair no such file or directory

boosterfan

Basic Pleskian
Hello guys, we need your help.

We can not access plesk.
Server Error
500
Zend_Db_Adapter_Exception
SQLSTATE[HY000] [2002] No such file or directory

Type Zend_Db_Adapter_Exception
Message SQLSTATE[HY000] [2002] No such file or directory
File Abstract.php
Line 144


But plesk repair does not work also..

plesk repair leads to "SQLSTATE [HY000] [2002] No such file or directory"

We can not start database server, mail server is working...

What can we do??? We need your help....
 
Hello guys, we need your help.

We can not access plesk.
Server Error
500
Zend_Db_Adapter_Exception
SQLSTATE[HY000] [2002] No such file or directory

Type Zend_Db_Adapter_Exception
Message SQLSTATE[HY000] [2002] No such file or directory
File Abstract.php
Line 144


But plesk repair does not work also..

plesk repair leads to "SQLSTATE [HY000] [2002] No such file or directory"

We can not start database server, mail server is working...

What can we do??? We need your help....


Hello boosterfan.

You can rely on this thread to find a solution to your problem.

Question - Server Error 500 Zend_Db_Adapter_Exception SQLSTATE[HY000] [2002] No such file or directory

a greeting
 
One resolution has something to do with the "/etc/my.cnf"

But: the file is empty in my case... How can i restore files directories of plesk ... ?
 
  1. Connect to the server via SSH.
  2. Find and comment out the following lines in /etc/mysql/my.cnf:
    Code:
    log_bin = /var/log/mysql/mariadb-bin 
    log_bin_index = /var/log/mysql/mariadb-bin.inde 
    log_slow_verbosity = query_plan

  3. Start MySQL:
    Code:
    # systemctl start mysql
 
Please reply the outout of:
Code:
service mysqld status
Code:
service mariadb status
Code:
mysql -V


I will assist you with you issue to slove it.
 
It's to login to the database:

Code:
cat /etc/psa/.psa.shadow

MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -uadmin psa
 
It is automatically set by the system when installing / configuring the database service. It will be installed together with Plesk on the system.
 
How can i disable the plesk firewall? Each command i try i get error messages, but i can not access ssh so firewall is active...
 
Your admin password is your admin password, and the password for the database is for the database.

These are to different things....
 
Back
Top