V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
182247236
V2EX  ›  Linux

今天装 opendcim 遇到了 httpd 无法启动的问题

  •  
  •   182247236 · 2016-04-17 22:45:19 +08:00 · 3132 次点击
    这是一个创建于 3170 天前的主题,其中的信息可能已经有所发展或是发生改变。
    本人对系统这块是真不熟。。。日志也看不懂...我大致判断是配置 ssl 证书的问题,麻烦帮忙看看。
    这是 /etc/httpd/logs/error_log

    [Mon Apr 18 06:38:40 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Mon Apr 18 06:38:40 2016] [error] Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile] ((null):0)
    [Mon Apr 18 06:41:30 2016] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
    [Mon Apr 18 06:41:30 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Mon Apr 18 06:41:30 2016] [error] Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile] ((null):0)
    [Mon Apr 18 06:42:31 2016] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
    [Mon Apr 18 06:42:31 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Mon Apr 18 06:42:31 2016] [error] Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile] ((null):0)
    [Mon Apr 18 06:43:23 2016] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
    [Mon Apr 18 06:43:23 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Mon Apr 18 06:43:23 2016] [error] Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile] ((null):0)
    1 条回复    2023-03-15 08:21:04 +08:00
    vicacheung
        1
    vicacheung  
       2023-03-15 08:21:04 +08:00
    关闭 SELinux 试试。`SELINUX=disabled`
    `vi /etc/selinux/config`
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2751 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 10:01 · PVG 18:01 · LAX 02:01 · JFK 05:01
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.