Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-17-2009, 04:42 AM
khininger khininger is offline
 
Join Date: Aug 2009
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Admin account became guest during database error

Hello,

Our forum was experiencing some database errors and during this time period an Admin logged out.
That Admin account is now listed as "guest" on all posts and is not listed elsewhere on forums.
It is as if the account was deleted but there is nothing in the logs showing this account was deleted.
A database repair was ran.
I have no idea what to do now.

The glitches we were experiencing when this occured were error messages claiming this Admin was an invalid user when another member tried to p.m., many threads temporarily dissapeared and users were being logged out.

Really appreciate any help offered!
Reply With Quote
  #2  
Old 09-17-2009, 09:15 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Without the full error message we can only guess.
Reply With Quote
  #3  
Old 09-17-2009, 12:21 PM
khininger khininger is offline
 
Join Date: Aug 2009
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Astericks added /editted by me.

Database error in vBulletin 3.8.0:

Invalid SQL:

REPLACE INTO threadread
(threadid, userid, readtime)
VALUES
(5633, 668, 1252354877);

MySQL Error : Duplicate entry '1252354877' for key 2
Error Number : 1062
Request Date : Thursday, September 17th 2009 @ 03:00:37 AM
Error Date : Thursday, September 17th 2009 @ 03:00:37 AM
Script : http://www.fortrefuge.com/forum/showthread.php?t=5633
Referrer : http://www.fortrefuge.com/forum/online.php
IP Address : **.175.77.47
Username : Jenny
Classname : vb_database
MySQL Version :

This is Admin deleted:

Database error in vBulletin 3.8.0:

Invalid SQL:
INSERT INTO pmtext
(fromuserid, fromusername, title, message, iconid, dateline, showsignature, allowsmilie, touserarray)
VALUES
(2, 'Lala', 'Re: Need password to chat', 'You dont need a password to chat except the password that parachat emails you.\r\nYou register with parachat at the top of the \"support page\". In main website. YOu can get there by clicking Chatrooms at top of forums.\r\n\r\nLala\r\n\r\n\r\n\r\n
Quote:
Originally Posted by S*ftsecrets
Lala,\r\nI need a password to chat. Can you help? The message said one would be sent to me, but I haven\'t received one yet.
', 0, 1253156981, 0, 1, 'a:1:{s:2:\"cc\";a:1:{i:847;s:11:\"S*ftsecrets\";} }');

MySQL Error : Duplicate entry '5052' for key 1
Error Number : 1062
Request Date : Thursday, September 17th 2009 @ 03:09:41 AM
Error Date : Thursday, September 17th 2009 @ 03:09:42 AM
Script : http://www.fortrefuge.com/forum/priv...rtpm&pmid=9504
Referrer : http://www.fortrefuge.com/forum/priv...owpm&pmid=9504
IP Address : ***.39.228.68
Username : Lala
Classname : vb_database
MySQL Version : 4.1.14

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

This came up on database repair:

user Check Warning: Size of datafile is: 112336 Should be: 108868 user Check Error: Wrong bytesec: 0-0-0 at linkstart: 108868 user Check Error: Corrupt
Reply With Quote
  #4  
Old 09-17-2009, 01:08 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have a prior backup of the DB before this issue?

If not, you can try a repair via the cmd line.
change to directory of your db and run the following below.
myisamchk -o -f *

If this is a winblows server, you will need to install the sql command line client and do the above via it.
Reply With Quote
  #5  
Old 09-21-2009, 07:42 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If there is too much corruption, then restoring a backup would be a good solution.

If it is only the original error message then please see Duplicate entry 'XXX'
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:23 PM.


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.05683 seconds
  • Memory Usage 2,197KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete