Mysql::Error

This is a discussion on Mysql::Error within the MySQL Database forums, part of the Database Forums category; Hi- I have been using MySQL on my linux box for a while without problems until I loaded a page ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-04-2008
pete
 
Posts: n/a
Default Mysql::Error

Hi-

I have been using MySQL on my linux box for a while without problems
until I loaded a page that references some tables this morning and I
got this:

"Mysql::Error: Can't create/write to file '/var/lib/mysql/
#sql_146a_0.MYI' (Errcode: 30)"

Anyone know what this means, and how to fix it?

Thanks!
Reply With Quote
  #2 (permalink)  
Old 02-04-2008
J.O. Aho
 
Posts: n/a
Default Re: Mysql::Error

pete wrote:
> Hi-
>
> I have been using MySQL on my linux box for a while without problems
> until I loaded a page that references some tables this morning and I
> got this:
>
> "Mysql::Error: Can't create/write to file '/var/lib/mysql/
> #sql_146a_0.MYI' (Errcode: 30)"
>
> Anyone know what this means, and how to fix it?


Which file system do you use? jfs will by default make itself read only if
there happens something that can cause trouble, this to give you the chance to
recover lost data.

--

//Aho
Reply With Quote
  #3 (permalink)  
Old 02-04-2008
pete
 
Posts: n/a
Default Re: Mysql::Error

On Feb 4, 6:01 pm, "J.O. Aho" <u...@example.net> wrote:
> pete wrote:
> > Hi-

>
> > I have been using MySQL on my linux box for a while without problems
> > until I loaded a page that references some tables this morning and I
> > got this:

>
> > "Mysql::Error: Can't create/write to file '/var/lib/mysql/
> > #sql_146a_0.MYI' (Errcode: 30)"

>
> > Anyone know what this means, and how to fix it?

>
> Which file system do you use? jfs will by default make itself read only if
> there happens something that can cause trouble, this to give you the chance to
> recover lost data.
>
> --
>
> //Aho


This issue was caused by a hardware failure...the disk crashed so the
rest of the machine could not see it.

Thanks for your help.
Reply With Quote
  #4 (permalink)  
Old 02-04-2008
Axel Schwenke
 
Posts: n/a
Default Re: Mysql::Error

pete <peterbattaglia@gmail.com> wrote:
>
> "Mysql::Error: Can't create/write to file '/var/lib/mysql/
> #sql_146a_0.MYI' (Errcode: 30)"
>
> Anyone know what this means, and how to fix it?


~ $perror 30
OS error code 30: Read-only file system


Error codes may differ, so better run perror on your machine.


XL
--
Axel Schwenke, Support Engineer, MySQL AB

Online User Manual: http://dev.mysql.com/doc/refman/5.0/en/
MySQL User Forums: http://forums.mysql.com/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:42 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0