$ apache2 -v Server version: Apache/2.4.7 (Ubuntu) Server built: Jan 14 2016 17:45:23
My Ubuntu version is 14.04.
I was fixing a few things on
/etc/apache2/sites-available/000-default.conf and then the next time I restarted Apache, I keep getting this weird error:
$ sudo service apache2 reload * Reloading web server apache2 [fail] * * The apache2 configtest failed. Not doing anything. Output of config test was: env: apache2ctl: No such file or directory
I also reverted all the changes in
000-default.conf, but the issue is not getting resolved.
I do not understand how I might have caused this issue and also I don't know how to resolve it.
Help would be highly appreciated.
Latest Apache error logs:
[Sun Jun 05 11:50:26.341221 2016] [mpm_worker:notice] [pid 6035:tid 118764177487744] AH00292: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations [Sun Jun 05 11:50:26.341266 2016] [core:notice] [pid 6035:tid 118764177487744] AH00094: Command line: '/usr/sbin/apache2' [Sun Jun 05 12:15:51.071093 2016] [mpm_worker:notice] [pid 6035:tid 118764177487744] AH00295: caught SIGTERM, shutting down