error 145

Found a bug? Tell us!!
Post Reply
Bobasaur
Regular
Posts: 17
Joined: Tue Jul 04, 2006 7:13 pm
Location: Shreveport, La.
Contact:

error 145

Post by Bobasaur »

I'm unable to view my blog after a posting tonight. (Actually, I attempted to delete a post unsuccessfully) I recieve the following error when I try to log on:

/ Can't open file: 'serendipity_entries.MYI'. (errno: 145)

And here is the entire page that is displayed:

Query failed:
SELECT


e.id,
e.title,
e.timestamp,
e.comments,
e.exflag,
e.authorid,
e.trackbacks,
e.isdraft,
e.allow_comments,
e.last_modified,

a.realname AS author,
a.email
, e.body, e.extended

FROM
serendipity_entries AS e
LEFT JOIN serendipity_authors a
ON e.authorid = a.authorid
LEFT JOIN serendipity_entrycat ec
ON e.id = ec.entryid
LEFT JOIN serendipity_category c
ON ec.categoryid = c.categoryid

WHERE isdraft = 'false' AND e.timestamp <= 1162634354
GROUP BY e.id
ORDER BY timestamp DESC
LIMIT 4
/ Can't open file: 'serendipity_entries.MYI'. (errno: 145)

Any help is MUCH appreciated!

Bobasaur
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: error 145

Post by garvinhicking »

Hi!

This error message says that an important file of your database server, "serendipity_entries.MYI" no longer exists.

The MySQL file server relies on that file, and it seems your server crashed or some other external mechanism destroyed that file. You can ask your provider how this could have happened?

In either case, you or your provider needs to restore a backup! It is sadly not the fault of Serendipity what happened here, but a crash in the provider's MySQL system. PHP applications have no change to selecitvely delete a "MYI" file, only the MySQL server process or other external Shell-Processes can have an influence on these files.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Bobasaur
Regular
Posts: 17
Joined: Tue Jul 04, 2006 7:13 pm
Location: Shreveport, La.
Contact:

Post by Bobasaur »

Thanks for the reply Garvin!

The file is still there in the database, and I noted that it had been written to on 11/4 when I tried to post a "test" entry. It was somehow corrupted on 11/3.

I'll contact the host and see if they have a backup for 11/2 (which I doubt).

Bob Jackson
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

MySQL might be able to rewrite the missing MYI file if you try to issue a "REPAIR TABLE serendipity_entries" command?

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Bobasaur
Regular
Posts: 17
Joined: Tue Jul 04, 2006 7:13 pm
Location: Shreveport, La.
Contact:

REPAIR TABLE serendipity_entries

Post by Bobasaur »

I really appreciate the feedback Garvin! Now, how do I run that command (dense? I'd love to!) on Hostopia's server, or do I contact their tech support. I do not think I've got that kind of shell access with the account. :-(

Bob
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: REPAIR TABLE serendipity_entries

Post by garvinhicking »

Hi Bob!

Ah, sorry for not being verbose. :) You can execute that command using a tool like phpMyAdmin - do you have that installed? If so, just click on the 'SQL' tab, where you can paste the query I gave you into!

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Bobasaur
Regular
Posts: 17
Joined: Tue Jul 04, 2006 7:13 pm
Location: Shreveport, La.
Contact:

Post by Bobasaur »

Got it all back Garvin. Thanks for the assist. (I enjoyed installing and using phpMyAdmin, but in the end had to re-install and back up from the rss.xml file)

Bob
fidij
Regular
Posts: 7
Joined: Mon Mar 20, 2006 9:45 pm
Contact:

thanks

Post by fidij »

Just to thank you for your great support -
I had the same problem and reading this thread I tried the "Repair" command and it worked :-)
guidol
Regular
Posts: 7
Joined: Mon Sep 25, 2006 8:03 pm
Contact:

Re: thanks

Post by guidol »

fidij wrote:Just to thank you for your great support -
I had the same problem and reading this thread I tried the "Repair" command and it worked :-)
Me too!
Post Reply