hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : SQL error: Got error 28 from storage engine
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

SQL error: Got error 28 from storage engine

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 12-12-2006, 07:25 PM
ralphieb ralphieb is offline
Junior Guru Wannabe
 
Join Date: May 2005
Location: Canada
Posts: 47

SQL error: Got error 28 from storage engine


Hello,

I have been getting this error below on one of my website page and I have been trying to find a way to fix it but with no luck...
Quote:
There appears to be an error with the database.
You can try to refresh the page by clicking here.

SQL error: Got error 28 from storage engine
SQL error code:
Date: Tuesday 12th of December 2006 04:55:28 PM
This just start happening today, everything was working fine before this.

I have been searching for a fix, I've done a search on "SQL error: Got error 28 from storage engine" but I can't find more information about this error, all I found out was this...

Quote:
Error code 28: No space left on device
One or more partitions on your server is out of space or doesn't have enough space to complete a disk write.
I have no idea what that means really but it looks like that it's server related and not a script error on my website.

Has anyone experienced this problem before and/or know how to fix it?

Any help will be greatly appreciated.

Thanks for reading


Last edited by ralphieb; 12-12-2006 at 07:28 PM.
Reply With Quote


Sponsored Links
  #2  
Old 12-12-2006, 08:38 PM
Dacsoft Dacsoft is offline
Web Hosting Master
 
Join Date: May 2003
Location: Florida
Posts: 877
That error means you don't have enough disk space left to write to. Is this a dedicated server? If so, you need to correct the problem. Otherwise contact your host.

Reply With Quote
  #3  
Old 12-12-2006, 09:00 PM
ralphieb ralphieb is offline
Junior Guru Wannabe
 
Join Date: May 2005
Location: Canada
Posts: 47
Thanks for the reply Dacsoft.

Yes it's a dedicated server.

What do you mean I do not have enough disk space? You're saying the hardrive is full? I dont think that's the case because according to Cpanel I still have 12196.63 MB space available and that's only for this website.

Thanks for the help so far.

Reply With Quote
Sponsored Links
  #4  
Old 12-12-2006, 09:13 PM
Dacsoft Dacsoft is offline
Web Hosting Master
 
Join Date: May 2003
Location: Florida
Posts: 877
Quote:
Originally Posted by ralphieb
Thanks for the reply Dacsoft.

Yes it's a dedicated server.

What do you mean I do not have enough disk space? You're saying the hardrive is full? I dont think that's the case because according to Cpanel I still have 12196.63 MB space available and that's only for this website.

Thanks for the help so far.
You can have space available on the server, and even space available for the site. But the database also needs space. If this is a cpanel, I believe the mysql databases are in /var/lib/mysql You might want to check and make sure that directory has space available.

You might want to check your /var/log folder and make sure that there is enough space available there just in case it is the logging that is having problems.

You could also have a problem with permissions so that the database can't write to the directories.

Reply With Quote
  #5  
Old 12-12-2006, 09:27 PM
ralphieb ralphieb is offline
Junior Guru Wannabe
 
Join Date: May 2005
Location: Canada
Posts: 47
Thanks again Dacsoft.

Im not very knowledgeable at this, can you tell me how to check if there is not enough space on those folders and if there is in fact not enough space what should I do?

I am using Cpanel if that helps...

I sent an email to my host, hopefully then can help me out as well but I doubt they will reply at this time so I might have to wait until tommorow.

Reply With Quote
  #6  
Old 12-12-2006, 09:45 PM
Dacsoft Dacsoft is offline
Web Hosting Master
 
Join Date: May 2003
Location: Florida
Posts: 877
Sorry, I can only give some general suggestions. Maybe some of the other experts here can help. Here are some things I would check:

- In WHM go to the Server Status -> Server Information. There is a section for Current Disk Usage. Check this to see if it gives you a clue. Also under the System Health section look at the Show Current Disk Usage. Are any showing full?

- Check your tmp folder and make sure it isn't full. I would probably check this first.

- Check your /var/log and see if it is getting full.

- It is possible that you have a corrupted table table. You can try to fix it with myisamchk command (or in WHM). [edited]


Last edited by Dacsoft; 12-12-2006 at 09:53 PM.
Reply With Quote
  #7  
Old 12-12-2006, 09:50 PM
ralphieb ralphieb is offline
Junior Guru Wannabe
 
Join Date: May 2005
Location: Canada
Posts: 47
No problem Dacsoft, thanks for your help, really appreciate it

You know what though I just went to tmp folder and there is a lot and I mean a lot of this type of files inside the tmp folder...

cache_7c35b7f04bbd51c271cdb059d363024e.ser
sess_fc0842970b575eef8708ef44b7821c1e

Reply With Quote
  #8  
Old 12-12-2006, 09:53 PM
ralphieb ralphieb is offline
Junior Guru Wannabe
 
Join Date: May 2005
Location: Canada
Posts: 47
Here's what it says from "Current Disk Usage"

Filesystem Size Used Avail Use% Mounted on
/dev/sda3 108G 17G 87G 17% /
/dev/sda1 99M 22M 73M 24% /boot
none 1014M 0 1014M 0% /dev/shm
/usr/tmpDSK 485M 459M 432K 100% /tmp
/tmp 485M 459M 432K 100% /var/tmp

Ok, it looks like /tmp and /var/tmp are full and this might be causing this error. It's the session and caching system I used on my website that's filling up the tmp folder.

Does anyone know how to remove them automatically or free up the space?


Last edited by ralphieb; 12-12-2006 at 10:01 PM.
Reply With Quote
  #9  
Old 12-12-2006, 10:53 PM
valentin_nils valentin_nils is offline
Hey, whats your uptime ?
 
Join Date: Mar 2004
Location: Tokyo / Japan
Posts: 489
You "could" login on a console and do this

# cd /tmp
# rm *
# cd /var/tmp
# rm *

I say "could" because if you mistake the CD command this could have disastrous consequences.

Basically you dont want ANY partition to be even close to 100%.
Right now its a question of time until the server might come down. As long as you have enough memory that might buy you some time, but to be save than sorry you might want to get this done ASAP.

For me seems like the partition layout seem skewed, but I cant say for sure without knowing what the server is actually being used as.

Also it sounds like you are not yet so technical advanced.
I would perhaps even advice you to ask a friend who is good at this, helping you out looking into it, or ask a company doing server administration. If you look at WHT for "seek admin" or "server management" you might find some companies.

You might find my site useful with error codes from a MySQL platform on a Linux system.
To avoid getting abusive WHT points for "advertising" I do not post the link, but disguise it so that you should be able to know where to find the required info. ;-)

h**p://www.be-known-online.com/mysql/mysql-error-codes.html

Good luck !!

__________________
__--- Nils Valentin ---
☆★☆ Speedtest One: Tokyo / Japan ☆★☆ / Feedback
☆★☆ Speedtest Two: Tokyo / Japan ☆★☆ / Feedback



Last edited by valentin_nils; 12-12-2006 at 11:02 PM.
Reply With Quote
  #10  
Old 12-12-2006, 11:13 PM
Dacsoft Dacsoft is offline
Web Hosting Master
 
Join Date: May 2003
Location: Florida
Posts: 877
I wouldn't use the rm * command. It could delete the link to mysql.sock and kill your mysql. Instead I would do something like:
cd /tmp
rm sess_* which will remove all the files starting with sess_

You could do the same for other types of temporary files in the folder.

Reply With Quote
  #11  
Old 12-13-2006, 12:09 AM
valentin_nils valentin_nils is offline
Hey, whats your uptime ?
 
Join Date: Mar 2004
Location: Tokyo / Japan
Posts: 489
Dacsoft raised a valid concern here.

So how about as a temporary fix you could move the /tmp and /var/tmp folder somewhere under / . Then you unmount those partitions for /tmp and /var/tmp and if you can recreate them bigger (how much will depend on your needs).

Then you move the stuff back to the "original" folder in its places.
Mount it again.

You might need to stop/start/restart some services while you are doing this so better do it when the server is not to busy.

__________________
__--- Nils Valentin ---
☆★☆ Speedtest One: Tokyo / Japan ☆★☆ / Feedback
☆★☆ Speedtest Two: Tokyo / Japan ☆★☆ / Feedback



Last edited by valentin_nils; 12-13-2006 at 12:21 AM.
Reply With Quote
  #12  
Old 12-13-2006, 12:35 AM
valentin_nils valentin_nils is offline
Hey, whats your uptime ?
 
Join Date: Mar 2004
Location: Tokyo / Japan
Posts: 489
Perhaps the info from http://www.webhostingtalk.com/showthread.php?t=292032 might apply to your environment ?

__________________
__--- Nils Valentin ---
☆★☆ Speedtest One: Tokyo / Japan ☆★☆ / Feedback
☆★☆ Speedtest Two: Tokyo / Japan ☆★☆ / Feedback


Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Expired SSL Certificate Brings Down Windows Azure Cloud Web Hosting News 2013-02-25 10:38:00
Google Cloud Service Adds Storage Options, Lowers Pricing, Expands European Support Web Hosting News 2012-11-26 16:00:50
WordPress Host WP Engine Launches Checkpoint Restore Tool Web Hosting News 2012-01-30 12:33:23
Nasuni Report Measures Top Performing Cloud Storage Firms Web Hosting News 2011-12-12 16:43:37
Storage Firm Coraid Acquires Cloud Software Developer Yunteq Web Hosting News 2011-10-19 19:04:03


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?