如果是没有开启 supervisord 服务的情况下出现这种报错,可以先 systemctl start supervisor 试试,
如果不是,那就
sudo touch /var/run/supervisor.sock sudo chmod 777 /var/run/supervisor.sock sudo service supervisor restart
如果 systemctl start supervisor 之后查看 systemctl status supervisor 并没有真的启动成功,那就需要检查一下配置文件是否正确了。