Error while starting apache2 "Cannot access directory '/var/log/apache2/' for main error log"
Solution 1:
Fixed
I just created the directory and gave it write permissions:
sudo mkdir -p /var/log/apache2/
sudo chmod -R 744 /var/log/apache2/
Fixed
I just created the directory and gave it write permissions:
sudo mkdir -p /var/log/apache2/
sudo chmod -R 744 /var/log/apache2/