title: Apache2 not working
body: <p>I'm a newbie developer at my first serious project! I'm trying to set up an AWS EC2 virtual machine using:</p>
  
  <p>-Ubuntu 14.02.02</p>
  
  <p>-Ruby 2.2.1</p>
  
  <p>-Rails 4.2.4</p>
  
  <p>-Apache2 last version.</p>
  
  <p>After all configuration when I try to restart apache2 I get this error:</p>
  
  <p>"mktemp: failed to create file via template ‘/tmp/tmp.XXXXXXXXXX’: No such file or directory
  /etc/init.d/apache2: 91: /etc/init.d/apache2: cannot create : Directory nonexistent
   * 
   * The apache2 configtest failed. Not doing anything."</p>
  
  <p>I've googled it without results. Thanks for your help!!</p>