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

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

  •  
  •   182247236 · 2016-04-17 22:45:19 +08:00 · 3131 次点击
    这是一个创建于 3166 天前的主题,其中的信息可能已经有所发展或是发生改变。
    本人对系统这块是真不熟。。。日志也看不懂...我大致判断是配置 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   ·   实用小工具   ·   5665 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 03:25 · PVG 11:25 · LAX 19:25 · JFK 22:25
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.