Author Topic: MySQL error (MySQL server has gone away) on restart  (Read 17133 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
MySQL error (MySQL server has gone away) on restart
« on: November 18, 2015, 02:36:08 AM »
Can somebody know how to fix this error? Allways shown when I restart the MySQL Database Server...

Warning: Error while sending SET_OPTION packet. PID=25107 in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php(1) : eval()'d code(1) : eval()'d code on line 5
MySQL server has gone away
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php(1) : eval()'d code(1) : eval()'d code on line 5

Offline
**
Re: MySQL error (MySQL server has gone away) on restart
« Reply #1 on: November 18, 2015, 10:10:28 AM »
In which page of CWP the error shows up? Is it the login page of CWP? If so you can try using this command : chkconfig mysqld on


Thanks...

Offline
*
Re: MySQL error (MySQL server has gone away) on restart
« Reply #2 on: November 19, 2015, 01:13:33 AM »
No, shown up on the Dashboard of the CWP when I restart the MySQL Database Server... I already tried out this "chkconfig mysqld on" command too, but still have that problem...

Offline
*
Re: MySQL error (MySQL server has gone away) on restart
« Reply #3 on: December 04, 2015, 08:06:37 AM »
I've noticed the same problem while restarting the Mysqld service from the control panel. When i restart from command line, this problem is not reported. Anyway in the error messages it shows it's related to cwpsrv.

Offline
**
Re: MySQL error (MySQL server has gone away) on restart
« Reply #4 on: December 04, 2015, 02:17:59 PM »
Maybe a CWP reinstall will solve that.

Offline
*
Re: MySQL error (MySQL server has gone away) on restart
« Reply #5 on: December 06, 2015, 05:41:49 PM »
Maybe a CWP reinstall will solve that.

No it's not a problem that will go away with a reinstall. I've installed two more new servers and they exhibit the same error.

Offline
*
Re: MySQL error (MySQL server has gone away) on restart
« Reply #6 on: December 18, 2015, 07:01:00 AM »
Look's it is a bug...

Offline
*****
Re: MySQL error (MySQL server has gone away) on restart
« Reply #7 on: January 07, 2016, 06:17:38 AM »
Hello.

"this is normal since mysql is needed for CWP, you can restart it from command line." ©
http://forum.centos-webpanel.com/mysql/error-message-when-restarting-mysql/
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: MySQL error (MySQL server has gone away) on restart
« Reply #8 on: January 29, 2016, 08:04:56 AM »
This happened to my servers as well. Some of my client's websites stop working because of the database did not return any data from server. Before this, all these are working just fine.

Anyone got clue about this issue?

Offline
**
Re: MySQL error (MySQL server has gone away) on restart
« Reply #9 on: January 29, 2016, 11:41:05 PM »
Just ignore that error, it's normal and there is nothing else to do, once you have stoped mysql you have stoped mysql also in CWP that's why you get that error :)