Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: May 2001
Posts: 77
JJS
Offline
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 77
About once a week or so, we end up with a MYSQL error that crashes the forum. It is embarrassing to have these frequent crashes and time consuming to have to go in a repair the tables which is the only thing that puts us back in business.

The current version of MYSQL is 4.07 gamma-NT. The Box is Small Business Server 2000 Service Pack III. Threads 6.2 (we had the same problem with Threads 6.1)

Here is what the MYSQL error log says at the time of the the crash occurs:

Thu, Jan 16 2003 17:06:18 -0800 /forum/index.php SEAHAWK
Unable to do_query: UPDATE w3t_Users SET U_Laston = 1042765578, U_TempRead = '' WHERE U_Username = 'SEAHAWK' AND U_Laston < (1042765578 - 14300) - Got error 127 from table handler

Thu, Jan 16 2003 17:07:36 -0800 /forum/ubbthreads.php 63.197.185.213
Unable to do_query: SELECT U_FrontPage, U_Groups, U_TimeOffset,U_Display,U_Favorites,U_WhichForums,U_Categories,U_Username,U_Password,U_SessionId, U_StyleSheet, U_Status, U_Privates, U_FrontPage, U_Number FROM w3t_Users WHERE U_Number = '2' - Can't open file: 'w3t_users.MYD'. (errno: 145)

Thu, Jan 16 2003 17:07:36 -0800 /forum/ubbthreads.php 63.197.185.213
Unable to do_query: SELECT t1.Mod_Board,t1.Mod_Uid,t2.U_Username FROM w3t_Moderators AS t1, w3t_Users AS t2 WHERE t1.Mod_Uid = t2.U_Number - Can't open file: 'w3t_users.MYD'. (errno: 145)

Thu, Jan 16 2003 17:07:36 -0800 /forum/ubbthreads.php 63.197.185.213
Unable to do_query: SELECT COUNT(*) FROM w3t_Users WHERE U_Approved='yes' - Can't open file: 'w3t_users.MYD'. (errno: 145)

Thu, Jan 16 2003 17:07:36 -0800 /forum/ubbthreads.php 63.197.185.213
Unable to do_query: SELECT U_Username,U_Number FROM w3t_Users WHERE U_Approved='yes' ORDER BY U_Number DESC LIMIT 0,1 - Can't open file: 'w3t_users.MYD'. (errno: 145)

Thu, Jan 16 2003 17:07:36 -0800 /forum/ubbthreads.php 63.197.185.213
Unable to do_query: SELECT t1.Bo_Title,t1.Bo_Description,t1.Bo_Keyword,t1.Bo_Total,t1.Bo_Last,t1.Bo_Number,t1.Bo_Moderated, t1.Bo_Read_Perm,t1.Bo_Write_Perm,t1.Bo_Threads,t1.Bo_Sorter,t1.Bo_Posterid,t1.Bo_LastMain, t1.Bo_LastNumber,t2.U_Username,t3.B_Subject,t3.B_Icon,t3.B_Reged,t3.B_AnonName FROM w3t_Boards AS t1 LEFT JOIN w3t_Users AS t2 ON t1.Bo_Posterid = t2.U_Number LEFT JOIN w3t_Posts AS t3 ON t1.Bo_LastNumber = t3.B_Number WHERE t1.Bo_Cat = 1 AND (t1.Bo_Posterid = t2.U_Number OR t1.Bo_Posterid = '0') AND (t1.Bo_LastNumber = t3.B_Number OR t1.Bo_LastNumber ='0') AND (t1.Bo_Read_Perm LIKE '%-4-%') ORDER BY t1.Bo_Sorter - Can't open file: 'w3t_users.MYD'. (errno: 145)

Any suggestions will be greatly appreciated.


Sponsored Links
Joined: Apr 2002
Posts: 102
Journeyman
Journeyman
Offline
Joined: Apr 2002
Posts: 102
Is the box crashing often?

Joined: May 2001
Posts: 77
JJS
Offline
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 77
Nope. The Box and all the services are like the Rock of Gilbralter. Just having problems with MySQL.

Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
The problem possibly lies in the w3t_users.myd file. Can you please check its existence? If yes can you check if any weird rights have been propagated on it?

Alternatively you can drop and restore the users table....

Warm regards

Nikos


Nikos

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)