Author Topic: Mysqld doesn't work. Message: [obfuscated](): (HY000/2002):  (Read 130 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Mysqld doesn't work. Message: [obfuscated](): (HY000/2002):
« on: September 12, 2017, 09:35:53 PM »

Hi

I have a fresh install of CWP7 in a Centos 7 VPS. I have only a wordpress install there.

Every day my blog is down, the mysql doesn't work. So I go to my centos panel, and I find this message:

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

After a few seconds the CWP works again and the wordpress run again.

Whats happen !!??


* In my Chkconfig manager I have only two services: netconsole, network.


Offline
***
Re: Mysqld doesn't work. Message: [obfuscated](): (HY000/2002):
« Reply #1 on: September 13, 2017, 08:47:50 AM »
in centos 7 you need to use systemd manager and NOT chkconfig.
For mysql issue you should check mysql logs in folder /var/lib/mysql/  filename is usually named as hostname.err

VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

Offline
*
Re: Mysqld doesn't work. Message: [obfuscated](): (HY000/2002):
« Reply #2 on: September 13, 2017, 02:52:11 PM »
in centos 7 you need to use systemd manager and NOT chkconfig.
For mysql issue you should check mysql logs in folder /var/lib/mysql/  filename is usually named as hostname.err

Thanks for your time studio4host, but there I have not any file .err

 :-\

Offline
*
Re: Mysqld doesn't work. Message: [obfuscated](): (HY000/2002):
« Reply #3 on: September 14, 2017, 07:26:55 AM »
then you need to check where your mysql logs are located and check there...you can also try to check /var/log/ or try to check if the logs are configured in configuration.
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: Mysqld doesn't work. Message: [obfuscated](): (HY000/2002):
« Reply #4 on: September 19, 2017, 02:10:50 PM »
How can I  check if the logs are configured in configuration ?

I don't find any log about mysql in /var/log/