Не удалось запустить gunicorn.service: модуль gunicorn.service загружен неправильно: ошибка формата Exec - PullRequest
0 голосов
/ 12 октября 2019

Я пытаюсь запустить службу, но получаю ошибки. Это мой самый последний.

Это результат статуса systemctl 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
...