服务器配置

unix:///var/run/supervisor.sock no such file
sudo touch /var/run/supervisor.sock
sudo chmod 777 /var/run/supervisor.sock
sudo service supervisor restart
参考自:http://blog.csdn.net/tianjiewang/article/details/49481869

error: 'socket.error'>, [Errno 111] Connection refused: file: /usr/lib64/python2.6/socket.py line: 567

sudo supervisord -c /etc/supervisor/supervisord.conf
sudo supervisorctl -c /etc/supervisor/supervisord.conf
参考自:https://stackoverflow.com/questions/18859063/supervisor-socket-error-issue

Error: file is not executable. 配置了,又说FATAL Exited too quickly (process log may have details
注意chmod a+x app.py
参考自:https://www.liaoxuefeng.com/discuss/001409195742008d822b26cf3de46aea14f2b7378a1ba91000/00146008830920794e52f71cd764f0a968bee2a8ae32d49000

supervisor: child process was not spawned
加上#!/usr/bin/python
参考自:http://blog.csdn.net/u010565244/article/details/50042731

你可能感兴趣的:(服务器)