我有一个新的基于 Debian 不稳定的发行版,上面有 apache2。Apache 本身运行良好。如果我使用
sudo service apache2 start
Run Code Online (Sandbox Code Playgroud)
它出现了,一切都很顺利。
但它的服务无法每次启动时启动。
这里如何追踪错误呢?
等/log/apache2/error.log:
[Sun Jan 15 14:51:06.685936 2017] [mpm_prefork:notice] [pid 2208] AH00169: caught SIGTERM, shutting down
[Sun Jan 15 14:51:47.842447 2017] [mpm_prefork:notice] [pid 2200] AH00163: Apache/2.4.23 (Debian) configured -- resuming normal operations
[Sun Jan 15 14:51:48.145808 2017] [core:notice] [pid 2200] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jan 15 14:55:25.766188 2017] [mpm_prefork:notice] [pid 3257] AH00163: Apache/2.4.23 (Debian) configured -- resuming normal operations
[Sun Jan 15 14:55:25.801736 2017] [core:notice] [pid 3257] AH00094: Command …Run Code Online (Sandbox Code Playgroud)