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.
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
SELINUX=enforcing
0 comments:
Post a Comment