osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Website Down - 1016 - Can't open file: 'sessions.MYI'. (errno: 145)

This is a discussion on Website Down - 1016 - Can't open file: 'sessions.MYI'. (errno: 145) within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; Hi, Just tried to do some work on one of my shops ( http://www.foot-shop.co.uk/ ) and found the site is ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 04-12-2008, 01:29 AM
Member
 
Join Date: Jan 2007
Posts: 30
Thanks: 13
Thanked 0 Times in 0 Posts
Rep Power: 0
jmdesign is on a distinguished road
Default Website Down - 1016 - Can't open file: 'sessions.MYI'. (errno: 145)

Hi,

Just tried to do some work on one of my shops (http://www.foot-shop.co.uk/) and found the site is down:

"1016 - Can't open file: 'sessions.MYI'. (errno: 145)

select value from sessions where sesskey = '4e35589800a368e2d3cb6744dabe627e' and expiry > '1207988486'

[TEP STOP]"


I've done some searching on the forums and it sounds quite easy to fix (repairing table in database via PhpMyAdmin) but all the links I've found in previous threads don't seem to work? I want to make sure I do it properly and don't make the problem worse! Can someone please help ASAP?

Many thanks,

James
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
  #2  
Old 04-12-2008, 07:49 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,982
Thanks: 80
Thanked 345 Times in 324 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: Website Down - 1016 - Can't open file: 'sessions.MYI'. (errno: 145)

To repair the table, go use phpmyadmin (most hosts provide this in your control panel) and select the database. Then click the checkbox next to the sessions table, and select Repair from the dropdown at the bottom of the page.

That should fix it.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to michael_s For This Useful Post:
jmdesign (04-12-2008)
  #3  
Old 04-12-2008, 08:02 AM
Member
 
Join Date: Jan 2007
Posts: 30
Thanks: 13
Thanked 0 Times in 0 Posts
Rep Power: 0
jmdesign is on a distinguished road
Default Re: Website Down - 1016 - Can't open file: 'sessions.MYI'. (errno: 145)

Hi Michael,

As always your advice is spot on! Thanks a bunch for that.

Any idea what causes it? Is it likely to happen again?

James
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 04-12-2008, 08:07 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,982
Thanks: 80
Thanked 345 Times in 324 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: Website Down - 1016 - Can't open file: 'sessions.MYI'. (errno: 145)

It is mostly a server level issue. Usually it is caused by an improper shutdown/restart of mysql (forced reboot, or not properly shutting down mysql during a service restart).

Yes it can happen again at any time, if the server you are on is overloaded, unstable or otherwise poorly managed. It can also happen if whomever is working on the mysql server does not properly restart the service when they are doing that.

Table corruption happens, especially on shared servers. It is a good idea to periodically repair and optimize all tables.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to michael_s For This Useful Post:
jmdesign (04-12-2008)
  #5  
Old 04-12-2008, 08:11 AM
Member
 
Join Date: Jan 2007
Posts: 30
Thanks: 13
Thanked 0 Times in 0 Posts
Rep Power: 0
jmdesign is on a distinguished road
Default Re: Website Down - 1016 - Can't open file: 'sessions.MYI'. (errno: 145)

Hi Michael,

Okay thanks for the info, will keep an eye out for that from now on.

James
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 04-12-2008, 09:28 AM
Active Member
 
Join Date: Oct 2005
Location: wherever I happen to be at the moment
Posts: 468
Thanks: 4
Thanked 79 Times in 73 Posts
Rep Power: 8
met00 is just really nicemet00 is just really nicemet00 is just really nicemet00 is just really nicemet00 is just really nice
Default Re: Website Down - 1016 - Can't open file: 'sessions.MYI'. (errno: 145)

Just a fast note. If you are on a shared server think about getting off and getting on one where you have control. All it takes is one badly formed sql statement to bring your server to it knees - and this is your business after all. At about $200USD/mo the cost of a root server where you have control over it (or a managed server) is well worth the cost.

If you are on your own server then you can do what I do on the servers I have, which is repair and optimize the tables on the 15th of each month. It's a simple cron job and it ensures that the server and mysql runs clean.
__________________
so endith the lesson
<think>sometimes I just sit's and thinks</think>
"Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
error 1016 - Can't open file, help please dmiles osCommerce 2.2 Discussion 2 09-06-2005 09:24 AM
Spider Sessions Studio143 osCMax v1.7 Discussion 1 05-14-2005 02:21 PM
Please help! sessions are breaking for some reason thinkweb osCMax v1.7 Discussion 1 02-15-2005 10:13 PM
1016 - Can't open file: 'sessions.MYD'. (errno: 145) red_fraggle osCMax v1.7 Discussion 1 12-22-2004 10:55 AM
1016 Error message PLEASE HELP!! Lalla osCommerce 2.2 Modification Help 0 03-16-2004 04:14 PM


All times are GMT -8. The time now is 02:35 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax