配置supervisor出现的错误

[spawn error]

解:supervisor不支持python3 所以应该在执行文件开头加上

#! /usr/bin/python

或者修改服务器  /etc/supervisor/conf.d下的.conf文件command等号右边添加python3

command = python3 /srv/user/......

[xxx is not executable]没有权限

解:chmod 755 /文件/路径

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

解:sudo touch /var/run/supervisor.sock

       sudo chmod 777 /var/run/supervisor.sock

       sudo supervisor restart

[unix:/// var/run/supervisor.sock refused connection]

解:由于/etc/supervisor/conf.d中.conf文件出错


版权声明:本文为weixin_41276397原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。