Help: how to fix Error "FATAL Exited too quickly (process log may have details)"

(Rotense Gabriel) #1

hello everyone?

i keeps getting the error on my Django-cms App during installation ( crazyproject FATAL Exited too quickly (process log may have details ) after i enter sudo supervisorctl status crazyproject

this is my /etc/supervisor/conf.d/crazyproject.conf

[program:crazyproject]
command=/home/rotense/bin/gunicorn_start
user=rotense
autostart=true
autorestart=true
redirect_stderr=true
stdout_logfile=/home/rotense/logs/gunicorn-error.log

also this is my /home/rotense/bin/gunicorn_start

#!/bin/bash

NAME=“crazyproject”
DIR=/home/rotense/crazyproject
USER=rotense
GROUP=rotense
WORKERS=3
BIND=unix:/home/rotense/run/gunicorn.sock
DJANGO_SETTINGS_MODULE=crazyproject.settings
DJANGO_WSGI_MODULE=crazyproject.wsgi
LOG_LEVEL=error
cd $DIR
source …/bin/activate
export DJANGO_SETTINGS_MODULE=$DJANGO_SETTINGS_MODULE
export PYTHONPATH=$DIR:$PYTHONPATH
exec …/bin/gunicorn ${DJANGO_WSGI_MODULE}:application
–name $NAME
–workers $WORKERS
–user=$USER
–group=$GROUP
–bind=$BIND
–log-level=$LOG_LEVEL
–log-file=-

please how to can fix that Fatal error??

(Immanuel) #2

Take a look at this answer on Stack Overflow. Hope it helps!