When I try to start Apache2 it fails then if I do
Apache2 -e Debug It comes up with these errors
[Thu Feb 09 09:46:08.244772 2017] [core:warn] [pid 16287] AH00111: Config variable ${APACHE_RUN_DIR} is not defined [Thu Feb 09 09:46:08.245358 2017] [core:warn] [pid 16287] AH00111: Config variable ${APACHE_LOG_DIR} is not defined [Thu Feb 09 09:46:08.245695 2017] [core:warn] [pid 16287] AH00111: Config variable ${APACHE_LOG_DIR} is not defined [Thu Feb 09 09:46:08.245764 2017] [core:warn] [pid 16287] AH00111: Config variable ${APACHE_LOG_DIR} is not defined AH00526: Syntax error on line 74 of /etc/apache2/apache2.conf: Invalid Mutex directory in argument file:${APACHE_LOCK_DIR} I have no idea what is wrong with the server as it used to work but then it stopped working after trying to install OpenLDAP.
I am running Ubuntu 16.04.1 and apache 2.4.18
I have also tried uninstalling and reinstalling apache but that does not work.
/etc/apache2/apache2.conf!/etc/apache2/envvarsfile?