title: Unable to connect to WSGI daemon process 'wsgi'
body: <p>As highlighted in multiple questions/asnwers before, namely <a href="https://stackoverflow.com/questions/10796925/13permission-denied-mod-wsgi-unable-to-connect-to-wsgi">this</a> and <a href="https://stackoverflow.com/questions/9481932/django-mod-wsgi-apache">this</a> I have configured my <code>WSGISocketPrefix</code> to be <code>/etc/httpd/run/wsgi</code></p>
  
  <p><code>/etc/httpd/run</code> directory has permission root:apache and the sock file created has apache:root permission.</p>
  
  <p>The issue I am facing is that apache is <em>always trying to connect to the sock which is one less than what it should be looking for</em>. Example the sock is <code>/var/run/httpd/wsgi.1769.1.1.sock</code> but apache looks for <code>/var/run/httpd/wsgi.1769.0.1.sock</code></p>
  
  <p>There are no permission issues AFAIK, the problem is with the WSGI sock number apache is looking up. How can I overcome this issue? Why is there a mismatch between <code>sock-version</code> between wsgi and apache?</p>
  
  <p>Exact log line: <code>(2)No such file or directory: [client A.B.C.D:57798] mod_wsgi (pid=1549): Unable to conn
  ect to WSGI daemon process 'wsgi' on '/etc/httpd/run/wsgi.1144.0.1.sock' after multiple attempts.</code></p>