I cant find gunicorn.sock

September 30, 2018 1.2k views
Django Ubuntu 18.04

I tried many times to deploy mezzanine project all good just cant find gunicorn.sock
it’s not in the project files so any ideas?

1 Answer

gunicorn.sock is a special file (socket) that gets created at runtime by gunicorn. So it won’t be there unless gunicorn has started up and was instructed to “bind” to a sock file (ex: –bind /var/run/gunicorn.sock). Try this:

service gunicorn restart ps -elf|grep gunicorn updatedb && locate gunicorn.sock
Have another answer? Share your knowledge.