Caumons
Caumons

Reputation: 9595

Supervisor unrecognized service issue after install

If I install supervisor from apt-get I get version 3.0b2-1 and if I run sudo service supervisor status I get is running (older beta version working fine)

A directory at /etc/supervisor is created with supervisord.conf file inside and empty dir conf.d

However, trying to install latest version (3.1.1) with pip or easy_install and running service supervisor status I get supervisor: unrecognized service (latest version not working)

No configuration files are created at /etc so I did echo_supervisord_conf > /etc/supervisord.conf as said at docs.

I can't run service start/stop/restart/status... And I don't know if supervisor will actually work. Any ideas here?

Note: I'm using an Ubuntu 14.04 x64 machine.

Upvotes: 11

Views: 9839

Answers (4)

Tom Headifen
Tom Headifen

Reputation: 1996

For others that stumbled upon this thread, I had the same issue however my file structure was wrong.

My structure was /etc/init.d/supervisor/supervisord.

This does not work. You need to have the supervisord file inside of init.d like so: /etc/init.d/supervisord.

Upvotes: 0

Igonato
Igonato

Reputation: 10806

Faced a similar issue due to /etc/init.d/supervisord lacking executable mode.

sudo chmod +x /etc/init.d/supervisord

Fixed it for me.

Upvotes: 0

frederix
frederix

Reputation: 1862

I would recommend going the route of adding an upstart service as shown here.

Once you've created the upstart conf file, you can then just do:

sudo start supervisord

Upvotes: 2

Caumons
Caumons

Reputation: 9595

What I finally did is to actually work with the apt-get installation. No issues found with it.

Upvotes: 5

Related Questions