1
votes

when i run "supervisorctl status hitbot" then i face this error FATAL Exited too quickly (process log may have details)
#/bin/gunicorn_start Here **BIND= ip_address:port ** gunicorn_start

/etc/supervisor/conf.d/hitbot.conf hitbot.conf

But when i type these command error

In log file error log

But when it test gunicorn_start by "bash /bin/gunicorn_start"* then it working fine testing

1
So what do you get when you run ls -las /bin/gunicorn_start? The error indicates a permissions issue. Can botadmin user read and execute that script? - Graham Dumpleton
4 -rwxr--r-- 1 root root 499 Mar 27 04:52 /bin/gunicorn_start this message shown @GrahamDumpleton - Tuhin
So run as root chmod 0755 /bin/gunicorn_start. The file isn't executable by the botadmin user. - Graham Dumpleton
I done that before and run this command again but same error show @GrahamDumpleton - Tuhin
Just to confirm, what does ls -las /bin/gunicorn_start now show? Are you absolutely sure it still shows the error couldn't exec /bin/gunicorn_start and not some new error? - Graham Dumpleton

1 Answers

1
votes

Try this command: pkill -HUP gunicorn

Gunicorn docs: http://docs.gunicorn.org/en/stable/faq.html

"You can gracefully reload by sending HUP signal to gunicorn: $ kill -HUP masterpid"

or with the full command line:

pkill -HUP -f '/usr/bin/python /usr/bin/gunicorn -w 5 -b 127.0.0.1:5000 myapp:app'