版本下载
https://pypi.org/project/supervisor/3.4.0/#files
参考链接
Supervisor 安装与使用_安装supervisor-CSDN博客
执行
supervisorctl -c /etc/supervisor/supervisord.conf
问题解决
unix:///var/run/supervisor.sock no such file
sudo touch /var/run/supervisor.sock
sudo chmod 777 /var/run/supervisor.sock
提示unix:///var/run/supervisor.sock refused connection
sudo supervisord -c /etc/supervisor/supervisord.conf
error: The directory named as part of the path /etc/supervisor/log/supervisord.log does not exist
sudo mkdir -p /etc/supervisor/log
Unlinking stale socket /var/run/supervisor.sock
[root@VM-20-10-centos /]# unlink /var/run/supervisor.sock
[root@VM-20-10-centos /]# ps aux | grep supervisord
root 11631 0.0 0.5 219652 11992 ? Ss 23:38 0:00 /usr/bin/python /bin/supervisord -c /etc/supervisor/supervisord.conf
root 11958 0.0 0.5 219656 11984 ? Ss 23:39 0:00 /usr/bin/python /bin/supervisord -c /etc/supervisor/supervisord.conf
root 12972 0.0 0.0 112812 972 pts/8 S+ 23:42 0:00 grep --color=auto supervisord