Centos7中apache2/httpd绑定多个端口失败

网友投稿 243 2022-10-31


Centos7中apache2/httpd绑定多个端口失败

配置文件443Listen 7443Listen 8081

然后启动报错

systemctl start for failed because the control process exited with error code. See "systemctl status and "journalctl -xe" for details.

检测配置文件是否正确

-t

使用命令查看启动失败详情:

systemctl status -l

解决方法关闭 selinux

setenforce 0 #修改配置vim /etc/selinux/configSELINUX=enforcing改为SELINUX=disabled

参考:

​​https://blog./bguncle/957315​​


版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:SpringBoot使用Atomikos技术整合多数据源的实现
下一篇:shell脚本备份网站
相关文章

 发表评论

暂时没有评论,来抢沙发吧~