zoukankan      html  css  js  c++  java
  • Centos7中apache2/httpd绑定多个端口失败

    配置文件http-ssl.conf

    Listen 443
    Listen 7443
    Listen 8081

    然后启动报错

    systemctl start httpd.service

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

    检测配置文件是否正确

    httpd -t

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

    systemctl status httpd.service -l

     解决方法关闭 selinux

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

    参考来源:

    https://blog.51cto.com/bguncle/957315

    https://blog.csdn.net/lzk25419/article/details/98172543

  • 相关阅读:
    高效求解素数
    搭建redis集群
    搭建Spark高可用集群
    redis持久化
    elasticsearch简介
    java反射机制
    hdfs的客户端操作
    hdfs运行机制
    大数据概念
    hive
  • 原文地址:https://www.cnblogs.com/passedbylove/p/13582994.html
Copyright © 2011-2022 走看看