无法启动 Apache

无法启动 Apache

当我尝试启动 apache 时,出现以下错误。重新安装 apache 也无济于事。

Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.
invoke-rc.d: initscript apache2, action "start" failed.
● apache2.service - LSB: Apache2 web server
   Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
  Drop-In: /lib/systemd/system/apache2.service.d
           └─apache2-systemd.conf
   Active: failed (Result: exit-code) since Tue 2018-06-19 18:24:57 +06; 4ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 14588 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

Jun 19 18:24:57 bappy-desktop apache2[14588]:  *
Jun 19 18:24:57 bappy-desktop apache2[14588]:  * The apache2 configtest failed.
Jun 19 18:24:57 bappy-desktop apache2[14588]: Output of config test was:
Jun 19 18:24:57 bappy-desktop apache2[14588]: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf:...tory
Jun 19 18:24:57 bappy-desktop apache2[14588]: Action 'configtest' failed.
Jun 19 18:24:57 bappy-desktop apache2[14588]: The Apache error log may have more information.
Jun 19 18:24:57 bappy-desktop systemd[1]: apache2.service: Control process exited, code=exited status=1
Jun 19 18:24:57 bappy-desktop systemd[1]: Failed to start LSB: Apache2 web server.
Jun 19 18:24:57 bappy-desktop systemd[1]: apache2.service: Unit entered failed state.
Jun 19 18:24:57 bappy-desktop systemd[1]: apache2.service: Failed with result 'exit-code'.
Hint: Some lines were ellipsized, use -l to show in full.

这是 etc/apache2/apache2.conf 第 140 行的内容

IncludeOptional mods-enabled/*.load 

相关内容