安装后主管无法识别服务问题 [英] Supervisor unrecognized service issue after install

查看:23
本文介绍了安装后主管无法识别服务问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我从 apt-get 安装 supervisor,我得到版本 3.0b2-1,如果我运行 sudo service supervisor status 我得到 is running(旧的测试版工作正常)

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)

/etc/supervisor 创建一个目录,里面有 supervisord.conf 文件和空目录 conf.d

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

但是,尝试使用 pip 或 easy_install 安装最新版本 (3.1.1) 并运行 service supervisor status 我得到 supervisor: unrecognized service(最新版本不起作用)

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)

没有在 /etc 创建配置文件,所以我做了 echo_supervisord_conf >/etc/supervisord.confdocs 所述.

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

我无法运行 service start/stop/restart/status...而且我不知道主管是否真的会工作.这里有什么想法吗?

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

注意:我使用的是 Ubuntu 14.04 x64 机器.

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

推荐答案

我最终做的是实际使用 apt-get 安装.未发现任何问题.

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

这篇关于安装后主管无法识别服务问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆