I have a django application working with uwsgi and nginx. I used uwsgi python to configure uwsgi manually. Now I need to switch to the supervisor to start the uwsgi process. I create a supervisor configuration and start the uwsgi processes and the site works, but I get the following error when I start the uwsgi process with the supervisorctl command
uwsgi: uwsgi_00: ERROR (appearance error)
But there are 8 processes created on the server. I am not sure why I am getting this error.
I am connecting my dispatcher configuration and uwsgi.ini file
[program:uwsgi]
command=/var/www/django/virtual/bin/uwsgi --ini /var/www/django/uwsgi.ini
user=root
process_name = %(program_name)s_%(process_num)02d
autostart=true
autorestart=true
stderr_logfile=/var/www/django/super.log
stdout_logfile=/var/www/django/super.log
Uwsgi.ini File
[uwsgi]
master = true
socket = /tmp/uwsgi.sock
chmod-socket = 666
chdir = /var/www/django/webserver_test
wsgi-file = /var/www/django/webserver_test/Django_app/wsgi.py
virtualenv = /var/www/django/virtual
pythonpath = /var/www/django/virtual/bin/python
vacuum = true
enable-threads = true
daemonize= /var/www/django/uwsgi.log
Supervisor Error Log:
2017-05-29 09: 49: 50,953 INFO : 'uwsgi_00' pid 20819 2017-05-29 09: 49: 50,978 INFO : uwsgi_00 ( 0, ) 2017-05-29 09: 49: 51 979 INFO : uwsgi_00 FATAL, 2017-05-29 10: 01: 52,874 INFO : 'uwsgi_00' pid 20993 2017-05-29 10: 01: 52,906 INFO : uwsgi_00 ( 0, ) 2017-05-29 10: 01: 53,914 INFO : "uwsgi_00" pid 20998 2017-05-29 10: 01: 53,932 INFO : uwsgi_00 ( 0, ) 2017-05-29 10: 01: 55,941 INFO : 'uwsgi_00' pid 21005 2017-05-29 10: 01: 55,966 INFO : uwsgi_00 ( 0, ) 2017-05-29 10: 01: 58,976 INFO : 'uwsgi_00' pid 21013 2017-05-29 10: 01: 58,994 INFO : uwsgi_00 ( 0, ) 2017-05-29 10: 01: 59,995 INFO : uwsgi_00 FATAL,
1 , 2