Author Topic: Warning: [obfuscated](): (HY000/2002): No such file or directory in ...  (Read 7593 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Hi

I have a big error with my website. It is a wordpress with woocommerce, and normally it runs ok, but sometimes it is down and when I go to CWP I read:

Code: [Select]
Warning: [obfuscated](): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: [obfuscated](): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0


Trying to start mysql server, please wait!
Try to restart CentOS Web Panel with command: service cwpsrv restart

**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf

I refresh, and it disappeared and the website is up automatically.  :-\ 

How can I fix it?
Where can I see my mysql log in CW7? I have not the a .error log in /var/lib/mysql
« Last Edit: November 07, 2017, 12:08:47 PM by edur »

Offline
*
Re: Warning: [obfuscated](): (HY000/2002): No such file or directory in ...
« Reply #1 on: November 13, 2017, 01:31:58 PM »
Today it's repteated

 :-\

Code: [Select]
Warning: [obfuscated](): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: [obfuscated](): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0


Trying to start mysql server, please wait!
Try to restart CentOS Web Panel with command: sh /scripts/restart_cwpsrv

**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf


Warning: [obfuscated]() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Could not connect:


Offline
*
Re: Warning: [obfuscated](): (HY000/2002): No such file or directory in ...
« Reply #2 on: November 14, 2017, 12:14:41 PM »
you need to locate mysql logs to check this issue, try /var/lib/mysql and /var/log

also try checking /var/log/messages as you maybe can find something interesting there :)
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.