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

When I try to start MySQL, I get an error that says MySQL Daemon failed to start.. If I comment out the log-bin line then it loads fine. I'm trying to set up replication so I think I need log-bin, but I'm not sure.

share|improve this question
What does the MySQL error log say? – EEAA Apr 26 '13 at 0:03
Most likelt this is because mysql can't write to /db_vol/log/mysql-bin.log. Look in your error log, – sciurus Apr 26 '13 at 3:35
up vote 1 down vote accepted
  1. Does the folder /db_vol/log/ exist?

  2. Do the permissions /db_vol/log/ allow write access? e.g. is the user / owner matching the mysql account and the account(s) have write access?

If your mysql user account was mysql, you could run this:

chown mysql:mysql /db_vol/log/

and then

chmod 770 /db_vol/log/

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.