David Montgomery
2013-11-15 06:57:16 UTC
Hi,
I am trying to figure out why supervisor will not work under Ubuntu 12.04
and rather concerned
I use pip to install.
I place the below in /etc/supervisord.conf
[include]
files = *.supervisor
[supervisord]
pidfile = /var/run/supervisord.pid
nodaemon=false
[supervisorctl]
serverurl=unix:///var/run/supervisord.sock ; use a unix:// URL for a unix
socket
[unix_http_server]
file = /var/run/supervisord.sock
[rpcinterface:supervisor]
supervisor.rpcinterface_factory =
supervisor.rpcinterface:make_main_rpcinterface
[include]
files = /etc/supervisor/conf.d/*.conf
I place conf files in etc/supervisor/conf.d/
start supervisor and wow...nothing is running.
***@ip-10-129-29-72:/etc# service supervisor status
is not running.
Starting supervisor:
/usr/local/lib/python2.7/dist-packages/supervisor/options.py:295:
UserWarning: Supervisord is running as root and it is searching for its
configuration file in default locations (including its current working
directory); you probably want to specify a "-c" argument specifying an
absolute path to a configuration file for improved security.
'Supervisord is running as root and it is searching '
Unlinking stale socket /var/run/supervisord.sock
supervisord.
Why will supervisor not run?
I am trying to figure out why supervisor will not work under Ubuntu 12.04
and rather concerned
I use pip to install.
I place the below in /etc/supervisord.conf
[include]
files = *.supervisor
[supervisord]
pidfile = /var/run/supervisord.pid
nodaemon=false
[supervisorctl]
serverurl=unix:///var/run/supervisord.sock ; use a unix:// URL for a unix
socket
[unix_http_server]
file = /var/run/supervisord.sock
[rpcinterface:supervisor]
supervisor.rpcinterface_factory =
supervisor.rpcinterface:make_main_rpcinterface
[include]
files = /etc/supervisor/conf.d/*.conf
I place conf files in etc/supervisor/conf.d/
start supervisor and wow...nothing is running.
***@ip-10-129-29-72:/etc# service supervisor status
is not running.
Starting supervisor:
/usr/local/lib/python2.7/dist-packages/supervisor/options.py:295:
UserWarning: Supervisord is running as root and it is searching for its
configuration file in default locations (including its current working
directory); you probably want to specify a "-c" argument specifying an
absolute path to a configuration file for improved security.
'Supervisord is running as root and it is searching '
Unlinking stale socket /var/run/supervisord.sock
supervisord.
Why will supervisor not run?