vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   forum down!!!!! need help! (https://vborg.vbsupport.ru/showthread.php?t=146708)

cigrafix 05-08-2007 02:34 AM

forum down!!!!! need help!
 
i get this error! I dont know what it is!

Database error in vBulletin :

mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
/home/turboop/public_html/forum/includes/class_core.php on line 273

d8tabyte 05-08-2007 02:51 AM

Disable all hacks via config.php ( I don't know if it was a hack or 3.6.4, but I have an option in my vbulletin options to disable the plugins and hooks system) and see if the issue still occurs. If it does, upload all core files again.

Eikinskjaldi 05-08-2007 04:07 AM

This error means your mysql server has died (or been turned off on purpose), alternatively there is the faint possibility that the mysql.sock file was deleted, which is, in fact, worse.

No amount of disabling hacks or reloading php is going to help with this.

Approaches to fixing the problem depend on whether you have root access to your system and/or root access to your database and/or ssh/commadline access to your system.

cigrafix 05-08-2007 12:05 PM

weird thing is it came back online about 15 minutes after I posted this! can anyone tell me anything about this! has anyone had this happen before?

WetWired 05-08-2007 12:41 PM

As already stated, your mysql server was probably down. If your site is on any kind of managed server or especially a shared server, the admins should have recieved notice and restarted it.

Eikinskjaldi 05-09-2007 12:12 AM

Alternatively, if you are running cpanel and have chkservd configured appropriately, it will ping mysql every 5 minutes and attempt to restart it if it is not running.

If you have some kind of automated package manager installed and configured, such as yum for redhat, then every now and then a package will be updated that requires a mysql restart.

If it happens once a month or so then its probably nothing to worry about. If it's happening more frequently than that then your system has a problem, the diagnosis of which depends on the variables I mentioned above.


All times are GMT. The time now is 01:07 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.01191 seconds
  • Memory Usage 1,714KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete