Trying to restart apache from terminal using the following command:
sudo service apache2 restart
When executing that command, I'm getting below error:
Job for apache2.service failed. See "systemctl status apache2.service" and "journalctl -xe" for details.
On excuting "systemctl status apache2.service" I get this output:
apache2.service - (null)
Loaded: loaded (/etc/init.d/apache2)
Active: failed (Result: exit-code) since Sat 2015-05-30 02:22:41 IST; 12s ago
Docs: man:systemd-sysv-generator(8)
Process: 4866 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
Apache error.log
:
AH00489: Apache/2.4.12 (Unix) configured -- resuming normal operations
AH00094: Command line: '/usr/local/apache2/bin/httpd'
sudo journalctl -xe
that will give you a better idea about what happened. if you still have issues understanding it. Post the results here./var/log/apache2/error.log