首页 > 代码库 > supervisorctl error: <class 'socket.error'>

supervisorctl error: <class 'socket.error'>

http://stackoverflow.com/questions/18859063/supervisor-socket-error-issue

supervisorctl rereaderror: <class ‘socket.error‘>, [Errno 111] Connection refused: file: /usr/lib64/python2.6/socket.py line: 56

You have to start supervisord before you can use supervisorctl. In my case:

supervisord -c /etc/supervisor/supervisord.confsupervisorctl -c /etc/supervisor/supervisord.conf

supervisorctl error: <class 'socket.error'>