A lot of /etc files were apparently removed. This also prevents apache2 from restarting. You might need to purge/reinstall apache2, apache2-common... to restore the needed conf files like /etc/apache2/envvars.
It might be sufficient to just recreate the file manually :
A lot of /etc files were apparently removed. This also prevents apache2 from restarting. You might need to purge/reinstall apache2, apache2-common... to restore the needed conf files like /etc/apache2/ envvars.
It might be sufficient to just recreate the file manually :
$ sudo cat /etc/apache2/ envvars << EOD RUN_USER= www-data RUN_GROUP= www-data PID_FILE= /var/run/ apache2. pid
export APACHE_
export APACHE_
export APACHE_
EOD
$
However I would be surprised if envvars was the only file missing.