interpret consistency check error [message #22714] |
Fri, 11 February 2005 18:55 |
WilliamBurns
Messages: 123 Registered: March 2004 Location: San Jose, CA
Karma: 0
|
Senior Member |
|
|
I seem to have run into a wall in terms of server capacity to run mysql. My site seems to hang up, and the techs tell me it is because mysql is hogging capacity and power. So....
I got in as administrator and "compacted the messages" in case that would help. Then I ran the consistency check, and I received the following response (and it left my browser in a weird state, unable to scroll upward on the page. The following is from the page source):
...
<b>Checking threads against messages</b><br />
(/usr/local/forumdata/include/theme/default/db.inc:118<br />
/usr/local/etc/httpd/htdocs/wforum/adm/consist.php:192<br />
) 1: Can't create/write to file '/var/tmp/#sql15c90_1a7b9_0.MYD' (Errcode: 24)<br />
Query: SELECT m.thread_id, t.id, count(*) as cnt FROM fud261_thread t LEFT JOIN fud261_msg m ON t.id=m.thread_id WHERE m.apr=1 GROUP BY m.thread_id,t.id ORDER BY cnt<br />
Server Version: 3.23.58<br />
[Referring Page] http://www.rpinet.com/wforum/adm/consist.php?rid=2&S=1b444ff7b2bd386a2a 763f9cb96aa2df&SQ=f5de4e491e6960f1ecb005196305fa99<br />
...
What does it mean, and, more important, what do I do?
Impatient cuss that I am, I went ahead and attempted to repeat the check, this time getting:
<b>Checking threads against messages</b><br />
(/usr/local/forumdata/include/theme/default/db.inc:118<br />
/usr/local/etc/httpd/htdocs/wforum/adm/consist.php:192<br />
) 1: Can't create/write to file '/var/tmp/#sql15c90_1a7b9_0.MYD' (Errcode: 24)<br />
Query: SELECT m.thread_id, t.id, count(*) as cnt FROM fud261_thread t LEFT JOIN fud261_msg m ON t.id=m.thread_id WHERE m.apr=1 GROUP BY m.thread_id,t.id ORDER BY cnt<br />
Server Version: 3.23.58<br />
[Referring Page] http://www.rpinet.com/wforum/adm/consist.php?rid=2&S=1b444ff7b2bd386a2a 763f9cb96aa2df&SQ=f5de4e491e6960f1ecb005196305fa99<br />
Again, what does it mean, and, more important, what do I do?
[Updated on: Fri, 11 February 2005 19:17] Report message to a moderator
|
|
|
Re: interpret consistency check error [message #22717 is a reply to message #22714] |
Fri, 11 February 2005 20:34 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
What you are seeing is an SQL error, that occured because temporary table could not be created or the place holder for temporary tables run out of space.
FUDforum Core Developer
|
|
|
|
Re: interpret consistency check error [message #22727 is a reply to message #22718] |
Sat, 12 February 2005 20:27 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You need to get the consistency checker to run to completion. Forum creates all sorts of caches, absense of those can result in the problems you are experiencing. Also make sure that your forum's SQL tables are not corrupt, if they REPAIR command can be used to fix them.
FUDforum Core Developer
|
|
|
|
|
|
Re: interpret consistency check error [message #22770 is a reply to message #22764] |
Tue, 15 February 2005 15:02 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You can repair tables via mysql rather then having to run commands.
For example try and repair the fud261_forum.MYD brokeness, you would run "REPAIR fud261_forum" command.
FUDforum Core Developer
|
|
|
|
|