- Apache and Nginx do not start on boot.
- Version of Apache installed is 2.2
- The following directory is missing after server reboot:
/var/run/apache2. Even when created manually, it is still removed after the server reboot.
mod_sslis enabled on a server
Bug in Apache 2.2 described here:
There are 2 workarounds available:
mod_ssland restart apache:
# a2dismod ssl
# service apache2 restart
Add the following entry to
[ -d /var/run/apache2 ] || mkdir /var/run/apache2