无法启动gunicorn.service:单元gunicorn.service未正确加载:执行格式错误

时间:2019-10-12 08:22:07

标签: python gunicorn

我正在尝试运行服务,但我不断收到错误消息。这是我最近的一本。

这是systemctl status gunicorn.service的结果

● gunicorn.service - gunicorn daemon
   Loaded: error (Reason: Exec format error)
   Active: failed (Result: exit-code) since Sat 2019-10-12 02:43:39 CDT; 21min ago
 Main PID: 19956 (code=exited, status=203/EXEC)

Oct 12 02:43:39 mattreex-T systemd[1]: Started gunicorn daemon.
Oct 12 02:43:39 mattreex-T systemd[19956]: gunicorn.service: Failed to execute command: No such file or directory
Oct 12 02:43:39 mattreex-T systemd[19956]: gunicorn.service: Failed at step EXEC spawning /usr/local/bin/gunicorn: No such file or directory
Oct 12 02:43:39 mattreex-T systemd[1]: gunicorn.service: Main process exited, code=exited, status=203/EXEC
Oct 12 02:43:39 mattreex-T systemd[1]: gunicorn.service: Failed with result 'exit-code'.
Oct 12 02:54:38 mattreex-T systemd[1]: /etc/systemd/system/gunicorn.service:9: Executable path is not absolute: gunicorn --access-logfile - --workers 3 --bind

0 个答案:

没有答案