OpenStack常见错误:无法开启http服务 Job for httpd.service failed because the control process exited with error。
(1)问题1:Job for httpd.service failed because the control process exited with error code.see “systomctl status httpd.service” and “journalctl -xe” for details.
起因所在:
A、前面配置的确出现了错误,比方 多了 空格 少了标点符号 肯定要回去检查 确保配置代码的确无误之后 看下一步
①配置无误的情况下导致这个问题起因大多是httpd进程被占使用,所以只要杀掉进程就OK!!!
操作步骤:
先ps –aux | grep http
查看进程所在,
Kill -9 pid 杀掉进程;
杀完进程之后reboot,再次查看进程能否被杀掉,若无法杀掉进程,说明为僵尸进程,需要卸载重装;
操作步骤:
先使用yum 卸载httpd yum remove http
再重新安装,yum install http
最后重新启动就可。
B、也很有可能是防火墙没有关闭的起因;
直接重新修改 vim /etc/selinux/comfig找到SELinux=enforcing修改为SELINUX=disable,重启或者者setenforce 0就可。