gpt4 book ai didi

unix:///tmp/supervisor.sock 没有这样的文件

转载 作者:行者123 更新时间:2023-12-03 02:24:45 24 4
gpt4 key购买 nike

使用 Ubuntu 16.04 LTS 部署我的 python 应用程序。配置完所有内容,应用程序正在手动运行。我想用主管自动化它,我已经安装了主管并配置了它。但如果我运行:

Supervisor 配置文件:

; supervisor config file

[unix_http_server]
file=/var/run/supervisor.sock ; (the path to the socket file)
chmod=0700 ; sockef file mode (default 0700)

[supervisord]
logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
childlogdir=/var/log/supervisor ; ('AUTO' child log dir, default $TEMP)

; the below section must remain in the config file for RPC
; (supervisorctl/web interface) to work, additional interfaces may be
; added by defining them in separate rpcinterface: sections
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface

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

; The [include] section can just contain the "files" setting. This
; setting can list multiple files (separated by whitespace or
; newlines). It can also contain wildcards. The filenames are
; interpreted as relative to this file. Included files *cannot*
; include files themselves.

[include]
files = /etc/supervisor/conf.d/*.conf

supervisorctl reread我最终得到unix:///tmp/supervisor.sock no such file

但是supervisord状态正在运行,

任何人有想法,请。

最佳答案

运行此命令sudo servicesupervisord restart解决了我的问题。

一些答案​​建议重新安装,这本质上是这样做的

关于unix:///tmp/supervisor.sock 没有这样的文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45957187/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com