折腾:
【未解决】supervisor的配置文件中用变量表示项目根目录
期间,在更新了supervisor的配置文件后,去reload,然后再去start,结果出错:
<code>[[email protected] robotDemo]# supervisorctl reload Restarted supervisord [[email protected] 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>[[email protected] robotDemo]# supervisorctl stop all unix:///var/run/supervisor/supervisor.sock no such file </code>
<code>[[email protected] robotDemo]# find / -name supervisor.sock [[email protected] robotDemo]# </code>
找不到。
解决unix:///var/run/supervisor.sock no such file的方法|随身笔记
<code>[[email protected] robotDemo]# ll /var/run/supervisor/super* ls: cannot access /var/run/supervisor/super*: No such file or directory </code>
<code>[[email protected] 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>
[[email protected] robotDemo]# ll /var/run/supervisor/
total 0
[[email protected] 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