vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   database error many messages,needed help. (realy need help) (https://vborg.vbsupport.ru/showthread.php?t=182628)

geevest.com 06-16-2008 06:51 AM

database error many messages,needed help. (realy need help)
 
hello,

i get many error from my database :
its the sample :

Quote:

Database error in vBulletin :

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
/home/zhazha/public_html/forum/includes/class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Monday, June 16th 2008 @ 03:17:01 AM
Error Date : Monday, June 16th 2008 @ 03:17:02 AM
Script : http://www.anakayam.us/forum/showthread.php?t=12887
Referrer : http://www.anakayam.us/forum/forumdi...er=desc&page=3
IP Address : 125.162.207.54
Username :
Classname : vB_Database
MySQL Version :
=================================
Database error in vBulletin 3.7.0:

Invalid SQL:

SELECT `userid`, `username`, `vbbank`, `vbbux`,
(`vbbank` + `vbbux`) AS totalpoints
FROM user
WHERE ((usergroupid != '5') AND (usergroupid != '7')) AND ((`vbbank` + `vbbux`) > 0)
ORDER BY totalpoints DESC
LIMIT 10;

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Monday, June 16th 2008 @ 03:16:50 AM
Error Date : Monday, June 16th 2008 @ 03:16:55 AM
Script : http://www.anakayam.us/forum/vbplaza.php
Referrer :
IP Address : 125.161.179.206
Username : jakarta
Classname : vB_Database
MySQL Version :
========================
Database error in vBulletin :

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
/home/zhazha/public_html/forum/includes/class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Monday, June 16th 2008 @ 03:17:03 AM
Error Date : Monday, June 16th 2008 @ 03:17:03 AM
Script : http://anakayam.us/forum/login.php?do=lostpw
Referrer : http://anakayam.us/forum/register.php?do=addmember
IP Address : 66.249.90.136
Username :
Classname : vB_Database
MySQL Version :
==============================


Dismounted 06-16-2008 07:21 AM

The error means that the MySQL daemon was down while a connection was trying to be established.

geevest.com 06-16-2008 09:36 AM

thats because my host or my vbulletin?

Dismounted 06-16-2008 12:32 PM

Your server.

geevest.com 06-18-2008 09:07 AM

i get this error message again :

Database error in vBulletin 3.7.0:

Invalid SQL:

UPDATE session
SET lastactivity = 1213782551, location = '/forum/forumdisplay.php?f=120', inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = '67396536c9a4cb42a379df8ac799ec7b';

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Wednesday, June 18th 2008 @ 05:49:11 AM
Error Date : Wednesday, June 18th 2008 @ 05:49:14 AM
Script : http://www.anakayam.us/forum/forumdisplay.php?f=120
Referrer : http://www.anakayam.us/forum/forumdisplay.php?f=2
IP Address : 125.163.91.150
Username : asbun
Classname : vB_Database
MySQL Version :
==========
Database error in vBulletin :

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
/home/zhazha/public_html/forum/includes/class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Wednesday, June 18th 2008 @ 05:49:17 AM
Error Date : Wednesday, June 18th 2008 @ 05:49:17 AM
Script : http://anakayam.us/forum/archive/index.php/f-91.html
Referrer : http://www.foolfind.com/search/cerit...esama-pria-gay
IP Address : 125.163.7.202
Username :
Classname : vB_Database
MySQL Version :
=============
Database error in vBulletin :

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
/home/zhazha/public_html/forum/includes/class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Wednesday, June 18th 2008 @ 05:49:18 AM
Error Date : Wednesday, June 18th 2008 @ 05:49:18 AM
Script : http://www.anakayam.us/forum/register.php?do=register
Referrer : http://www.anakayam.us/forum/register.php?do=checkdate
IP Address : 125.164.205.207
Username :
Classname : vB_Database
MySQL Version :
==========
Database error in vBulletin 3.7.0:

Invalid SQL:
SELECT COUNT(*) AS total FROM post_thanks WHERE userid = 21753 AND date > 1213696153;

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Wednesday, June 18th 2008 @ 05:49:13 AM
Error Date : Wednesday, June 18th 2008 @ 05:49:14 AM
Script : http://www.anakayam.us/forum/showthread.php?t=5350
Referrer : http://www.anakayam.us/forum/forumdi...=desc&page=125
IP Address : 125.162.57.251
Username : randang_darek
Classname : vB_Database
MySQL Version :
=========
Database error in vBulletin :

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
/home/zhazha/public_html/forum/includes/class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Wednesday, June 18th 2008 @ 05:49:16 AM
Error Date : Wednesday, June 18th 2008 @ 05:49:16 AM
Script : http://anakayam.us/forum/showthread.php?t=1686&page=2
Referrer : http://anakayam.us/forum/showthread.php?t=1686
IP Address : 210.245.52.35
Username :
Classname : vB_Database
MySQL Version :
=========

and my host support say : its because my vbulletin script.not my host.
what should i do to fixed this?

--------------- Added [DATE]1213783750[/DATE] at [TIME]1213783750[/TIME] ---------------

my support say like this :

Quote:

Hello,

It appears we were disconnected from our phone call.

Everything is running on your server. The error messages are normal and
indications that the server is continuing to run even though it is being taxed
severely by the software.

Thank you, I am still monitoring it.
but problem never solved.

Dismounted 06-18-2008 09:33 AM

It means your server cannot handle the load you are putting on it.

Marco van Herwaarden 06-18-2008 09:46 AM

When this happens, check the uptime of the mysql server.

geevest.com 06-19-2008 12:05 AM

im realy tired about this for 3months.my issue never fixed :(
my host support say :

Quote:

Hello again,


Thank you for verifying.


Your my.cnf file, which controls a lot of optimization settings for MySQL,
seems to match all but one of our recommended settings, for your type of
hardware. Originally, one of our monitoring techs lowered your max_connections
from 1500 to 500, but I've just noticed that wait_timeout is 28800 rather than
the suggested 30. You're welcome to have any settings you'd like, but this
difference will keep a lot of MySQL connections open if VB isn't coded to
close connections once it's finished with it's query.


I found that some of your forum tables are damaged which can cause extra
resources needed by MySQL to process the request. I'd like to stop MySQL, back
up the DB, and run a repair. The process shouldn't take more than 20 minutes.
When would be a good time to do this?


Aside from these minor corrections, I'm seeing no reasons why the server would
be responsible for the high load you're experiencing. In the midst of typing
this response, several php procs for user 'zhazha' were spawned from
/home/zhazha/public_html/forum/showtread.php and forumdisplay.php. After
killing the procs, your load went from 23 down to 4.15.


A majority of your HTTP connections are from Indonesian IPs, but none of them
have an odd number of connections. This leads me to believe your current
hardware and/or VBulletin isn't capable of handling your load demands. Because
I don't believe the above mentioned fixes won't make a large difference, you
may want to consider adding more memory, at the very least. Thanks!
Quote:

Hello again,


I'm afraid that's something I can't promise. The problem is that your server
isn't handling the load very well, the load is either from the number of
connections, VB not handling so many requests at once, or a combination of the
two. It's possible you may need a better hardware upgrade if you want to
continue to handle this amount of traffic, or adding another GB or two may be
all you need. I'd recommend addressing my earlier suggestions before making
any hardware-related changes, however.

Thanks!
i take dedicated server for this.
so until now my issue never fixed.what should i do for this friend?
i really need ur help for this.
well thank you very much,i hope my problem solved in here.

Dismounted 06-19-2008 07:19 AM

vBulletin can handle many, many users at once. It is most likely that your server is being hammered with requests. Run the command top in SSH and see which process is the first.

geevest.com 06-20-2008 07:40 AM

until now i get database error in my site :

Database error in vBulletin :

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11)
/home/zhazha/public_html/forum/includes/class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Friday, June 20th 2008 @ 04:22:52 AM
Error Date : Friday, June 20th 2008 @ 04:23:01 AM
Script : http://www.anakayam.us/forum/showthread.php?t=3504
Referrer : http://www.anakayam.us/forum/forumdisplay.php?f=19
IP Address : 125.162.244.38
Username :
Classname : vB_Database
MySQL Version :

i dont know about my hosting never solved my issue.


All times are GMT. The time now is 06:32 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01123 seconds
  • Memory Usage 1,777KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete