Monday 23 January 2017

Ran /sbin/service mysql start returned 3 | mysql cookbook

Ran /sbin/service mysql start returned 3 | mysql cookbook

If you are using mysql cookbook and getting error while bootstrapping instance with mysql recipe then check if selinux is disabled or not. If it is disabled, enable it and bootstrap the instance again.

Simply run sestatus  or getenforce command to know if selinux is disabled or not. If it is disabled then try the following command to enable it. You must be root to run the following command.

echo 1 >/selinux/enforce

or

setenforce 1

or

vi /etc/sysconfig/selinux

change the SELINUX to enforcing

SELINUX=enforcing

0 comments:

Post a Comment

 

Copyright @ 2013 Appychip.

Designed by Appychip & YouTube Channel