Назад | Перейти на главную страницу

Программа супервизора не найдена

Создаю тест здесь:

vi /etc/supervisor/conf.d/test.conf

Выглядит это так:

[program:sentry-test]
command= echo "hello there"

Затем я запускаю команду с выводом:

supervisorctl reread
/usr/local/lib/python2.6/dist-packages/supervisor-3.0a12-py2.6.egg/supervisor/options.py:286: 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 '
No config updates to processes

Тогда я пробую:

supervisorctl start sentry-test
/usr/local/lib/python2.6/dist-packages/supervisor-3.0a12-py2.6.egg/supervisor/options.py:286: 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 '
sentry-test: ERROR (no such process)

Я не знаю, почему ни одна из моих программ не работает?

Сервер:

Distributor ID: Ubuntu
Description:    Ubuntu 10.04.4 LTS
Release:    10.04
Codename:   lucid

В вашем конфигурационном файле есть дополнительное место:

command=echo "hello there"

Удалите пробел после command= и он должен работать.