所以我尝试使用以下命令启动我的 apache2 服务器...
sudo service apache2 start
Run Code Online (Sandbox Code Playgroud)
但是后来我收到此错误消息...
Job for apache2.service failed. See "systemctl status apache2.service" and "journalctl -xe" for details.
Run Code Online (Sandbox Code Playgroud)
所以当我尝试查看 systemctl 时,我得到了这个......
? apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Active: failed (Result: exit-code) since Mon 2015-07-06 10:34:49 IST; 4min 23s ago
Docs: man:systemd-sysv-generator(8)
Process: 8899 ExecStart=/etc/init.d/apache2 start (code=exited, status=2)
Jul 06 10:34:49 archisman-HP-ProBook-440-G2 systemd[1]: Starting LSB: Apache2 web server...
Jul 06 10:34:49 archisman-HP-ProBook-440-G2 apache2[8899]: /etc/init.d/apache2: 64: .: Can't open /etc/apache2/envvars
Jul 06 10:34:49 archisman-HP-ProBook-440-G2 apache2[8899]: …Run Code Online (Sandbox Code Playgroud)