Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

308
Visualizações
why supervisor gunicorn shows fatal error command not found?

when i check status(sudo supervisorctl status) it is shwoing like this

guni:gunicorn                    FATAL     can't find command 
'/home/ubuntu/myvenv/js/bin/gunicorn'

and my gunicorn conf is like this

[program:gunicorn]
directory=/home/ubuntu/js/main_jntu
command=/home/ubuntu/myvenv/js/bin/gunicorn --workers 3 --bind unix:/home/ubuntu/js/app.sock 
main_jntu.wsgi:application
autostart=true
autorestart=true
stderr_logfile=/var/log/gunicorn/gunicorn.err.log
stdout_logfile=/var/log/gunicorn/gunicorn.out.log
[group:guni]
programs:gunicorn

after this when i check status it shows an error like this

guni:gunicorn                    FATAL     can't find command 
'/home/ubuntu/myvenv/js/bin/gunicorn'
over 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

After installing gunicorn use below command

whereis gunicorn

It will give exact path where gunicorn located, then use that path in your gunicorn conf file. Happy coding!!

over 4 years ago · Santiago Trujillo Relatório

0

I think that the issue is with the third line of your configuration file. The error message indicates that the gunicorn executable is not available in the /home/ubuntu/myvenv/js/bin directory. If you do ls /home/ubuntu/myvenv/js/bin/gunicorn you probably will get an error message.

I think you would need to check if you have correctly installed gunicorn in your virtual environment, using e.g. pip install gunicorn. Have a look at this article; I think it would be helpful.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda