Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Suddenly and without any reason mysql stopped working.

netstat -tap

does not list the mysql process. I tried

/etc/init.d/mysql restart|start

But his produces an error message:

/etc/init.d/mysql: error reading input file: Input/output error

Any ideas what happend and how do I fix this problem?

share|improve this question
Oh there was a reason, alright. It's now your challenge to figure that out. :) – EEAA May 25 '12 at 12:41
up vote 3 down vote accepted

Oh dear, that sounds like a dead hard drive. I hope you have backups. Try dmesg and see if it complains about I/O errors, too.

share|improve this answer
you were right, I had to change the hard drive. – ArtWorkAD May 26 '12 at 7:38

try running

tail -f /var/log/syslog

at the same time when you restart mysql - this should give you some hints.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.