Apache doesn't start if /var/log/apache2 is missing
|||Apache2 Web Server||
I'm using Ubuntu 12.04 dev with apache2 2.2.22-1ubuntu1. If the directory /var/log/apache2 doesn't exist the apache server can't start:
* Starting web server apache2
apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.1.101 for ServerName
(2)No such file or directory: apache2: could not open error log file /var/log/
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
I think /etc/init.d/apache2 should check for this directory and create it if it is missing.