无法启动 Apache Web 服务器

无法启动 Apache Web 服务器

我刚刚尝试配置 SSL,但是 Apache 无法启动。这对我来说非常重要。

systemctl 状态 apache2.service

apache2.service - The Apache Webserver
   Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2018-10-25 17:04:36 EDT; 17min ago
  Process: 7654 ExecStart=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k start (code=exited, >
 Main PID: 7654 (code=exited, status=1/FAILURE)

apache2ctl 配置测试

 Syntax OK

journalctl-xe

Oct 25 17:20:45 gheysari-na ksmserver[1996]: UnmapNotify: 60817441
Oct 25 17:20:45 gheysari-na ksmserver[1996]: UnmapNotify: 60817441
Oct 25 17:20:45 gheysari-na ksmserver[1996]: CreateNotify: 60817460
Oct 25 17:20:45 gheysari-na ksmserver[1996]: Grab Released
Oct 25 17:27:38 gheysari-na plasmashell[2029]: QXcbConnection: XCB error: 2 (BadValue), sequence>
Oct 25 17:27:39 gheysari-na plasmashell[2029]: QXcbConnection: XCB error: 2 (BadValue), sequence>
Oct 25 17:30:00 gheysari-na plasmashell[2029]: QXcbConnection: XCB error: 2 (BadValue), sequence>
Oct 25 17:30:04 gheysari-na systemd[1]: Starting The Apache Webserver...
-- Subject: Unit apache2.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit apache2.service has begun starting up.
Oct 25 17:30:05 gheysari-na systemd[1]: apache2.service: Main process exited, code=exited, statu>
Oct 25 17:30:05 gheysari-na systemd[1]: Failed to start The Apache Webserver.
-- Subject: Unit apache2.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit apache2.service has failed.
-- 
-- The result is failed.
Oct 25 17:30:05 gheysari-na systemd[1]: apache2.service: Unit entered failed state.
Oct 25 17:30:05 gheysari-na systemd[1]: apache2.service: Failed with result 'exit-code'.

相关内容