加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – supervisorctl ERROR(没有这样的过程)

发布时间:2020-12-14 01:59:15 所属栏目:Linux 来源:网络整理
导读:我以前问过这个问题,但没有一个解决方案对我有用. 我在我的rpi上使用主管有问题b.每次我尝试运行我的开始我的过程,我得到一个错误说: pi @ raspberrypi?$sudo supervisorctl启动服务器 服务器:ERROR(没有这样的过程) 我的配置文件设置在/etc/supervisord.c
我以前问过这个问题,但没有一个解决方案对我有用.

我在我的rpi上使用主管有问题b.每次我尝试运行我的开始我的过程,我得到一个错误说:

pi @ raspberrypi?$sudo supervisorctl启动服务器

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

我的配置文件设置在/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)

我已经尝试重读,更新,重新加载命令,但他们没有工作.有任何想法吗?

解决方法

你应该尝试重新加载supervisord:

# supervisorctl reload
[y/N] ? y

在许多情况下,该错误由该重新加载解决.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读