$ apache2 -v
Server version: Apache/2.4.7 (Ubuntu)
Server built: Jan 14 2016 17:45:23
Run Code Online (Sandbox Code Playgroud)
我的Ubuntu版本是14.04。
我正在修复一些问题/etc/apache2/sites-available/000-default.conf
,然后下次重新启动 Apache 时,我不断收到这个奇怪的错误:
$ sudo service apache2 reload
* Reloading web server apache2 [fail] *
* The apache2 configtest failed. Not doing anything.
Output of config test was:
env: apache2ctl: No such file or directory
Run Code Online (Sandbox Code Playgroud)
我还恢复了 中的所有更改000-default.conf
,但问题并未得到解决。
我不明白我是如何引起这个问题的,也不知道如何解决它。
非常感谢您的帮助。
最新的 Apache 错误日志:
[Sun Jun 05 11:50:26.341221 2016] [mpm_worker:notice] [pid 6035:tid 118764177487744] AH00292: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Sun Jun 05 …
Run Code Online (Sandbox Code Playgroud)