title: Starting apache fails (could not bind to address 0.0.0.0:80)
body: <p>Update: Already fixed, it seems that one of VirtualHosts configurations files was wrong in sites-enabled.</p>
  
  <p>I have Ubuntu 11.10</p>
  
  <p>When I run the command to start apache2:</p>
  
  <pre><code>sudo /etc/init.d/apache2 start
  </code></pre>
  
  <p>I get the following error message:</p>
  
  <blockquote>
    <p>Starting web server apache2<br>
    apache2: Could not reliably determine the server's fully qualified
    domain name, using 127.0.1.1 for ServerName (98)Address already in
    use: make_sock: could not bind to address 0.0.0.0:80 no listening
    sockets available, shutting down Unable to open logs Action 'start'
    failed.</p>
  </blockquote>
  
  <p>I run this command in order to get the process that is using the port 80:</p>
  
  <pre><code>sudo netstat -ltnp | grep ':80'
  </code></pre>
  
  <p>Which returns this output:</p>
  
  <pre><code>tcp6       0      0 :::80                   :::*                    LISTEN      1176/
  </code></pre>
  
  <p>To know which process is I run this command:</p>
  
  <pre><code>ps -wlp1176
  </code></pre>
  
  <p>That returns: </p>
  
  <pre><code>F S   UID   PID  PPID  C PRI  NI ADDR SZ WCHAN  TTY          TIME CMD
  5 D    33  1176     1  0  80   0 -     0 exit   ?        00:00:00 apache2
  </code></pre>
  
  <p>But if I try to kill the process: </p>
  
  <pre><code>sudo kill -9 1176
  </code></pre>
  
  <p>It doesn't kill it, if I run again the netstat command still appears listening and apache start fails.</p>
  
  <p>Any suggestions?</p>