title: Apache + WSGI: Address already in use: make_sock: could not bind to address
body: <p>I get the following message when I try to start Apache2:</p>
  
  <pre><code>* Restarting web server apache2                                                  
  (98)Address already in use: make_sock: could not bind to address 0.0.0.0:2080
  no listening sockets available, shutting down
  Unable to open logs
  Action 'start' failed.
  The Apache error log may have more information.
  </code></pre>
  
  <p>uwsgi is listening on that port:</p>
  
  <pre><code>sudo netstat -ltnp | grep ':2080'
  tcp        0      0 0.0.0.0:2080            0.0.0.0:*               LISTEN  884/uwsgi
  </code></pre>
  
  <p>Before that I installed wsgi manually </p>
  
  <pre><code>sudo apt-get install libapache2-mod-wsgi
  </code></pre>
  
  <p>because I got this message when I tried to start Apache:</p>
  
  <pre><code>Syntax error on line 25 of /etc/apache2/sites-enabled/graphite:
  Invalid command 'WSGIDaemonProcess', perhaps misspelled or defined by a module not included in the server configuration
  Action 'configtest' failed.
  The Apache error log may have more information.
     ...fail!
  </code></pre>
  
  <p>Killing the process does not work because it gets automatically restarted. I can disable it with the command</p>
  
  <pre><code>sudo a2dismod wsgi
  </code></pre>
  
  <p>But then I get the "Invalid command 'WSGIDaemonProcess' message once again.</p>
  
  <p>The apache error.log does not contain any information on that.</p>
  
  <p>Any idea what could solve this? Because right now I'm kind of in a deadlock.</p>