我试图使用主管来监控多个码头过程,但我已经尝试了我所能做的一切,但没有结果。出于某种原因,主管总是说它找不到一个命令停靠-撰写。我已经指出了我的机器上的对接者的垃圾箱,但是,它仍然不起作用,如果有人能帮忙,我会很感激的。这是我的supervisord.conf文件
; Sample supervisor config file.
;
; For more information on the config file, please see:
; http://supervisord.org/configuration.html
;
; Note: shell expansion ("~
在VirtualBox下的CoreOS中运行Docker。
我有一个可以正确设置所有内容的Dockerfile:
FROM ubuntu
MAINTAINER <<Me>>
# Install docker basics
RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list
RUN apt-get update
RUN apt-get upgrade -y
# Install dependencies and n
我创建了一个码头容器来支持Elasticsearch。Elasticsearch是由主管启动和管理的,它也安装在我的码头容器上。我已经创建了一个entrypoint.sh脚本,并在我的Dockerfile末尾添加了以下内容
ENTRYPOINT ["/usr/local/startup/entrypoint.sh"]
我的entrypoint.sh脚本如下所示:
#!/bin/bash -x
# Start Supervisor if not already running
if ! ps aux | grep -q "[s]upervisor"; then
我想把一个文件写到Dockerfile中。我不想导入文件。
我想要最简单的解决方案,比如不起作用的解决方案。我想避免在每次文件的名称中重复多次回显.
谢谢你帮忙!
# This one is not working
RUN echo "[supervisord] \
nodaemon=true \
[program:ssh] \
command=service ssh start \
autorestart=true \
[program:nginx] \
command=service nginx start \
autores
我正在设置从主管开始的laravel-echo服务器,但是我得到了这个错误日志。
/usr/bin/env: ‘node’: No such file or directory
/usr/bin/env: ‘node’: No such file or directory
/usr/bin/env: ‘node’: No such file or directory
/usr/bin/env: ‘node’: No such file or directory
我的supervisor.conf文件有脚本:
; supervisor config file
[unix_http_server
我似乎很难弄清楚为什么supervisord不会作为非根用户运行。如果我以用户设置为jason (pid 1000)启动它,则在日志文件中得到以下内容:
2010-05-24 08:53:32,143 CRIT Set uid to user 1000
2010-05-24 08:53:32,143 WARN Included extra file "/home/jason/src/tsched/celeryd.conf" during parsing
2010-05-24 08:53:32,189 INFO RPC interface 'supervisor'
我安装了Supervisor (v3.1.2)来管理ElastAlert,但是当我运行supervisorctl时,它有时会抛出这个错误:
unix:///var/run/supervisor.sock no such file
其他时候,它会抛出这个错误:
unix:///tmp/supervisor.sock no such file
我将注意到,它确实将我带到supervisor>提示符,但后面的命令与上面的错误相同。/etc/supervisor/supervisor.conf文件被配置为使用/var/run,这似乎与第二个错误不一致。
我创建了一个指向/etc/supervis
我正在尝试使用http://supervisord.org/。但却碰上了错误。我将supervisord.conf文件放在运行此文件的同一个目录中。
我第一次尝试在我的OSX计算机上运行supervisord,当我运行它时,我得到了错误:
Error: .ini file does not include supervisord section
我是通过easy_install安装的,就像说明书上说的那样。在谷歌搜索中找不到任何有用的东西。如能提供帮助和指导,将不胜感激。谢谢。