Supervisor in Elastic Beanstalk

May 1, 2015 | Posted in Supervisor

This was an issue I encountered while fixing a deployment in AWS EB. Whenever I ran:

supervisorctl -c supervisord.conf restart celery

I got this error:

celery: ERROR (no such process)

To solve this, I had to run:

supervisorctl reread
supervisorctl update

But another important thing to remember is that this issue also occurs if you started supervisor with a relative url for -c and then try supervisorctl from a different directory.

Recommended - Always use an absolute path:

supervisord -c /etc/supervisor/supervisord.conf

Related Posts

27 Feb 2017 » Provisioning an ubuntu server for Django, Postgres, NGINX

25 Mar 2016 » Configuring SSH servers on Ubuntu

04 Sep 2014 » Forwarding port to a PostgreSQL server