0

帮助!!!!

我更新了我的网络服务器,现在重启后 apache2.4 不会启动。

将 loglevel 设置为调试后,当我重新启动 apache 时,我在日志中得到了这个:

[Wed Jan 21 10:24:21.785303 2015] [auth_digest:notice] [pid 74642] AH01757: generating secret for digest authentication ...
[Wed Jan 21 10:24:21.785607 2015] [auth_digest:debug] [pid 74642] mod_auth_digest.c(250): AH01759: done

没有运行 http 服务,没有创建 pid 文件,没有启用 ssl。

当我重新启动 apache 时,控制台的输出:

/usr/local/etc/rc.d/apache24 restart
Performing sanity check on apache24 configuration:
Syntax OK
apache24 not running? (check /var/run/httpd.pid).
Performing sanity check on apache24 configuration:
Syntax OK
Starting apache24.

配置测试的输出:

apachectl configtest
Performing sanity check on apache24 configuration:
Syntax OK

总之:没有错误,没有有用的日志条目。我该如何解决这个问题?

亲切的问候伯恩哈德

4

1 回答 1

0

尝试手动运行它,如下所示:

/usr/local/sbin/httpd -e 调试 -X

它可能会输出很多消息;看看你是否能发现任何可疑的东西。您也可以尝试使用“-e notice”来减少输出量。

于 2015-01-22T13:55:33.077 回答