在supervison上遇到supervisorctl错误的错误(没有这样的过程) [英] getting error on Supervison on supervisorctl ERROR (no such process)

查看:461
本文介绍了在supervison上遇到supervisorctl错误的错误(没有这样的过程)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我以前曾经问过这个问题,但是没有一个解决方案对我有用.

I've seen this question asked before, but none of the solutions have worked for me.

我在使用rpi b +上的管理程序时遇到问题.每次尝试运行我的流程时,都会出现一条错误消息:

I'm having problems using the supervisor on my rpi b+. Every time I try to run my start my process, I get an error saying:

pi@raspberrypi ~ $ sudo supervisorctl start server

服务器:错误(没有这样的过程)

server: ERROR (no such process)

我在/etc/supervisord.conf中设置了配置文件

I have my config file set up at /etc/supervisord.conf

[program:server]
directory=/home/pi/ledticker
command=/usr/bin/python NetworkServer.py
autostart=false
autorestart=true
stopsignal=QUIT

[supervisord]
logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
logfile_maxbytes=50MB ; (max main logfile bytes b4 rotation;default 50MB)
logfile_backups=10 ; (num of main logfile rotation backups;default 10)
loglevel=info ; (log level;default info; others: debug,warn,trace)
pidfile=/tmp/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
nodaemon=false ; (start in foreground if true;default false)
minfds=1024 ; (min. avail startup file descriptors;default 1024)
minprocs=200 ; (min. avail process descriptors;default 200)

[supervisorctl]
serverurl=unix:///tmp/supervisor.sock ; use a unix:// URL for a unix socket

[unix_http_server]
file=/tmp/supervisor.sock ; (the path to the socket file)

我尝试执行重新读取,更新,重新加载命令,但是它们没有用.有什么想法吗?

I have tried doing the reread, update, reload commands but they haven't worked. Any ideas?

推荐答案

您应尝试重新加载supervisord:

# supervisorctl reload
[y/N] ? y

在许多情况下,重新加载即可解决此错误.

In many cases, this error is resolved by that reload.

这篇关于在supervison上遇到supervisorctl错误的错误(没有这样的过程)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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