Django gunicorn.errors.HaltServer:<;HaltServer';工作程序无法启动。';3.

Django gunicorn.errors.HaltServer:<;HaltServer';工作程序无法启动。';3.,django,ubuntu,gunicorn,Django,Ubuntu,Gunicorn,我遵循了这个,我碰到了这个错误。你能告诉我我错过了什么吗?我一整天都试了好几样东西,但都没用?如果你知道这个问题的解决方案,请告诉我 $ sudo systemctl status gunicorn.socket Failed to dump process list, ignoring: No such file or directory ● gunicorn.socket - gunicorn socket Loaded: loaded (/etc/systemd/system/gun

我遵循了这个,我碰到了这个错误。你能告诉我我错过了什么吗?我一整天都试了好几样东西,但都没用?如果你知道这个问题的解决方案,请告诉我

$ sudo systemctl status gunicorn.socket
Failed to dump process list, ignoring: No such file or directory
● gunicorn.socket - gunicorn socket
   Loaded: loaded (/etc/systemd/system/gunicorn.socket; enabled; vendor preset: enabled)
   Active: active (listening) since Sun 2019-12-15 05:15:27 UTC; 17s ago
   Listen: /home/xx/myproject/myapp/myapp.sock (Stream)
   CGroup: /system.slice/gunicorn.socket

Dec 15 05:15:27 ubuntu-s-01 systemd[1]: Listening on gunicorn socket.


$ sudo systemctl status gunicorn.service
● gunicorn.service - gunicorn daemon
   Loaded: loaded (/etc/systemd/system/gunicorn.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2019-12-15 04:22:54 UTC; 53min ago
 Main PID: 15788 (code=exited, status=1/FAILURE)

Dec 15 04:22:54 ubuntu-s-01 gunicorn[15788]:     self.stop()
Dec 15 04:22:54 ubuntu-s-01 gunicorn[15788]:   File "/home/xx/myproject/xxenv/lib/python3.6/site-packages/gunicorn/arbi
Dec 15 04:22:54 ubuntu-s-01 gunicorn[15788]:     time.sleep(0.1)
Dec 15 04:22:54 ubuntu-s-01 gunicorn[15788]:   File "/home/xx/myproject/xxkenv/lib/python3.6/site-packages/gunicorn/arbi
Dec 15 04:22:54 ubuntu-s-01 gunicorn[15788]:     self.reap_workers()
Dec 15 04:22:54 ubuntu-s-01 gunicorn[15788]:   File "/home/xx/myproject/xxenv/lib/python3.6/site-packages/gunicorn/arbi
Dec 15 04:22:54 ubuntu-s-01 gunicorn[15788]:     raise HaltServer(reason, self.WORKER_BOOT_ERROR)
Dec 15 04:22:54 ubuntu-s-01 gunicorn[15788]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
Dec 15 04:22:54 ubuntu-s-01 systemd[1]: gunicorn.service: Main process exited, code=exited, status=1/FAILURE
Dec 15 04:22:54 ubuntu-s-01 systemd[1]: gunicorn.service: Failed with result 'exit-code'.
$sudo systemctl status gunicorn.socket
未能转储进程列表,忽略:没有此类文件或目录
● gunicorn.socket-gunicorn插座
已加载:已加载(/etc/systemd/system/gunicorn.socket;已启用;供应商预设:已启用)
活动:自2019-12-15 05:15:27 UTC周日起活动(收听);17岁以前
监听:/home/xx/myproject/myapp/myapp.sock(流)
CGroup:/system.slice/gunicorn.socket
12月15日05:15:27 ubuntu-s-01 systemd[1]:在gunicorn套接字上监听。
$sudo systemctl status gunicorn.service
● gunicorn.service-gunicorn守护进程
已加载:已加载(/etc/systemd/system/gunicorn.service;已启用;供应商预设:已启用)
活动:自2019年12月15日04:22:54 UTC太阳起失败(结果:退出代码);53分钟前
主PID:15788(代码=退出,状态=1/故障)
12月15日04:22:54 ubuntu-s-01 gunicorn[15788]:self.stop()
12月15日04:22:54 ubuntu-s-01 gunicorn[15788]:文件“/home/xx/myproject/xxenv/lib/python3.6/site-packages/gunicorn/arbi
12月15日04:22:54 ubuntu-s-01 gunicorn[15788]:时间。睡眠(0.1)
12月15日04:22:54 ubuntu-s-01 gunicorn[15788]:文件“/home/xx/myproject/xxkenv/lib/python3.6/site-packages/gunicorn/arbi
12月15日04:22:54 ubuntu-s-01 gunicorn[15788]:self.eaw_workers()
12月15日04:22:54 ubuntu-s-01 gunicorn[15788]:文件“/home/xx/myproject/xxenv/lib/python3.6/site-packages/gunicorn/arbi
12月15日04:22:54 ubuntu-s-01 gunicorn[15788]:提升HaltServer(原因,self.WORKER\u BOOT\u错误)
12月15日04:22:54 ubuntu-s-01 gunicorn[15788]:gunicorn.errors.HaltServer:
12月15日04:22:54 ubuntu-s-01 systemd[1]:gunicorn.service:主进程退出,代码=退出,状态=1/失败
12月15日04:22:54 ubuntu-s-01 systemd[1]:gunicorn.service:失败,结果为“退出代码”。