我正在使用RHEL6.5和Apache 2.2.15。现在在服务器上应用可信的SSL。在添加相应的SSL相关证书和文件后,我的Apache将不再启动。
以下是一些产出:
# apachectl configtest
Syntax OK
# service httpd fullstatus
ELinks: Connection refused
# service httpd start
Starting httpd: [FAILED]
# tail /var/log/httpd/error_log
[Mon Aug 04 17:57:08 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Aug 04 17:57:41 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Aug 04 18:03:31 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Aug 04 18:06:27 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)当我执行# tail /var/log/messages时,没有与Apache或此操作相关的错误。
请问有什么问题吗?我已经关掉了iptables和SELinux。
发布于 2014-08-05 13:20:04
service apache fullstatus是/usr/sbin/apachectl fullstatus的别名。从“阿帕切克特手册”:
full status显示来自mod_status的完整状态报告。为此,您需要在服务器上启用mod_status,并在系统上启用基于文本的浏览器(如lynx )。可以通过编辑脚本中的STATUSURL变量来设置用于访问状态报告的URL。
fullstatus说连接被拒绝是有道理的: apache没有运行。
这种完全状态并不是某些事情出错的原因,它只是apache没有运行的症状。
发布于 2014-11-26 09:56:56
我今天也面临着同样的问题。我就是这样解决这个问题的
~#cat /usr/local/apache2/logs/httpd.pid
2322
~#ps aux |grep 2322
root 2322 0.0 0.0 81272 3396 ? Ss Nov23 0:02 /usr/libexec/postfix/master
~#service postfix stop
Shutting down postfix:
~#/usr/local/apache2/bin/apachectl restart
httpd not running, trying to start
~#netstat -nlp |grep 80
tcp 0 0 :::80 :::* LISTEN 14549/httpd
~#service postfix start
Starting postfix: [ OK ]https://unix.stackexchange.com/questions/148290
复制相似问题