最新消息:VPS服务器又从fzhost.net换回Linode了,主题仍用朋友推荐的大前端D8

【已解决】supervisor的supervisorctl start出错:unix:///var/run/supervisor/supervisor.sock no such file

supervisor crifan 257浏览 0评论

折腾:

【未解决】supervisor的配置文件中用变量表示项目根目录

期间,在更新了supervisor的配置文件后,去reload,然后再去start,结果出错:

<code>[root@naturling-general-01 robotDemo]# supervisorctl reload
Restarted supervisord
[root@naturling-general-01 robotDemo]# supervisorctl start all
unix:///var/run/supervisor/supervisor.sock no such file
</code>

supervisor unix:///var/run/supervisor/supervisor.sock no such file

然后stop也是同样错误:

<code>[root@naturling-general-01 robotDemo]# supervisorctl stop all
unix:///var/run/supervisor/supervisor.sock no such file
</code>

supervisor安装和自启动的一些问题 – 简书

<code>[root@naturling-general-01 robotDemo]# find / -name supervisor.sock
[root@naturling-general-01 robotDemo]# 
</code>

找不到。

Error: Another program is already listening on a port that one of our HTTP servers is configured to use. Shut this program down first before starting – Kevin-Kong – 博客园

解决unix:///var/run/supervisor.sock no such file的方法|随身笔记

<code>[root@naturling-general-01 robotDemo]# ll /var/run/supervisor/super*
ls: cannot access /var/run/supervisor/super*: No such file or directory
</code>
<code>[root@naturling-general-01 robotDemo]# ps -ef | grep supervisor
root     19361 19222  0 13:32 pts/0    00:00:00 grep --color=auto supervisor
</code>

“unix:///tmp/supervisor.sock no such file” 错误处理 – CashQian Blog

<code>mkdir /var/run/supervisor/

</code>

[root@naturling-general-01 robotDemo]# ll /var/run/supervisor/

total 0

[root@naturling-general-01 robotDemo]#

【总结】

此处使用supervisorctl时出错:

unix:///var/run/supervisor/supervisor.sock no such file

的原因好像是:

此处不存在:

/var/run/supervisor/

文件夹,

去创建此文件夹:

<code>mkdir /var/run/supervisor/
</code>

后即可解决此问题。

转载请注明:在路上 » 【已解决】supervisor的supervisorctl start出错:unix:///var/run/supervisor/supervisor.sock no such file

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
18 queries in 0.201 seconds, using 10.51MB memory