• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx

  • We are developing a new feature in Plesk that will help you promote your websites or business on social media. We want to conduct a one-hour online UX test to present the prototype and collect feedback. If you are interested in the feature, please book a meeting via this link.
    Thank you in advance!
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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