<div dir="ltr"><div>hi, after a purge and reinstallation of apache2 the webserver appears to start correctly. the problems arise when the system reboots. the apache does not start and it gives me the following error<br>root@voyage:~# /etc/init.d/apache2 start<br>[....] Starting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName<br>(2)No such file or directory: apache2: could not open error log file /var/log/apache2/error.log.<br>Unable to open logs<br>Action 'start' failed.<br>The Apache error log may have more information.<br> failed!<br>root@voyage:~#<br><br></div>the problem is that the folder  /var/log/apache2/ does not exist!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 10, 2015 at 9:48 AM, binary dreamer <span dir="ltr"><<a href="mailto:dreamer.binary@gmail.com" target="_blank">dreamer.binary@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>hello everyone.<br></div>i do have voyage 0.9.5 in an ALIX box. i do need to setup a website and it fails to setup correctly apache2.<br></div>i have done to the system apt-get update and apt-get upgrade prior to installation of apache2 (apt-get install apache2). here is the output from the terminal<br>root@voyage:~# apt-get install apache2 -y<br>Reading package lists... Done<br>Building dependency tree<br>Reading state information... Done<br>The following NEW packages will be installed:<br>  apache2<br>0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.<br>Need to get 1,438 B of archives.<br>After this operation, 1,024 B of additional disk space will be used.<br>..........<br>Unpacking apache2 (from .../apache2_2.2.22-13+deb7u3_i386.deb) ...<br>Setting up apache2 (2.2.22-13+deb7u3) ...<br>root@voyage:~# /etc/init.d/apache2 status<br>/etc/init.d/apache2: 51: .: Can't open /etc/apache2/envvars<br>root@voyage:~# a2enmod rewrite<br>ERROR: Module rewrite does not exist!<br>root@voyage:~# /etc/init.d/apache2 restart<br>/etc/init.d/apache2: 51: .: Can't open /etc/apache2/envvars<br>root@voyage:~#<br><br><br></div>any ideas on how to fix the problem?<br></div>
</blockquote></div><br></div>