Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-22-2003, 02:30 PM
Mutt's Avatar
Mutt Mutt is offline
 
Join Date: Nov 2001
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default corupt DB & reapir isn't working

My DB went to ++++. Reapir wouldn't work becaue the user tabel and template table were effected. I modified repair so that it doesn't require global.php and it was able to handle fixing those tables. Everything is squared away now except the post table. Normally if you run repair a couple times it will straighten it out, but not this time. I've gotten the identical error evey time I've run it.

Quote:
Checking table post
Table Operation Type Text
sfn2_com.post check warning Table is marked as crashed and last repair failed
sfn2_com.post check warning Size of indexfile is: 6439936 Should be: 5237760
sfn2_com.post check warning Size of datafile is: 50902104 Should be: 50870472
sfn2_com.post check error Found 131607 keys of 60786
sfn2_com.post check error Corrupt
Repairing table post
sfn2_com.post repair error 122 when fixing table
I know the answer is to resore from a backup, but I don't have a recent one. I even modified repair so you can set the table you want it to fix instead of fixing them all so It would just hammer the post table, but the error message and the numbers haven't changed at all.

are there other tools out there? Has anyone made other mods to repair that might help?

I've tried repairing post from phpmyadim, same error. I checked vb.com and found this

"Once mysql is shut down run this command in shell/telnet/ssh: myisamchk -r -u root -p sfn2_com"

and tried it, but myisamchk didn't recognize -u or -p. if I remove those options, it didn't find sfn2_com ?!?!?!? I think this might able to fix it if I could only get it working. If anyone has anysuggestions about running it, please let me know.

I don't want to lose my posts and I don't want the site to be down any longer. I'm desprately looking fro a solution

thanks in advance for any help or suggestions
Reply With Quote
  #2  
Old 03-22-2003, 02:33 PM
Dark_Wizard Dark_Wizard is offline
 
Join Date: Nov 2001
Location: North Carolina
Posts: 1,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Jeff....first off -u is for username and -p is for password and there shouldn't be a space in there...try it as -uusername and -ppassword. Is this hosted on your webserver or hosted elsewhere?
Reply With Quote
  #3  
Old 03-22-2003, 02:36 PM
Mutt's Avatar
Mutt Mutt is offline
 
Join Date: Nov 2001
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it looks like I have to be in the database dir or give the full path. I'm looking it up now and trying again. Thansk for the no space tip. I'll try it
Reply With Quote
  #4  
Old 03-22-2003, 02:37 PM
Dark_Wizard Dark_Wizard is offline
 
Join Date: Nov 2001
Location: North Carolina
Posts: 1,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you go on ICQ?
Reply With Quote
  #5  
Old 03-22-2003, 02:44 PM
Mutt's Avatar
Mutt Mutt is offline
 
Join Date: Nov 2001
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

don't have icq on my laptop, but thanks. I'm not at home
Reply With Quote
  #6  
Old 03-22-2003, 02:49 PM
Dark_Wizard Dark_Wizard is offline
 
Join Date: Nov 2001
Location: North Carolina
Posts: 1,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok...you still haven't answered as to whether or not this is on a hosted server or not. If you have access to the var directory you will find the mysql directory there..that is the default install location...
Reply With Quote
  #7  
Old 03-22-2003, 03:03 PM
Mutt's Avatar
Mutt Mutt is offline
 
Join Date: Nov 2001
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got it running. I've been tring for over a day. I come here and make a post and 5 min later if figure it out.

I had to cd to the dababase dir and run it.

i'm still gettin error 122. I've tried using the -f option.

it's a semi de server hosted elsewhere, but I have full access. yeah, I found it thanks
Reply With Quote
  #8  
Old 03-22-2003, 03:19 PM
Mutt's Avatar
Mutt Mutt is offline
 
Join Date: Nov 2001
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great googly moogly!!! I think it worked finally. it couldn't write the temp file, so I guessed that it was a lack of hard drive space and deleted a ton of photo albums and tried again. it went through! I just ran repair again and everything seems fine. I'm opening back up to see what I lost.

Dark wiazrd, thanks man.
Reply With Quote
  #9  
Old 03-22-2003, 03:20 PM
Dark_Wizard Dark_Wizard is offline
 
Join Date: Nov 2001
Location: North Carolina
Posts: 1,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you do a dump of that table and send it to me? I'll pm you my email addy
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 11:29 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.03734 seconds
  • Memory Usage 2,236KB
  • Queries Executed 13 (?)
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
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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_postinfo_query
  • fetch_postinfo
  • 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