Unable to start mysqld service after enabling log_bin
According to the manual entry for the mysqld option log-bin:


  If you specify this option without also specifying a --server-id, the server is not allowed to start.


So it seems you need something like:

[mysqld]
server-id=1
log-bin