Hi Erik, No it doesn't start at all, running the gunicorn_start script gives:
*[ERROR] Retrying in 1 second.* *[ERROR] Retrying in 1 second.* *[ERROR] Retrying in 1 second.* *[ERROR] Retrying in 1 second.* *[ERROR] Retrying in 1 second.**[ERROR] Can't connect to /path/to/my/gunicorn.sock * This is why I thought that the missing sock file is failing it to start. Do you think it could be something else? I have already tried to add the absolute path in gunicorn_start but nothing changed. Thanks, Kaloian On Wednesday, February 25, 2015 at 11:55:43 AM UTC+2, Erik Cederstrand wrote: > > > > Den 25/02/2015 kl. 07.16 skrev Kaloian <[email protected] > <javascript:>>: > > > > I have an ansible provisioned VM based on this one > https://github.com/jcalazan/ansible-django-stack but for some reason > trying to start Gunicorn gives the following error: > > > > Can't connect to /path/to/my/gunicorn.sock > > > > [...] > > > > Can anyone point me to any direction what could be causing the missing > gunicorn.sock file ? > > Is gunicorn even running? If not, you ned to find out why it failed to > start, or why it crashed. As a start, try adding the absolute path to > gunicorn in your gunicorn_start script instead of just "exec gunicorn". > > Erik > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e326ee4c-1443-4f59-a00a-9249269caad1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

