Jadi saya mencoba memulai server apache2 saya dengan perintah berikut ...
sudo service apache2 start
Tapi kemudian saya mendapatkan pesan kesalahan ini ...
Job for apache2.service failed. See "systemctl status apache2.service" and "journalctl -xe" for details.
Jadi ketika saya mencoba dan melihat systemctl, saya mendapatkan ini ...
● 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]: /etc/init.d/apache2: 76: .: Can't open /etc/apache2/envvars
Jul 06 10:34:49 archisman-HP-ProBook-440-G2 apache2[8899]: ERROR: APACHE_PID_FILE needs to be defined in /etc/apache2/envvars
Jul 06 10:34:49 archisman-HP-ProBook-440-G2 systemd[1]: apache2.service: control process exited, code=exited status=2
Jul 06 10:34:49 archisman-HP-ProBook-440-G2 systemd[1]: Failed to start LSB: Apache2 web server.
Jul 06 10:34:49 archisman-HP-ProBook-440-G2 systemd[1]: Unit apache2.service entered failed state.
Jul 06 10:34:49 archisman-HP-ProBook-440-G2 systemd[1]: apache2.service failed.
http: // localhost / di browser saya juga memberi saya kesalahan yang berarti apache tidak berjalan.
Ketika saya melakukan ini ...
sudo restart apache2
Saya mendapatkan kesalahan ini ...
restart: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
Seseorang tolong bantu.