Can you guys help me please! This is driving me crazy. I have googled the problem but can't find an answer. When I run the command ./gunicorn_start I get this error:
[2016-01-14 20:11:14 +0000] [28856] [INFO] Starting gunicorn 19.4.5
[2016-01-14 20:11:14 +0000] [28856] [DEBUG] Arbiter booted
[2016-01-14 20:11:14 +0000] [28856] [INFO] Listening at: http://127.0.0.1:8000 (28856)
[2016-01-14 20:11:14 +0000] [28856] [INFO] Using worker: sync
[2016-01-14 20:11:14 +0000] [28856] [INFO] Unhandled exception in main loop:
Traceback (most recent call last):
File "/home/admin/.virtualenvs/wrw/local/lib/python2.7/site-packages/gunicorn/arbiter.py", line 180, in run
self.manage_workers()
File "/home/admin/.virtualenvs/wrw/local/lib/python2.7/site-packages/gunicorn/arbiter.py", line 482, in manage_workers
self.spawn_workers()
File "/home/admin/.virtualenvs/wrw/local/lib/python2.7/site-packages/gunicorn/arbiter.py", line 548, in spawn_workers
self.spawn_worker()
File "/home/admin/.virtualenvs/wrw/local/lib/python2.7/site-packages/gunicorn/arbiter.py", line 502, in spawn_worker
self.cfg, self.log)
File "/home/admin/.virtualenvs/wrw/local/lib/python2.7/site-packages/gunicorn/workers/base.py", line 55, in init
self.tmp = WorkerTmp(cfg)
File "/home/admin/.virtualenvs/wrw/local/lib/python2.7/site-packages/gunicorn/workers/workertmp.py", line 26, in init
util.chown(name, cfg.uid, cfg.gid)
File "/home/admin/.virtualenvs/wrw/local/lib/python2.7/site-packages/gunicorn/util.py", line 163, in chown
os.chown(path, uid, gid)
OSError: [Errno 1] Operation not permitted: '/tmp/wgunicorn-86GYZk'
I can run gunicorn wrw.conf.wsgi:application --bind 127.0.0.1:8000 and the application runs fine and I can access it from the web.
I have checked and double check your gnuicorn_start script but can not find anything I copied wrong.
Can you guys help me please! This is driving me crazy. I have googled the problem but can't find an answer. When I run the command ./gunicorn_start I get this error:
[2016-01-14 20:11:14 +0000] [28856] [INFO] Starting gunicorn 19.4.5
[2016-01-14 20:11:14 +0000] [28856] [DEBUG] Arbiter booted
[2016-01-14 20:11:14 +0000] [28856] [INFO] Listening at: http://127.0.0.1:8000 (28856)
[2016-01-14 20:11:14 +0000] [28856] [INFO] Using worker: sync
[2016-01-14 20:11:14 +0000] [28856] [INFO] Unhandled exception in main loop:
Traceback (most recent call last):
File "/home/admin/.virtualenvs/wrw/local/lib/python2.7/site-packages/gunicorn/arbiter.py", line 180, in run
self.manage_workers()
File "/home/admin/.virtualenvs/wrw/local/lib/python2.7/site-packages/gunicorn/arbiter.py", line 482, in manage_workers
self.spawn_workers()
File "/home/admin/.virtualenvs/wrw/local/lib/python2.7/site-packages/gunicorn/arbiter.py", line 548, in spawn_workers
self.spawn_worker()
File "/home/admin/.virtualenvs/wrw/local/lib/python2.7/site-packages/gunicorn/arbiter.py", line 502, in spawn_worker
self.cfg, self.log)
File "/home/admin/.virtualenvs/wrw/local/lib/python2.7/site-packages/gunicorn/workers/base.py", line 55, in init
self.tmp = WorkerTmp(cfg)
File "/home/admin/.virtualenvs/wrw/local/lib/python2.7/site-packages/gunicorn/workers/workertmp.py", line 26, in init
util.chown(name, cfg.uid, cfg.gid)
File "/home/admin/.virtualenvs/wrw/local/lib/python2.7/site-packages/gunicorn/util.py", line 163, in chown
os.chown(path, uid, gid)
OSError: [Errno 1] Operation not permitted: '/tmp/wgunicorn-86GYZk'
I can run gunicorn wrw.conf.wsgi:application --bind 127.0.0.1:8000 and the application runs fine and I can access it from the web.
I have checked and double check your gnuicorn_start script but can not find anything I copied wrong.