Created
September 17, 2011 13:20
-
-
Save jacobh/1223927 to your computer and use it in GitHub Desktop.
Gunicorn launch error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@vps:/var/www/weldr.me/Pyzer# python pyzer.py | |
Bottle server starting up (using GunicornServer())... | |
Listening on http://0.0.0.0:9998/ | |
Use Ctrl-C to quit. | |
2011-09-17 17:20:02 [9695] [INFO] Starting gunicorn 0.13.1 | |
2011-09-17 17:20:02 [9695] [INFO] Listening at: http://127.0.0.1:8000 (9695) | |
2011-09-17 17:20:02 [9695] [INFO] Using worker: sync | |
2011-09-17 17:20:02 [9702] [INFO] Booting worker with pid: 9702 | |
2011-09-17 17:20:02 [9702] [ERROR] Exception in worker process: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.6/dist-packages/gunicorn/arbiter.py", line 455, in spawn_worker | |
worker.init_process() | |
File "/usr/local/lib/python2.6/dist-packages/gunicorn/workers/base.py", line 100, in init_process | |
self.wsgi = self.app.wsgi() | |
TypeError: wsgi() takes exactly 3 arguments (1 given) | |
2011-09-17 17:20:02 [9702] [INFO] Worker exiting (pid: 9702) | |
Traceback (most recent call last): | |
File "pyzer.py", line 75, in <module> | |
run(server='gunicorn', host='0.0.0.0', port=9998) | |
File "/usr/local/lib/python2.6/dist-packages/bottle.py", line 2217, in run | |
server.run(app) | |
File "/usr/local/lib/python2.6/dist-packages/bottle.py", line 2081, in run | |
arbiter.run() | |
File "/usr/local/lib/python2.6/dist-packages/gunicorn/arbiter.py", line 159, in run | |
self.manage_workers() | |
File "/usr/local/lib/python2.6/dist-packages/gunicorn/arbiter.py", line 430, in manage_workers | |
self.spawn_workers() | |
File "/usr/local/lib/python2.6/dist-packages/gunicorn/arbiter.py", line 481, in spawn_workers | |
self.spawn_worker() | |
File "/usr/local/lib/python2.6/dist-packages/gunicorn/arbiter.py", line 444, in spawn_worker | |
pid = os.fork() | |
File "/usr/local/lib/python2.6/dist-packages/gunicorn/arbiter.py", line 201, in handle_chld | |
self.reap_workers() | |
File "/usr/local/lib/python2.6/dist-packages/gunicorn/arbiter.py", line 415, in reap_workers | |
raise HaltServer(reason, self.WORKER_BOOT_ERROR) | |
gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment