Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
1  
Oh there was a reason, alright. It's now your challenge to figure that out. :) –  EEAA May 25 '12 at 12:41

2 Answers 2

up vote 2 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

 
discard

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.