Author Topic: Another bug detected on a fresh install  (Read 7878 times)

0 Members and 1 Guest are viewing this topic.

Offline
**
Another bug detected on a fresh install
« on: October 21, 2015, 10:16:41 AM »
After a Fresh CentOS 6.7 Install and a fresh latest CWP 0.9.8.9 install I am facing this error on CWP login each time I reboot my server :

Warning: mysql_connect(): No such file or directory in /usr/local/cwpsrv/htdocs/admin/index.php(1) : eval()'d code(1) : eval()'d code on line 2
mysqld (pid 1136) is running...

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

Could not connect: No such file or directory


After I get this if I wait a couple of seconds the page reloads and then brings back the normal CentOS Login Panel. It happens just only once after each reboot. Then everything becomes fine. Just wondering where the error could be.

CWP admins please help me solve this error. Or if it is a bug then please fix it in the nxt release.


Thanks in advance...

Offline
*
Re: Another bug detected on a fresh install
« Reply #1 on: October 21, 2015, 07:27:28 PM »
looks like you have some different version of mysql ?

This error means that mysql is NOT started on the server boot.
You should check in the CWP.admin --> Chkconfig and there enable automatic startup of your mysql.
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: Another bug detected on a fresh install
« Reply #2 on: October 21, 2015, 09:16:01 PM »
Thanks that solved the problem.