主管没有这样的文件socket.py [英] Supervisor no such file socket.py

查看:91
本文介绍了主管没有这样的文件socket.py的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为laravel设置队列侦听器,但似乎无法使主管正常工作.运行 supervisorctl reload 时出现以下错误:

I am trying to setup a queue listener for laravel and cannot seem to get supervisor working correctly. I get the following error when I run supervisorctl reload:

错误:< class'socket.error'>,[错误2]没有这样的文件或目录:file:/usr/lib/python2.7/socket.py行:228

文件确实存在.如果尝试运行 sudosupervisorctl 我会得到这个 unix:///var/run/supervisor.sock没有此类文件.

The file DOES exist. If try to run sudo supervisorctl I get this unix:///var/run/supervisor.sock no such file.

我尝试过重新安装主管,但也没有用.不知道该怎么办.

I've tried reinstall supervisor and that did not work either. Not sure what to do here.

我正在运行Laravel Homestead(Ubuntu 16.04).

I'm running Laravel Homestead (Ubuntu 16.04).

服务主管状态的结果:
vagrant @ homestead:〜/Code $ sudo服务主管状态●supervisor.service-用于UNIX的Supervisor过程控制系统已加载:已加载(/lib/systemd/system/supervisor.service;已启用;供应商预设:已启用)活动:自美国东部时间2016年12月22日11:06开始激活(自动重启)(结果:退出代码);41s前文件:http://supervisord.org进程:23154 ExecStop =/usr/bin/supervisorctl $ OPTIONS关闭(代码=已退出,状态= 0/成功)进程:23149 ExecStart =/usr/bin/supervisord -n -c/etc/supervisor/supervisord.conf(代码=已退出,状态= 2)主要PID:23149(代码=已退出,状态= 2)

推荐答案

我最终只是完全删除了Supervisor,重新安装并重写了我的配置文件.我一定是在此过程中做错了什么,却无法发现它.

I ended up just removing supervisor entirely, reinstalling and rewriting my config files. I must have just done something wrong in the process and wasn't able to catch it.

这篇关于主管没有这样的文件socket.py的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆