Tôi đã nhìn thấy câu hỏi này được hỏi trước đây, nhưng không có giải pháp nào phù hợp với tôi.supervisorctl ERROR (không có quy trình như vậy)
Tôi đang gặp sự cố khi sử dụng trình giám sát trên rpi b + của mình. Mỗi lần tôi cố gắng chạy bắt đầu của tôi quá trình của tôi, tôi nhận được một lỗi nói:
pi @ Raspberry Pi ~ $ sudo supervisorctl khởi động máy chủ
server: ERROR (không có quá trình như vậy)
tôi có cấu hình của tôi tệp được thiết lập tại /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)
Tôi đã thử thực hiện đọc lại, cập nhật, tải lại lệnh nhưng chưa hoạt động. Bất kỳ ý tưởng?
Bạn đã tìm thấy một giải pháp cho điều này? – Ajoy
Bạn có muốn chấp nhận một trong hai câu trả lời được đề xuất không? –