Previous Thread
Next Thread
Print Thread
Hop To
Page 1 of 3 1 2 3
#173127 01/11/2007 7:03 PM
Joined: Jun 2006
Posts: 3,837
I
Ian
Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
Quote
We encountered a problem. The reason reported was
Script: /var/path/forums/scripts/cfrm.inc.php
Line#: 333
SQL Error: Can't open file: 'ubbt_POSTS.MYI' (errno: 145)
SQL Error #: 1016
Query: select COUNT(*) as posts, sum(t1.POST_IS_TOPIC) as topics from ubbt_POSTS as t1, ubbt_TOPICS as t2 where t2.FORUM_ID = 45 and t1.TOPIC_ID = t2.TOPIC_ID and t1.POST_IS_APPROVED = '1' and t1.POST_POSTED_TIME > 1167693637

Please use your back button to return to the previous page.


Any thoughts?

Ian #173129 01/11/2007 7:25 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
errno: 145 is a corrupt table. You'll want to run the following SQL command:

REPAIR TABLE ubbt_POSTS

Last edited by Rick; 01/11/2007 7:46 PM. Reason: because I can't spell
Rick #173130 01/11/2007 7:38 PM
Joined: Jan 2007
Posts: 6
R
stranger
stranger
R Offline
Joined: Jan 2007
Posts: 6
yes except remember to put an I in the repair...

RichieRich #173131 01/11/2007 7:46 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Oopsie blush Edited my post wink

Rick #173132 01/11/2007 7:59 PM
Joined: Jun 2006
Posts: 3,837
I
Ian
Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
trying that - no luck so far frown

Ian #173133 01/11/2007 8:10 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Do you get any info back when you run the command?

Rick #173153 01/12/2007 12:06 AM
Joined: Jul 2006
Posts: 51
journeyman
journeyman
Joined: Jul 2006
Posts: 51
If you have shell access:
myisamchk -r ubbt_POSTS.MYI

Rick #173158 01/12/2007 12:15 AM
Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
@Rick

Didn't you make a change to one of the cache tables or something like that in 7.1b?? for similar issue?

Rick #173173 01/12/2007 2:22 AM
Joined: Jun 2006
Posts: 3,837
I
Ian
Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
Originally Posted by Rick
Do you get any info back when you run the command?


no just times out in phphmyadmin frown

Ian #173175 01/12/2007 3:12 AM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
You should run commands through the command line; the php script (phpmyadmin) likely times out because your tables are so large.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #173177 01/12/2007 5:40 AM
Joined: Jun 2006
Posts: 3,837
I
Ian
Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
I would if I knew the syntax LOL

I am now throwing money at it, in the vain hope of getting them back up.....

Not looking to good at the moment....

frown

Ian #173201 01/12/2007 11:53 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Looks like You're back up now. Were you able to get this fixed yourself or did your host need to do it?

Rick #173325 01/13/2007 12:57 AM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Yes, i'm quite curious how it got fixed as well as repair didnt seem to do much...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #173327 01/13/2007 12:59 AM
Joined: Jun 2006
Posts: 3,837
I
Ian
Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
just a case of keep repairing.... Fixed the posts, but then other tables were also corupted.

Ian #173333 01/13/2007 1:06 AM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Ahh, did you use my sugguestion of not using phpmyadmin to repair tables? lol


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #173338 01/13/2007 1:14 AM
Joined: Jun 2006
Posts: 3,837
I
Ian
Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
after I tried....

Ian #173342 01/13/2007 1:17 AM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
lol, and did it work better? wink


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #173345 01/13/2007 1:18 AM
Joined: Jun 2006
Posts: 3,837
I
Ian
Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
nah - only after I took down mysql and had all my clients calling me here in Hong Kong saying their email was down....

Ian #173347 01/13/2007 1:19 AM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
expensive calls to whine wink... I hope they weren't calling your uk #...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #173348 01/13/2007 1:22 AM
Joined: Jun 2006
Posts: 3,837
I
Ian
Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
yep... my mobile... (cell to you)

Ian #173349 01/13/2007 1:28 AM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
'eh you sent me a list of a ton of numbers, i looked at them and shrugged lol


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #173352 01/13/2007 1:32 AM
Joined: Jun 2006
Posts: 3,837
I
Ian
Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
hehe - my washington number would work for you wink Will either end up on my PC as VOIP or divert to my mobile....

Ian #173356 01/13/2007 1:51 AM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
I always love when peopel talk about Washington, generally they referr to Washington DC, but with Washington (state) being above me I sometimes get confused wink...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Ian #173383 01/13/2007 11:57 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
If multiple tables were corrupted it definitely sounds like an issue that could be trouble. Single table corruption can happen, but when it's multiple tables this points to a larger problem.

Rick #173393 01/13/2007 2:59 PM
Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
I hope this never happens to me! smile

What would, or could, cause such a problem?

Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
Poor slow hardware normally. If it tries to do a read and can't get a response it's not too bad, but if it can't write because it's too busy or too slow then you have problems.

There are thousands of MySQL databases out in the World and Business running very large sites with no problems.

Wikipedia which is big runs on MySQL

ntdoc #173402 01/13/2007 4:30 PM
Joined: Jun 2006
Posts: 3,837
I
Ian
Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
certainly not poor slow hardware - thank you! mad

Ian #173406 01/13/2007 4:32 PM
Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
Not trying to anger you or step on your toes but slow hardware most certainly can cause corruption. There are certainly other things that can cause it though.

ntdoc #173408 01/13/2007 4:35 PM
Joined: Jun 2006
Posts: 3,837
I
Ian
Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
I think initially looking at the error log it was just the massive posts table - then the users table became corrupted once the posts had been fixed.

Ian #173414 01/13/2007 4:47 PM
Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
Sorry Ian, I was only replying to Daryl's question, not meaning your db issue. blush

ntdoc #173415 01/13/2007 4:49 PM
Joined: Jun 2006
Posts: 3,837
I
Ian
Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
oops - my apologies - it is 04:30 here and I have a plane to catch, so I will use that as my excuse wink


Ian #173418 01/13/2007 7:31 PM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
You know, I've been logged into his server all night checking sar often; the iowait isn't half bad so it's likely not a hw issue; though he does have occasional spikes...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #173608 01/15/2007 10:12 AM
Joined: Jun 2006
Posts: 3,837
I
Ian
Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
table has corrupted again...

frown

Ian #173610 01/15/2007 10:36 AM
Joined: Jun 2006
Posts: 3,837
I
Ian
Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
trying to repair from database tools within threads frown

Ian #173612 01/15/2007 11:20 AM
Joined: Jun 2006
Posts: 3,837
I
Ian
Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
not sure how long one table takes - but it is a good 45 minutes so far frown

Ian #173613 01/15/2007 11:23 AM
Joined: Jun 2006
Posts: 3,837
I
Ian
Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
timed out frown

I am walking away from this now...

Ian #173614 01/15/2007 11:49 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Which table is it this time, the posts table or the topics table?

Rick #173619 01/15/2007 12:05 PM
Joined: Jun 2006
Posts: 3,837
I
Ian
Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
posts again

Ian #173620 01/15/2007 12:18 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Hmm, what version of MySQL are you currently running? There are certain versions that are more prone to corruption than others and since the posts table is actually written to less often in this version than prior versions there is definitely something funky going on.

You might try and check the uptime of MySQL to see how long it's actually been running, possibly stopped and restarted during a write? It could be anything like memory, cpu or a hard drive issue.

One thing, make sure you close your forums while trying to repair it. Since it's the post table it can take awhile because it is one of the larger tables. But if your forum is still open while working on it, it can actually corrupt it further.

Rick #173622 01/15/2007 12:23 PM
Joined: Jun 2006
Posts: 3,837
I
Ian
Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
I think the forums were closed, and still are.

repaired the table - can't reach the site though.

getting no mysql errors in the logs for the site.

Page 1 of 3 1 2 3

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
2 members (Nightcrawler, Ruben), 694 guests, and 214 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)