我是靠谱客的博主 昏睡麦片,这篇文章主要介绍Unable to start service httpd: Job for httpd.service failed because the control process exited with,现在分享给大家,希望可以做个参考。
在执行playbook启动httpd时报错:
复制代码
1
2
3TASK [test_app : start service] ***************************************************************************************************************************** fatal: [192.168.126.129]: FAILED! => {"changed": false, "msg": "Unable to start service httpd: Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.n"}
因为机器中同时运行了nginx,80端口被占用了,所以此时启动时就会报错,从报错信息可以看出时端口问题。
将nginx服务停掉之后重新执行即可。
最后
以上就是昏睡麦片最近收集整理的关于Unable to start service httpd: Job for httpd.service failed because the control process exited with的全部内容,更多相关Unable内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复