Forums / General Questions / 1016 Can't open file: 'zen_sessions.MYI'. (errno: 145)

1016 Can't open file: 'zen_sessions.MYI'. (errno: 145)

Locked

Views: 2,081

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
18 Sep 2006, 8:57 AM
#1
puffpuff avatar

puffpuff

New Zenner

Join Date:
Sep 2006
Posts:
2
Plugin Contributions:
0

1016 Can't open file: 'zen_sessions.MYI'. (errno: 145)

Please can someone let me know what has gone wrong with my website. I have gone in to access it this morning and am met with the message '1016 Can't open file: 'zen_sessions.MYI'. (errno: 145)'. I have a couple of orders that have come in over the weekend and can't access them to get them out to my customers so am in a bit of a mess. Can anyone advise what I can do. I have looked around the forum but can't see anything the same. Thanks.:yuck:

18 Sep 2006, 9:32 AM
#2
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: 1016 Can't open file: 'zen_sessions.MYI'. (errno: 145)

It looks like your database is damaged. That may be caused by a full disk at the host for example.

If the sessions table is the only part that is damaged you can repair it I suppose. The only thing that will be lost is the old sessions, but you don't need those anyway. I would check the tables in phpMyAdmin.

If other tables are damaged too, I think you will need to load a backup of your database (hopefully you do have a backup!).

(Note: I would also create a new backup asap. Maybe the important data is still ok now, but the other tables might damage too.)

18 Sep 2006, 10:33 AM
#3
puffpuff avatar

puffpuff

New Zenner

Join Date:
Sep 2006
Posts:
2
Plugin Contributions:
0

Re: 1016 Can't open file: 'zen_sessions.MYI'. (errno: 145)

Thanks Paulm,

I have contacted the host and all is resolved now.

Panic over :lol:

20 Oct 2008, 2:39 AM
#4
gt3 avatar

gt3

New Zenner

Join Date:
Jun 2007
Posts:
25
Plugin Contributions:
0

Re: 1016 Can't open file: 'zen_sessions.MYI'. (errno: 145)

Hello,
I am getting exactly the same error on my site. :frusty:

1016 Can't open file: 'zen_whos_online.MYI'. (errno: 145)
in:
[delete from zen_whos_online where time_last_click < '1224468589']

Is this a fix that is resolved by the host or do i have to do anything on my side?

I've contacted the host, and they said "they will look into it" and it may take 48 hours. This scares me.

PS. My site is at www.newmodeus.com

20 Oct 2008, 4:14 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: 1016 Can't open file: 'zen_sessions.MYI'. (errno: 145)

That error means there is corruption in the MySQL database infrastructure which stores your MySQL database data. It's an issue your host must resolve.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Oct 2008, 7:12 AM
#6
gt3 avatar

gt3

New Zenner

Join Date:
Jun 2007
Posts:
25
Plugin Contributions:
0

Re: 1016 Can't open file: 'zen_sessions.MYI'. (errno: 145)

Thank you for the quick response Dr. Byte!
I will await their correction.