如何解决gunicorn问题-文件不可执行
我正在尝试使用supervisorctl执行gunicorn。这是主管配置文件:
[program:gunicorn]
directory=/home/mlino/flights
command=/home/mlino/.local/bin/python3 main.py run_gunicorn -b unix:/tmp/gunicorn.sock
numprocs=3
user=mlino
autostart=true
autorestart=true
stopasgroup=true
killasgroup=true
process_name=%(program_name)s_%(process_num)s
stderr_logfile=/var/log/flights/gunicorn.err.log
stdout_logfile=/var/log/flights/gunicorn.out.log
我遇到以下错误:
(venv) mlino@server1:~/flights$ sudo supervisorctl start gunicorn
[sudo] password for mlino:
gunicorn: ERROR (file is not executable)
(venv) mlino@server1:~/flights$
我也尝试了其他配置,但有相同的错误消息:ERROR(文件不可执行)。任何帮助都会很棒。
干杯!
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。